
dousti at gmail
Aug 12, 2011, 1:22 PM
Post #1 of 1
(210 views)
Permalink
|
Hi, I'm trying to distribute application specific data amongs nodes. To do that I'm trying to run ospfd on each node and set up a full gre tunnel mesh among them. This application specific data contains amongst others: - a network prefix - an IP address owning that network prefix - ... An example of this could be: [ 10.0/16, 1.1.1.1, ... ] [ 10.0/16, 1.1.1.2, ... ] [ 10.0.0/24, 1.1.1.3, ... ] [ 20.0/17, 2.2.2.1, ... ] [ 20.0/17, 2.2.2.2, ... ] So, let us say one node will inject this info into the mesh. The assumption here is that the other nodes will receive this information (am I correct)? Now, let us say one of the other nodes needs to do a look up on 10.0.0.1 and the answer must be [ 10.0/16, 1.1.1.1, ... ] [ 10.0/16, 1.1.1.2, ... ] [ 10.0.0/24, 1.1.1.3, ... ] Basically "get me all the entries where 10.0.0.1 matches the prefix". Questions I have: 1- Can the data distribution be done with opaque LSA injection? If so, any pointers or documentations that can get me going? 2- Can the key lookup be done somehow through the ospfd's opaque table or should i keep track of the distributed table in my application and do a lookup myself? 3- If the answer to #2 is that the application must maintain teh data set and perform the lookup, what is the best solution for the radix lookup? Is there a library i can use to build the radix tree? Many thanks in advance. -- Ramin
|