Hello Below mail came in as Debian Bug Report, I forward it to this list as the Quagga bugzilla is still broken.
The bug is present in the latest GIT version but I could not find a reply in the list archives that would explain why Paul Evans' patch was rejected. The patch does at least work so far that the ip address is removed from the Zebra "show interface lo" output as well as from the linux "ip addr show dev lo" output. If somebody from the core developers could confirm that the patch has no nasty side effects I could prepare an updated package for Debian. bye, -christian- Start weitergeleitete Nachricht: Datum: Fri, 27 Feb 2009 08:40:53 +0100 Von: [email protected] (Göran Weinholt) An: [email protected] Betreff: Bug#517352: Removing IP addresses with zebra doesn't work fully Package: quagga Version: 0.99.10-1lenny1 Tags: patch when removing an IP address from an interface with vtysh, the IP address is not removed internally in zebra. It is removed in the kernel though. This also leads to the problem that when you later try to add the IP address again, it is not added to the kernel. Presumably because zebra thinks it already is in the kernel. This patch from Paul Evans might fix the problem: http://lists.quagga.net/pipermail/quagga-dev/2008-October/006072.html Here is a transcript that shows what happens, note that the third invocation of "sh int lo" still lists the IP address: Hello, this is Quagga (version 0.99.10). Copyright 1996-2005 Kunihiro Ishiguro, et al. desktop2# sh int lo Interface lo is up, line protocol detection is disabled index 1 metric 1 mtu 16436 flags: <UP,LOOPBACK,RUNNING> inet 127.0.0.1/8 inet6 ::1/128 694523 input packets (0 multicast), 79271602 bytes, 0 dropped 0 input errors, 0 length, 0 overrun, 0 CRC, 0 frame 0 fifo, 0 missed 694523 output packets, 79271602 bytes, 0 dropped 0 output errors, 0 aborted, 0 carrier, 0 fifo, 0 heartbeat 0 window, 0 collisions desktop2# conf t desktop2(config)# int lo desktop2(config-if)# ip addr 10.2.3.4/32 desktop2(config-if)# end desktop2# sh int lo Interface lo is up, line protocol detection is disabled index 1 metric 1 mtu 16436 flags: <UP,LOOPBACK,RUNNING> inet 10.2.3.4/32 inet 127.0.0.1/8 inet6 ::1/128 694523 input packets (0 multicast), 79271602 bytes, 0 dropped 0 input errors, 0 length, 0 overrun, 0 CRC, 0 frame 0 fifo, 0 missed 694523 output packets, 79271602 bytes, 0 dropped 0 output errors, 0 aborted, 0 carrier, 0 fifo, 0 heartbeat 0 window, 0 collisions desktop2# conf t desktop2(config)# int lo desktop2(config-if)# no ip addr 10.2.3.4/32 desktop2(config-if)# end desktop2# sh int lo Interface lo is up, line protocol detection is disabled index 1 metric 1 mtu 16436 flags: <UP,LOOPBACK,RUNNING> inet 10.2.3.4/32 inet 127.0.0.1/8 inet6 ::1/128 694523 input packets (0 multicast), 79271602 bytes, 0 dropped 0 input errors, 0 length, 0 overrun, 0 CRC, 0 frame 0 fifo, 0 missed 694523 output packets, 79271602 bytes, 0 dropped 0 output errors, 0 aborted, 0 carrier, 0 fifo, 0 heartbeat 0 window, 0 collisions -- Göran Weinholt, Network Administrator, Chalmers Studentbostäder
signature.asc
Description: PGP signature

