Mailing List Archive

[Bug 448] Killing ospf6d doesn't remove the routes from the machine
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=448





------- Additional Comments From quagga@mavetju.org 2008-04-12 05:58 -------
This my routing table before I start ospf6d:

sledge-zebra# show ipv6 route
Codes: K - kernel route, C - connected, S - static, R - RIPng, O - OSPFv3,
I - ISIS, B - BGP, * - FIB route.

C>* ::1/128 is directly connected, lo0
C>* 2001:df0:9:1::/64 is directly connected, bge0
C>* fe80::/64 is directly connected, lo0


This is my routing table after I start ospf6d:

sledge-zebra# show ipv6 route
Codes: K - kernel route, C - connected, S - static, R - RIPng, O - OSPFv3,
I - ISIS, B - BGP, * - FIB route.

C>* ::1/128 is directly connected, lo0
O 2001:df0:9:1::/64 [110/1] is directly connected, bge0, 00:00:13
C>* 2001:df0:9:1::/64 is directly connected, bge0
O>* 2001:df0:9:2::/64 [110/41] via fe80::204:96ff:fe1d:b6b0, bge0, 00:00:14
O>* 2001:df0:9:3::/64 [110/41] via fe80::204:96ff:fe1d:b6b0, bge0, 00:00:14
O>* 2001:df0:9:4::/64 [110/41] via fe80::204:96ff:fe1d:b6b0, bge0, 00:00:14
C>* fe80::/64 is directly connected, lo0

This is how I kill ospf6d:

[/usr/local/etc/quagga] root@sledge>cat /var/run/quagga/ospf6d.pid
76159
[/usr/local/etc/quagga] root@sledge>ps xauw | grep 76159
quagga 76159 0.0 0.1 5720 2148 ?? Ss 2:54PM 0:00.01
/usr/local/sbin/ospf6d -d
root 76344 0.0 0.1 5920 1088 p1 S+ 2:55PM 0:00.00 grep 76159
[/usr/local/etc/quagga] root@sledge>kill 76159
[/usr/local/etc/quagga] root@sledge>kill 76159
-bash: kill: (76159) - No such process

And this is the routing table afterwards:

sledge-zebra# show ipv6 route
Codes: K - kernel route, C - connected, S - static, R - RIPng, O - OSPFv3,
I - ISIS, B - BGP, * - FIB route.

C>* ::1/128 is directly connected, lo0
O 2001:df0:9:1::/64 [110/1] is directly connected, bge0, 00:01:56
C>* 2001:df0:9:1::/64 is directly connected, bge0
O>* 2001:df0:9:2::/64 [110/41] via fe80::204:96ff:fe1d:b6b0, bge0, 00:01:57
O>* 2001:df0:9:3::/64 [110/41] via fe80::204:96ff:fe1d:b6b0, bge0, 00:01:57
O>* 2001:df0:9:4::/64 [110/41] via fe80::204:96ff:fe1d:b6b0, bge0, 00:01:57
C>* fe80::/64 is directly connected, lo0

------- Additional Comments From quagga@mavetju.org 2008-04-12 05:59 -------
Here are the configuration files of ospf6d and zebra:

[/usr/local/etc/quagga] root@sledge>cat ospf6d.conf
!
! Zebra configuration saved from vty
! 2003/11/28 00:49:49
!
hostname sledge-ospfv3
password zebra
log stdout
service advanced-vty
!
debug ospf6 neighbor state
!
interface bge0
!
router ospf6
router-id 255.1.1.1
interface bge0 area 0.0.0.0
redistribute connected
!

line vty
exec-timeout 0 0
!
[/usr/local/etc/quagga] root@sledge>cat zebra.conf
!
! Zebra configuration saved from vty
! 2006/09/24 13:50:36
!
hostname sledge-zebra
password zebra
!
interface bge0
ipv6 nd suppress-ra
!
interface bge1
ipv6 nd suppress-ra
!
interface gif2
ipv6 nd suppress-ra
!
interface lo0
!
interface tun1
ipv6 nd suppress-ra
!
interface vlan1
ipv6 nd suppress-ra
!
interface vlan2
ipv6 nd suppress-ra
!
ip forwarding
!
line vty
!




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 448] Killing ospf6d doesn't remove the routes from the machine [ In reply to ]
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=448





------- Additional Comments From paul@dishone.st 2008-04-14 12:27 -------
This perhaps is more a bug in zebra. It doesn't clean up routes per default when
a daemon closes the sockets. Instead, it's down to the client to clean-up before
exit. bgpd, ospfd and (i think) ripd, do so. This however is a problem for
daemons that do not do so, or any client daemon which terminates suddenly (i.e.
without being able to clean up).

This probably is better fixed in zebra.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs