Mailing List Archive

Problems with OSPFD
Hello . I`m from Spain.
I have a problem when I use the OSPFD DAEMON.
I think the topology is correct but I am not sure.
I compiled Zebra with the --enable-multipath=0 option.
I have three PC (A, B,C) with LINUX Red Hat 7.3 , like you can see in the
diagram:

<<...OLE_Obj...>>


The configurations are:

PC A:

[root@NEGRO root]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
10.0.0.0 11.0.0.1 255.255.255.0 UG 0 0 0
eth1
11.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth1
192.168.0.0 11.0.0.1 255.255.255.0 UG 0 0 0
eth1
12.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth3
13.0.0.0 11.0.0.1 255.255.255.0 UG 0 0 0
eth1
14.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth2
172.16.0.0 0.0.0.0 255.255.0.0 U 0 0 0
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 172.16.1.4 0.0.0.0 UG 0 0 0
eth0
[root@NEGRO root]#

[root@NEGRO root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:02:B3:D6:CF:8B
inet addr:172.16.1.250 Bcast:172.16.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:77191 errors:0 dropped:0 overruns:0 frame:0
TX packets:867 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3813064 (3.6 Mb) TX bytes:82218 (80.2 Kb)
Interrupt:10 Base address:0xbc00 Memory:dfcff000-dfcff038

eth1 Link encap:Ethernet HWaddr 00:02:B3:D6:CF:8C
inet addr:11.0.0.2 Bcast:11.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1482 errors:0 dropped:0 overruns:0 frame:0
TX packets:1566 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:106788 (104.2 Kb) TX bytes:128590 (125.5 Kb)
Interrupt:11 Base address:0xb800 Memory:dfcfe000-dfcfe038

eth2 Link encap:Ethernet HWaddr 00:02:B3:CC:36:42
inet addr:14.0.0.2 Bcast:14.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1178 errors:0 dropped:0 overruns:0 frame:0
TX packets:1227 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:88855 (86.7 Kb) TX bytes:99836 (97.4 Kb)
Interrupt:10 Base address:0xcc00 Memory:dfdff000-dfdff038

eth3 Link encap:Ethernet HWaddr 00:0C:76:01:57:DB
inet addr:12.0.0.2 Bcast:12.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1200 errors:0 dropped:0 overruns:0 frame:0
TX packets:1214 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:81296 (79.3 Kb) TX bytes:95842 (93.5 Kb)
Interrupt:10 Base address:0xc800 Memory:dfdfe000-dfdfe038

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:111 errors:0 dropped:0 overruns:0 frame:0
TX packets:111 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6211 (6.0 Kb) TX bytes:6211 (6.0 Kb)

PC B:

[root@BLANCO root]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth1
11.0.0.0 10.0.0.1 255.255.255.0 UG 0 0 0
eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
12.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth3
13.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth2
14.0.0.0 10.0.0.1 255.255.255.0 UG 0 0 0
eth1
172.16.0.0 10.0.0.1 255.255.0.0 UG 0 0 0
eth1
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0
eth1
[root@BLANCO root]#

[root@BLANCO root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:02:B3:D9:A4:20
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2633 errors:0 dropped:0 overruns:0 frame:0
TX packets:2948 errors:59 dropped:0 overruns:0 carrier:59
collisions:0 txqueuelen:100
RX bytes:158946 (155.2 Kb) TX bytes:284390 (277.7 Kb)
Interrupt:10 Base address:0xac00 Memory:dfcff000-dfcff038

eth1 Link encap:Ethernet HWaddr 00:02:B3:D9:A4:21
inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:891 errors:1 dropped:0 overruns:0 frame:1
TX packets:2073 errors:3 dropped:0 overruns:0 carrier:3
collisions:0 txqueuelen:100
RX bytes:67559 (65.9 Kb) TX bytes:1770903 (1.6 Mb)
Interrupt:10 Base address:0xa800 Memory:dfcfe000-dfcfe038

eth2 Link encap:Ethernet HWaddr 00:02:B3:97:75:3D
inet addr:13.0.0.2 Bcast:13.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2388 errors:0 dropped:0 overruns:0 frame:0
TX packets:1584 errors:1 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:100
RX bytes:153342 (149.7 Kb) TX bytes:130632 (127.5 Kb)
Interrupt:10 Base address:0xbc00 Memory:dfdff000-dfdff038

eth3 Link encap:Ethernet HWaddr 00:10:DC:A1:D9:DA
inet addr:12.0.0.1 Bcast:12.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3919 errors:0 dropped:0 overruns:0 frame:0
TX packets:3401 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:3497362 (3.3 Mb) TX bytes:268222 (261.9 Kb)
Interrupt:11 Base address:0xb800 Memory:dfdfd000-dfdfd038

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:302 errors:0 dropped:0 overruns:0 frame:0
TX packets:302 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18707 (18.2 Kb) TX bytes:18707 (18.2 Kb)


PC C:

[root@NUEVO root]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
11.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth2
192.168.0.0 10.0.0.2 255.255.255.0 UG 0 0 0
eth0
12.0.0.0 11.0.0.2 255.255.255.0 UG 0 0 0
eth2
13.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth1
14.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0
eth3
172.16.0.0 11.0.0.2 255.255.0.0 UG 0 0 0
eth2
0.0.0.0 11.0.0.2 0.0.0.0 UG 0 0 0
eth2
[root@NUEVO root]#



[root@NUEVO root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:02:B3:D6:CC:E1
inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2367 errors:0 dropped:0 overruns:0 frame:0
TX packets:1422 errors:2 dropped:0 overruns:0 carrier:2
collisions:0 txqueuelen:100
RX bytes:1760885 (1.6 Mb) TX bytes:119631 (116.8 Kb)
Interrupt:10 Base address:0xac00 Memory:dfcff000-dfcff038

eth1 Link encap:Ethernet HWaddr 00:02:B3:D6:CC:E2
inet addr:13.0.0.1 Bcast:13.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1694 errors:0 dropped:0 overruns:0 frame:0
TX packets:3087 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:119860 (117.0 Kb) TX bytes:239616 (234.0 Kb)
Interrupt:10 Base address:0xa800 Memory:dfcfe000-dfcfe038

eth2 Link encap:Ethernet HWaddr 00:02:B3:CC:3A:25
inet addr:11.0.0.1 Bcast:11.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2384 errors:0 dropped:0 overruns:0 frame:0
TX packets:2367 errors:2 dropped:0 overruns:0 carrier:2
collisions:0 txqueuelen:100
RX bytes:160592 (156.8 Kb) TX bytes:199462 (194.7 Kb)
Interrupt:10 Base address:0xbc00 Memory:dfdff000-dfdff038

eth3 Link encap:Ethernet HWaddr 00:0C:76:01:5F:55
inet addr:14.0.0.1 Bcast:14.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1916 errors:0 dropped:0 overruns:0 frame:0
TX packets:1978 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:127210 (124.2 Kb) TX bytes:167035 (163.1 Kb)
Interrupt:11 Base address:0xb800 Memory:dfdfd000-dfdfd038

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:797 errors:0 dropped:0 overruns:0 frame:0
TX packets:797 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:45960 (44.8 Kb) TX bytes:45960 (44.8 Kb)


The problem is when I tun off two interfaces of one PC, for example:

<<...OLE_Obj...>>


The ospfd works well during 2-3 minutes, but after this the router pass an
INIT DROTHER state.

BLANCO-ospfd# sh ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface
RXmtL RqstL DBsmL
0.0.0.1 1 Init/DROther 00:00:08 12.0.0.2
eth3:12.0.0.1 0 0 0
BLANCO-ospfd#


I have change the version of Zebra , but the result is the same.
I `m using quagga-0.96.4.

When the PC B and PC C pass an INIT DROTHER state, they received hello
packets but don`t send it.
They only "see" their directly conections.

In don`t know to resolve the trouble.

Thanks for all.