[Xorp-users] Emulating simple network for testing XORP code
Ben Greear
greearb at candelatech.com
Tue Jun 30 08:46:58 PDT 2009
Rae Harbird wrote:
>
> Hi
>
>
> Does anyone have recommendations for emulating a small, simple network
> of XORP routers on a single Linux platform? I want to test my XORP code.
>
Our LANforge product uses a slightly modified xorp (and modified linux
kernel) to achieve this. Our main controller
code isn't open-source though, and to add support for new Xorp features
requires code changes to our product
(we do work for hire and general improvement of our products, and may be
willing to do work for free,
depending on the nature of the work).
Our kernel patches (minus the impairment generator) are open-source and
freely available, as is my git tree of
xorp plus my changes.
I can tell you though: It is not trivial to write a virtual router
framework. It took us several months and we already
had part of the work done, and the general framework in place. I'm
still debugging xorp too, it just barely deals with
dynamic network re-configuration, for example, but it's pretty solid
with a static network emulation (ie, no links between
routers coming and going.)
We auto-generate perl scripts that do the linux stack configuration, and
we auto-generate the xorp config files.
If these things don't scare you, I'll be happy to a post simple example.
Thanks,
Ben
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the Xorp-users
mailing list