[quagga-dev 7738] Re: [PATCH] [zebra] fix bug #486 (lingering after IP address deletion)

David Lamparter equinox at diac24.net
Tue Feb 2 01:22:32 GMT 2010


Am Dienstag, den 02.02.2010, 01:01 +0000 schrieb paul at jakma.org:
> I think this was working before. Least, I had tested on Solaris, BSD 
> and Linux. But it's been a while. I'm not 100% sure, but I think the 
> netlink change to filter out self-originated commands is what's 
> broken this (unintentionally) - I didnt know till recently the kernel 
> send was synchronous and couldn't fail.

I just tried 0.99.15 on OpenSolaris 2009.6. It was most hilarious:


hegemone.n2.diac24.net(config-if)# ip address 10.0.0.1/24
ZEBRA: MESSAGE: ZEBRA_INTERFACE_ADDRESS_ADD 10.0.0.1/24 on lo0
ZEBRA: ifam_read_mesg: ifindex 1, ifname lo0, ifam_addrs 0xb4,
ifam_flags 0x1, addr 10.0.0.1/8 broad 0.0.0.0 dst 0.0.0.0 gateway
0.0.0.0
ZEBRA: MESSAGE: ZEBRA_INTERFACE_ADDRESS_ADD 10.0.0.1/8 on lo0
ZEBRA: ifam_read_mesg: ifindex 1, ifname lo0, ifam_addrs 0xb4,
ifam_flags 0x0, addr 10.0.0.1/8 broad 0.0.0.0 dst 0.0.0.0 gateway
0.0.0.0
ZEBRA: MESSAGE: ZEBRA_INTERFACE_ADDRESS_DELETE 10.0.0.1/8 on lo0
ZEBRA: ifam_read_mesg: ifindex 1, ifname lo0, ifam_addrs 0xb4,
ifam_flags 0x1, addr 10.0.0.1/7 broad 0.0.0.0 dst 0.0.0.0 gateway
0.0.0.0
ZEBRA: MESSAGE: ZEBRA_INTERFACE_ADDRESS_ADD 10.0.0.1/7 on lo0
[...]
ZEBRA: rib_process: 10.0.0.0/8: rn 808fc08, removing rib 80d8b10
ZEBRA: rib_unlink: 10.0.0.0/8: rn 808fc08, rib 80d8b10
ZEBRA: rib_process: 10.0.0.0/7: Adding route, select 80d8ad8
ZEBRA: rib_process: 10.0.0.0/24: Updating existing route, select
80d8b48, fib 80d8b48

$ ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
8232 index 1
        inet 10.0.0.1 netmask a000001 

...

...

I don't even /want/ to know this one.


-David





More information about the Quagga-dev mailing list