[Xorp-users] adding/removing interfaces with xorp-cli

Ben Greear greearb at candelatech.com
Wed Oct 3 16:24:14 PDT 2007


Atanu Ghosh wrote:
>>>>>> "Ben" == Ben Greear <greearb at candelatech.com> writes:
> 
>     Ben> Atanu Ghosh wrote:
> 
>     >> Hi,
>     >> I have just checked in a fix that allows OSPF to be configured with
>     >> interface/vif/addresses that don't exist in the interfaces block.
>     >> Your example should work now.
> 
>     Ben> I was able to remove the intermediate commits from my
>     Ben> commands, and the commit still works fine.  So,
>     Ben> that part does seem to be fixed.
> 
> Good.
> 
>     Ben> I still have the problem I reported yesterday where
>     Ben> the one ospf doesn't seem to realize the remote ospf
>     Ben> instance has changed when I logically move the interface
>     Ben> to a new remote xorp...
> 
> After you have moved the links could you send the output of "show
> interfaces" from both ends of a "broken" link?

Router-8 is the one that did not have config change to it (but had
it's connection to router 2 moved to router 1.)  It appears to think
it is still connected to router 2.

Since this is all sort of virtual on a single machine, it's possible it
*is* somehow talking to router 2, but router-2 certainly doesn't seem
to know about it.


[root at lanforge-33-46 lanforge]# export XORP_FINDER_SERVER_PORT=20008; xorpsh
Welcome to XORP on lanforge-33-46
root at lanforge-33-46> show ospf4 neighbor
   Address         Interface             State      ID              Pri  Dead
10.4.0.7         rddVR45/rddVR45        Full      127.1.0.2        128    36
root at lanforge-33-46> show interfaces
my_discard/my_discard: Flags:<ENABLED> mtu 0
         physical index 0
rddVR45/rddVR45: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500
         inet 10.4.0.2 subnet 10.4.0.0/24 broadcast 10.4.0.255
         physical index 154
         ether 0:89:d6:d6:9a:42
rddVR5/rddVR5: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500
         inet 10.1.0.1 subnet 10.1.0.0/24 broadcast 10.1.0.255
         physical index 99
         ether 0:16:94:2e:4a:1f
root at lanforge-33-46> quit
[root at lanforge-33-46 lanforge]# export XORP_FINDER_SERVER_PORT=20001; xorpsh
Welcome to XORP on lanforge-33-46
root at lanforge-33-46> show ospf4 neighbor
   Address         Interface             State      ID              Pri  Dead
10.0.0.1         rddVR1/rddVR1          Full      127.1.0.2        128    35
10.4.0.2         rddVR44/rddVR44        Init      127.1.0.8        128    36
root at lanforge-33-46> show interfaces
my_discard/my_discard: Flags:<ENABLED> mtu 0
         physical index 0
rddVR1/rddVR1: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500
         inet 10.0.0.2 subnet 10.0.0.0/24 broadcast 10.0.0.255
         physical index 95
         ether 0:ec:14:a9:b8:b7
rddVR44/rddVR44: Flags:<ENABLED,BROADCAST,MULTICAST> mtu 1500
         inet 10.4.0.7 subnet 10.4.0.0/24 broadcast 10.4.0.255
         physical index 156
         ether 0:4d:6:d3:45:21
root at lanforge-33-46> quit


Thanks,
Ben


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



More information about the Xorp-users mailing list