I am interested in generating several thousand BGP routes from different AS's to simulate Internet routes in a lab environment. I would like to generate these routes from a downloaded copy of real route tables and save them to a file. Then have something, possibly a route server, import this file and inject these routes into my lab network. Any ideas/suggestions? Is this possible without having a live BGP feed into my lab network? Thanks Perry
?? I guess you could fire up a gated machine and have it announce a routing table to your lab. Will take some parsing of a route table dump, but doable. -M At 08:27 AM 4/10/2001 -0400, Perry Jannette wrote:
I am interested in generating several thousand BGP routes from different AS's to simulate Internet routes in a lab environment. I would like to generate these routes from a downloaded copy of real route tables and save them to a file. Then have something, possibly a route server, import this file and inject these routes into my lab network. Any ideas/suggestions? Is this possible without having a live BGP feed into my lab network?
Thanks Perry
Regards, -- Martin Hannigan hannigan@fugawi.net Fugawi Networks Founder/Director of Implementation Boston, MA http://www.fugawi.net Ph: 617.742.2693 Fax: 617.742.2300
route tables and save them to a file. Then have something, possibly a route server, import this file and inject these routes into my lab network. Any ideas/suggestions? Is this possible without having a live BGP feed into my lab network?
This would be easy to do with Zebra and a unix boxen. Zebra is a BGP routing deamon similiar in function to GateD. Fairly easy to setup (ie: uses cisco-ish commands), and a few lines of perl with a dump or log dump could easily recreate the world as you want it. see: www.zebra.org
I have never tried this, but I forwarded your mail to my coworker who has, and here is what he had to say: ---------- interesting... i did try zebra but couldn't find a way to have it load saved routes, only dump them. i like mrtd better anyway, since it has the bgpsim tool. it allows you to withdraw and announce routes to simulate flapping. has frequency, jitter, all that fun stuff. --------- (see www.mrtd.net) mike harrison wrote:
route tables and save them to a file. Then have something, possibly a route server, import this file and inject these routes into my lab network. Any ideas/suggestions? Is this possible without having a live BGP feed into my lab network?
This would be easy to do with Zebra and a unix boxen. Zebra is a BGP routing deamon similiar in function to GateD. Fairly easy to setup (ie: uses cisco-ish commands), and a few lines of perl with a dump or log dump could easily recreate the world as you want it. see: www.zebra.org
On Tue, Apr 10, 2001 at 09:30:57AM -0400, mike harrison wrote:
This would be easy to do with Zebra and a unix boxen. Zebra is a BGP routing deamon similiar in function to GateD.
I hacked Zebra to do this a while ago. All you have to do is bring up Zebra with a router that has full routes, save them to disk and off you go. The advantage here is that you get realistic NLRI and path attributes which you don't get with an IXIA or SmartBits. And Zebra has good BGP feature support so you can use route-maps on the prefixes you load, for example. It is not a particularly pretty hack, but it works. You can find the patch at http://www.twoguys.org/~gregh/software/zebra-patch-0.03.tar.gz . Regards, Greg -- Greg Hankins <ghankins@riverstonenet.com> | Riverstone Networks Corporate Systems Engineering | 5200 Great America Parkway http://www.riverstonenet.com/ | Santa Clara, CA 95054 +1 404 840 3526 | +1 408 878 6500
participants (5)
-
Barrie Jones
-
Greg Hankins
-
Martin Hannigan
-
mike harrison
-
Perry Jannette