[121198] in North American Network Operators' Group
RE: BGP testbed tools
daemon@ATHENA.MIT.EDU (Ivan Pepelnjak)
Wed Jan 13 01:52:31 2010
From: "Ivan Pepelnjak" <ip@ioshints.info>
To: "'Ben Jencks'" <ben@bjencks.net>,
<nanog@nanog.org>
In-Reply-To: <64f649f41001121227x70045ac6tdd86af0c1bb7a66@mail.gmail.com>
Date: Wed, 13 Jan 2010 07:51:38 +0100
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org
This is how you can do it with Quagga:
http://wiki.nil.com/Use_Quagga_to_generate_BGP_routes
You could write a Perl (or whatever your favorite scripting language is) =
script to get Quagga/IOS configuration from live BGP data, but it would =
be non-trivial and the resulting configuration would be enormous. I know =
there was a similar discussion months ago on the NANOG mailing list; =
browse the archives.
Ivan Pepelnjak
blog.ioshints.info / www.ioshints.info
> -----Original Message-----
> From: Ben Jencks [mailto:ben@bjencks.net]
> Sent: Tuesday, January 12, 2010 9:28 PM
> To: nanog@nanog.org
> Subject: BGP testbed tools
>=20
> This is obviously a rookie question, but I haven't found anything by
> searching. I'm looking to set up a small testbed to simulate our
> internal network topology, and I want to have a realistic BGP table
> from the fake "upstream" routers. Ideally what I'd like to do is dump
> the BGP table from our production routers, strip the immediate
> neighbor AS, and load the table into Quagga or OpenBGPD to advertise.
> I'm running into two problems: how do you dump BGP tables in a
> machine-parseable format from IOS, and how do you make the route
> server advertise the routes as they were in the original table,
> including the full AS-path, communities, etc? If Quagga/OpenBGPD
> aren't the right tools, I'm happy to use something else.
>=20
> This seems like it would be a pretty standard thing to do, but none of
> the tools I've found seem aimed at this sort of testbed.
>=20
> Thanks!
>=20
> -Ben Jencks
>=20