[Quagga-bugs] [Bug 316] ospfd does not get all the interface IP addressess when starting

bugzilla-daemon at allevil.dishone.st bugzilla-daemon at allevil.dishone.st
Tue Nov 28 17:23:14 GMT 2006


Please do not reply directly to this email. All additional  
comments should be made in the comments box of this bug  
report.  
  
http://bugzilla.quagga.net/show_bug.cgi?id=316  
  




------- Additional Comments From windo at p6drad-teel.net  2006-11-28 10:25 -------
The CVS version I tested is a week old or so, this has been present from at
least 0.99.4 (which I noticed this bug on)

If an interface has multiple IP addresses, ospfd only knows about the first one.
As a workaround, to make ospfd aware of the other address(es) the address(es)
can be dropped and readded.

dididijero:/home/windo/dev# ip a a 192.168.0.1/30 dev eth1
dididijero:/home/windo/dev# ip a a 192.168.0.5/30 dev eth1
dididijero:/home/windo/dev# telnet localhost zebra
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.

Hello, this is Quagga (version 0.99.5).
Copyright 1996-2005 Kunihiro Ishiguro, et al.


User Access Verification

Password:
dididijero> enable
Password:
dididijero# show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
       I - ISIS, B - BGP, > - selected route, * - FIB route

K>* 0.0.0.0/0 via 172.16.22.254, eth1
C>* 127.0.0.0/8 is directly connected, lo
C>* 172.16.22.0/24 is directly connected, eth1
O   192.168.0.0/30 [110/10] is directly connected, eth1, 00:00:16
C>* 192.168.0.0/30 is directly connected, eth1
O   192.168.0.4/30 [110/10] is directly connected, eth1, 00:00:11
C>* 192.168.0.4/30 is directly connected, eth1
dididijero# Connection closed by foreign host.
dididijero:/home/windo/dev# telnet localhost ospfd
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.

Hello, this is Quagga (version 0.99.5).
Copyright 1996-2005 Kunihiro Ishiguro, et al.


User Access Verification

Password:
dididijero> enable
Password:
dididijero# show ip ospf route
============ OSPF network routing table ============
N    192.168.0.0/30        [10] area: 0.0.0.0
                           directly attached to eth1
N    192.168.0.4/30        [10] area: 0.0.0.0
                           directly attached to eth1

============ OSPF router routing table =============

============ OSPF external routing table ===========

dididijero# Connection closed by foreign host.
dididijero:/home/windo/dev# killall ospfd
dididijero:/home/windo/dev# /usr/local/sbin/ospfd -d -f /etc/quagga/ospfd.conf
-A 127.0.0.1 -i /var/run/quagga/ospfd.pid -u quagga -g quagga
dididijero:/home/windo/dev# telnet localhost ospfd
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.

Hello, this is Quagga (version 0.99.5).
Copyright 1996-2005 Kunihiro Ishiguro, et al.


User Access Verification

Password:
dididijero> enable
Password:
dididijero# show ip ospf route
============ OSPF network routing table ============
N    192.168.0.0/30        [10] area: 0.0.0.0
                           directly attached to eth1

============ OSPF router routing table =============

============ OSPF external routing table ===========

------- Additional Comments From ajschorr at alumni.princeton.edu  2006-11-28 17:23 -------
I just tried to duplicate this problem with current CVS code,
and I cannot see it.  Are you sure the problem still exists
in the current CVS snapshot?

Also, are you by any chance using 'passive-interface default'
in your ospf config?  If so, that had a bug until this morning
that could possibly be a factor.  Current CVS includes the
patch, so it will be in tomorrow's CVS snapshot of 0.99.5.

Regards,
Andy  
  
  
  
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the Quagga-bugs mailing list