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



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to