[Xorp-hackers] OSPF bug(s) in XORP-1.5

Pavlin Radoslavov pavlin at ICSI.Berkeley.EDU
Fri Aug 22 10:53:58 PDT 2008


Francisco Rodriguez <f.rodriguez at lancaster.ac.uk> wrote:

> Pavlin,
> 
> I'm running my experiments using virtual machines using KVM(QEMU) software
> which run Debian x86_64 GNU/Linux with kernel 2.6.22-3-amd64.
> 
> Your statement about which is the behavior that I had observed of XORP is
> right. I can't recall any other important detail about my experiments that I
> haven't metioned before. Except, for running my experiments what I did was
> to configured the interfaces in system's shell and then boot XORP RTRMGR.
> I've to mention that I didn't configured any FEA parameter at all.

Francisco,

My only explanation for what you are seeing is that this might be
a kernel-specific problem. More specifically, if the kernel is not
sending the right netlink upcall messages to the FEA, the IP address
information might be lost when taking a VLAN down and up.
Unfortunately, I don't have a Linux system with 2.6.22 kernel to
verify that.
Hence, could you do the following and send me the output.
In this experiment you won't need XORP.

1. Start with a configured VLAN interface that is UP and use
"ip addr" to capture the output.
2. Run "ip monitor all" in the same terminal as in (1)
3. Open another terminal and become a root.
4. Use the "ifconfig" command in the second terminal to take the
   VLAN interface down and then up:
   ifconfig vlan1 down
   ifconfig vlan1 up
5. Stop "ip monitor" in the first terminal, and use again
  "ip addr" to show the interface information.

Please send me the output from the first terminal:
the "ip addr" output at the beginning and the end of the experiment,
and the "ip monitor all" captured output.

For reference purpose, below is what I get on Ubuntu-8.10 with
kernel 2.6.24-19-server.

Thanks,
Pavlin

pavlin at vm-ubuntu[5] ip addr
<DEL>
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:0c:29:c4:42:3f brd ff:ff:ff:ff:ff:ff
    inet 10.10.10.10/24 brd 10.10.10.255 scope global eth1
    inet6 fe80::20c:29ff:fec4:423f/64 scope link 
       valid_lft forever preferred_lft forever
5: vlan1 at eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue 
    link/ether 00:0c:29:c4:42:3f brd ff:ff:ff:ff:ff:ff
    inet 10.10.20.20/24 brd 10.10.20.255 scope global vlan1
    inet6 fe80::20c:29ff:fec4:423f/64 scope link tentative 
       valid_lft forever preferred_lft forever
pavlin at vm-ubuntu[6] ip monitor all
5: vlan1 at eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue 
    link/ether 00:0c:29:c4:42:3f brd ff:ff:ff:ff:ff:ff
Deleted fe80::/64 dev vlan1  metric 256  mtu 1500 advmss 1440 hoplimit 4294967295
Deleted ff00::/8 dev vlan1  table local  metric 256  mtu 1500 advmss 1440 hoplimit 4294967295
Deleted 5: vlan1    inet6 fe80::20c:29ff:fec4:423f/64 scope link tentative 
       valid_lft forever preferred_lft forever
5: vlan1 at eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue 
    link/ether 00:0c:29:c4:42:3f brd ff:ff:ff:ff:ff:ff
broadcast 10.10.20.255 dev vlan1  table local  proto kernel  scope link  src 10.10.20.20 
10.10.20.0/24 dev vlan1  proto kernel  scope link  src 10.10.20.20 
broadcast 10.10.20.0 dev vlan1  table local  proto kernel  scope link  src 10.10.20.20 
ff00::/8 dev vlan1  table local  metric 256  mtu 1500 advmss 1440 hoplimit 4294967295
fe80::/64 dev vlan1  metric 256  mtu 1500 advmss 1440 hoplimit 4294967295
5: vlan1 at eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 
    link/ether 00:0c:29:c4:42:3f

pavlin at vm-ubuntu[7] ip addr
<DEL>
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:0c:29:c4:42:3f brd ff:ff:ff:ff:ff:ff
    inet 10.10.10.10/24 brd 10.10.10.255 scope global eth1
    inet6 fe80::20c:29ff:fec4:423f/64 scope link 
       valid_lft forever preferred_lft forever
5: vlan1 at eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue 
    link/ether 00:0c:29:c4:42:3f brd ff:ff:ff:ff:ff:ff
    inet 10.10.20.20/24 brd 10.10.20.255 scope global vlan1
    inet6 fe80::20c:29ff:fec4:423f/64 scope link tentative 
       valid_lft forever preferred_lft forever
pavlin at vm-ubuntu[8] 

   



More information about the Xorp-hackers mailing list