[Xorp-users] subnet routes & xorp

Ben Greear greearb at candelatech.com
Mon Oct 15 18:07:13 PDT 2007


Ben Greear wrote:
> Pavlin Radoslavov wrote:
>> Ben Greear <greearb at candelatech.com> wrote:
>>
>>> Does xorp do the equivalent of 'ifconfig down ethx; ifconfig up ethx' when
>>> you add and/or delete an interface & vif?
>>>
>>> A subnet route is disappearing from and interface that I removed
>>> from one xorp instance and added to another, and if it's bouncing the
>>> interface, that could explain why...
>> The "down/up" operations should happen only in certain situations
>> when are really needed. E.g., setting the MTU or the MAC address are
>> two examples that come to mind: the interface must be in DOWN state
>> otherwise the setting will fail.
>>
>> The Linux "ip monitor" in a separate xterm will tell you whether the
>> "down/up" operations actually happen in your case.
> 
> It looks like Xorp is removing it, but I could be wrong.

Just FYI:  This may be perfectly proper behaviour from Xorp.
(ie, remove IP on an interface that is being deleted).

Either way, I seem to have a work-around by re-adding the route
manually after I do the xorpsh commands.

Thanks,
Ben


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-users mailing list