----- Original Message ----- From: "deepak patwardhan" <p99deepu@xxxxxxxxxxx> To: "yuxiao jia" <yxjia@xxxxxxxxxxxxxxx> Sent: Tuesday, June 17, 2003 8:26 AM Subject: Re: [LARTC] how to emulate large IP routing table > --- yuxiao jia <yxjia@xxxxxxxxxxxxxxx> wrote: > Hi, > > > > can you give me a example of this kind of script. > > Does it relate with > > routing protocol (OSPF..)? > hmm.... I guess it relates to all. If you are using > Gated or Zebra or cisco, juniper ... you can use > redistribute route technique to pump in routes. But > again there they don't have facilities to redistribute > ranges of routes. > > for eg. > <some command> 192.168.1.0/24 to 192.169.1.0/24 > gateway a.b.c.d. > > So one needs to write huge config files to put in > large state routes and redistribute them into the > required protocols. > > > > > : ip route add network/mask via gateway) > > If you can wrap it in a script, which takes start > IPaddr, End IPaddr and networkmask (comman mask to > keep things simple) you can use the script to pump in > large routes. > > The script would have a for loop kinda algorithm > Step 1. begin with the start IP/Mask, > Step 2. add route > Step 3. increment Ip, go to step4 untill you reach > endIP. > > Once you have routes in kernel RT, try redistributing > them from there to any protocol of your choice. > > Am speaking very conceptual .... Hope you get my > point. I haven't come across a readily available admin > option to pump in large routes. > > -Deepak > > thanks > > > > yuxiao > > > Message: 2 > > > Date: Mon, 16 Jun 2003 05:35:37 +0100 (BST) > > > From: =?iso-8859-1?q?deepak=20patwardhan?= > > <p99deepu@xxxxxxxxxxx> > > > Subject: Re: [LARTC] how to emulate large IP > > routing table > > > To: lartc@xxxxxxxxxxxxxxx > > > > > > --- yuxiao jia <yxjia@xxxxxxxxxxxxxxx> wrote: > > > Hi > > > all > > > > > > > > I am conducting the experiments comparing IP > > router > > > > forwarding delay and > > > > MPLS LSR forwarding delay, it is obvious in > > theory > > > > MPLS in Core should be > > > > faster than IP, but for small netork (only have > > > > several core routers), > > > > result show it is not, this is why I want > > emulate a > > > > large IP routing table > > > > in one core router. > > > > > > > > can I do it and how ? right now I use static > > routing > > > > table (by using command > > > Simple soultions would be write a script that > > expands > > > lange ranges of IP address and pumps into the > > routing > > > table. > > > > > > > > > > > thanks anyway > > > > > > > > yuxiao > > > > > > > > > __________________________________________________ > > > Yahoo! Plus - For a better Internet experience > > > http://uk.promotions.yahoo.com/yplus/yoffer.html > > > > > > > > > --__--__-- > > > > > > _______________________________________________ > > > LARTC mailing list > > > LARTC@xxxxxxxxxxxxxxx > > > http://mailman.ds9a.nl/mailman/listinfo/lartc > > > > > > > > > End of LARTC Digest > > > > _______________________________________________ > > LARTC mailing list / LARTC@xxxxxxxxxxxxxxx > > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: > http://lartc.org/ > > __________________________________________________ > Yahoo! Plus - For a better Internet experience > http://uk.promotions.yahoo.com/yplus/yoffer.html