[Xorp-users] Primary interface in Linux

Otto Solares solca at guug.org
Fri Jun 23 14:19:14 PDT 2006


On Fri, Jun 23, 2006 at 01:08:59PM -0700, Pavlin Radoslavov wrote:
> > I noted that in xorpsh when issuing commands
> > like 'show interface address' xorp is not
> > picking the right primary address for every
> > interface, it appears sorted, for example I
> > have in eth0 the next addresses:
> > 
> > 10.0.0.12/24
> > 10.0.0.5/24
> > 
> > The primary address for Linux is 10.0.0.12/24,
> > which is correctly picked for new sockets when
> > no source address is specified, for Xorp is the
> > primary address is 10.0.0.5/24 which is incorrect
> > IMO.
> > 
> > Using latest CVS.
> 
> Currently there is no mechanism to explicitly specify in XORP which
> is the primary address of an interface.
> Internally, XORP chooses one of the addresses for transmission, etc
> (I believe the numerically smallest address is chosen).
> 
> We intend to add a mechanism to manually configure the primary
> address of an interface. I just added a bugzilla entry about that:
> 
> http://www.xorp.org/bugzilla/show_bug.cgi?id=635

Excellent as is needed for complex setups.

-otto



More information about the Xorp-users mailing list