Re: [mpls-linux-general] Routing Table Changes
Status: Beta
Brought to you by:
jleu
From: Abhijit G. <gab...@ee...> - 2002-01-08 06:07:42
|
Well, If you want to check how routing updates are done to the kernel, look through the sources of iproute2 package, which i think you must have done already. The mechanism is based on netlink sockets. Look at http://qos.ittc.ukans.edu/netlink/html/ for internals of Netlink sockets. If you want to add some information to the kernel routing table. Please ensure that whether it does not exist? As far as I know the kernel routing implementation is quite exaustive. So a job of modifying it is certainly non-trivial (and in most cases unnecessary.). There is a file in the Documentation directory called networking/routing.txt . You can read that to see what exactly is supported. -abhijit kanwardeep singh wrote : >Hi All, > We are doing a project which reqiures us to make a >small network of PCs (linux 7.1), where each is >behaving as a router. > We then 've to implement MPLS network over this. What >we want is.. > When network turns up all the router ard able to >share their routing information (Dynamically) > with each other. We've read that Linux uses "routed" >deamon for this process, which in turn follows RIP, >for > dynamic routing. Till here its Ok... The problem is >that we want to change the way routing > informatio is stored in Linux kernel (i.e. we want to >make some changes in routing tabel, by adding > some more information to it, which is passed on by >us) > Can anyone tell us how is it possible, to modify >existing routing table at runtime. > Or can anyone tell which .c or .h files are >responsible for calculation of routing table so that > we can incorporate our changes in those files. > Thanks in advance, > Regards, > Kanwar. > > > >__________________________________________________ >Do You Yahoo!? >Send FREE video emails in Yahoo! Mail! >http://promo.yahoo.com/videomail/ > >_______________________________________________ >mpls-linux-general mailing list >mpl...@li... >https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > -- How do u delete a letter in vi and paste it after the next one? "xp" -- |