[Xorp-hackers] Large Number of Interfaces

Pavlin Radoslavov pavlin@icir.org
Thu, 20 Jan 2005 11:06:14 -0800


> >On the other hand, if you want to use, say, a virtual tunnel,
> >currently that tunnel cannot be created by XORP itself; the tunnel
> >must be created externally (by user-level UNIX program, etc).
> 
> As long as I can create and delete interfaces dynamically from XORP, it
> would be fine. Like in a commercial router, I just want to be able to
> create and delete interfaces without doing this through OS, in other
> words, the interface will be added into or removed from UNIX kernel
> programmatically through XORP.

No, unfortunately currently you cannot use XORP to create the
interfaces inside the kernel, and you have to use the OS.
Adding this functionality is on our TODO list.

> >If you want to use a network interface in XORP, you must explicitly
> >tell XORP about it,
> 
> Is this done statically from a configuration file? Again, I just want to
> be able to do it on the fly inside XORP.

Currently, after the interface is created in the kernel by the OS,
you still have to tell XORP about it (e.g., in the config file, or
on the fly by xorpsh), so XORP can use it.
In the future, you will have to tell only XORP about it (in config
file or on the fly by xorpsh), and XORP will create it for you.
I believe this is the desired behavior you describe.

BTW, can you be a bit more specific about the type of dynamic
interfaces you want to create/use, This can help defining the
solution.

Regards,
Pavlin