Bird, Cisco & OSPF problem
Hi! I have problem with ospf configuration between Linux and Cisco. We have: LAN 10.200.199.0 | Linux (two public interfaces) | | INTERNET | Cisco (one public interface) | LAN 10.200.200.0 Between Linux and Cisco we have two GRE tunnels. I'd like to setup OSPF so gre tunnels will be redundant. On Linux I have: protocol kernel { persist; learn; scan time 20; export all; import all; } protocol device { scan time 10; } protocol direct { interface "*"; } protocol ospf myOSPF { tick 2; export all; import all; area 0 { interface "tunnel*"; }; } On cisco: router ospf 100 router-id 10.200.200.1 log-adjacency-changes network 10.200.200.0 0.0.0.255 area 0 network 192.168.100.68 0.0.0.3 area 0 network 192.168.101.68 0.0.0.3 area 0 192.168.100 and 192.168.101 are tunnel networks. The problem is that probably Linux doesn't send info about directly connected networks to Cisco. In Linux routing table, I see proper route: 10.200.200.0/24 via 192.168.100.70 dev tunnel0 proto bird But on Cisco side, there are only static routes: 85.0.0.0/29 is subnetted, 1 subnets S 85.*.*.* [1/0] via 79.*.*.* 217.*.*.*/30 is subnetted, 1 subnets S 217.*.*.* [1/0] via 79.*.*.* 10.0.0.0/24 is subnetted, 1 subnets C 10.200.200.0 is directly connected, Ethernet0 79.0.0.0/30 is subnetted, 1 subnets C 79.*.*.* is directly connected, Ethernet1 192.168.100.0/30 is subnetted, 1 subnets C 192.168.100.68 is directly connected, Tunnel0 192.168.101.0/30 is subnetted, 1 subnets C 192.168.101.68 is directly connected, Tunnel1 show ip ospf Routing Process "ospf 100" with ID 10.200.200.1 Supports only single TOS(TOS0) routes Supports opaque LSA SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs Number of external LSA 76. Checksum Sum 0x2231B2 Number of opaque AS LSA 0. Checksum Sum 0x0 Number of DCbitless external and opaque AS LSA 76 Number of DoNotAge external and opaque AS LSA 0 Number of areas in this router is 1. 1 normal 0 stub 0 nssa External flood list length 0 Area BACKBONE(0) Number of interfaces in this area is 3 Area has no authentication SPF algorithm executed 51 times Area ranges are Number of LSA 3. Checksum Sum 0x36EE Number of opaque link LSA 0. Checksum Sum 0x0 Number of DCbitless LSA 2 Number of indication LSA 0 Number of DoNotAge LSA 0 Flood list length 0 show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 10.209.192.2 1 FULL/ - 00:00:38 192.168.100.69 Tunnel0 10.209.192.2 1 FULL/ - 00:00:38 192.168.101.69 Tunnel1 What is wrong ? best regards -- Jarek <jarek@poczta.srv.pl>
On Sat, Oct 03, 2009 at 12:33:20PM +0200, Jarek wrote:
Hi!
On cisco:
router ospf 100 router-id 10.200.200.1 log-adjacency-changes network 10.200.200.0 0.0.0.255 area 0 network 192.168.100.68 0.0.0.3 area 0 network 192.168.101.68 0.0.0.3 area 0
192.168.100 and 192.168.101 are tunnel networks. The problem is that probably Linux doesn't send info about directly connected networks to Cisco.
Hello Could you send me the output of commands 'show route' and 'show ospf neighbor' on BIRD side? -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
:10 +0200, Ondrej Zajicek pisze:
On Sat, Oct 03, 2009 at 12:33:20PM +0200, Jarek wrote:
Hi!
On cisco:
router ospf 100 router-id 10.200.200.1 log-adjacency-changes network 10.200.200.0 0.0.0.255 area 0 network 192.168.100.68 0.0.0.3 area 0 network 192.168.101.68 0.0.0.3 area 0
192.168.100 and 192.168.101 are tunnel networks. The problem is that probably Linux doesn't send info about directly connected networks to Cisco.
Hello
Could you send me the output of commands 'show route' and 'show ospf neighbor' on BIRD side?
show route 0.0.0.0/0 via 85.*.*.* on eth6 [kernel1 Oct03] (10) 192.168.100.68/30 dev tunnel0 [direct1 Oct03] (240) via 192.168.100.70 on tunnel0 [myOSPF Oct03] I (150/11121) 192.168.101.68/30 dev tunnel1 [direct1 Oct03] (240) via 192.168.100.70 on tunnel0 [myOSPF Oct03] I (150/11121) 217.*.*.*/32 via 10.200.199.6 on eth1 [kernel1 Oct03] (10) 127.0.0.0/8 dev lo [direct1 Oct03] (240) 10.200.199.0/24 dev eth1 [direct1 Oct03] (240) 10.200.200.0/24 via 192.168.100.70 on tunnel0 [myOSPF Oct03] I (150/20) 85.*.*.*/29 dev eth6 [direct1 Oct03] (240) 217.*.*.*/30 dev eth3 [direct1 Oct03] (240) show ospf neighbor myOSPF: Router ID Pri State DTime Router IP Interface 10.209.209.1 1 full/ptp 00:37 192.168.100.70 tunnel0 10.209.209.1 1 full/ptp 00:37 192.168.101.70 tunnel1 Best regards -- Jarek <jarek@poczta.srv.pl>
On Sun, Oct 04, 2009 at 10:46:45PM +0200, Jarek wrote:
Could you send me the output of commands 'show route' and 'show ospf neighbor' on BIRD side?
show route
0.0.0.0/0 via 85.*.*.* on eth6 [kernel1 Oct03] (10) 192.168.100.68/30 dev tunnel0 [direct1 Oct03] (240) via 192.168.100.70 on tunnel0 [myOSPF Oct03] I (150/11121) 192.168.101.68/30 dev tunnel1 [direct1 Oct03] (240) via 192.168.100.70 on tunnel0 [myOSPF Oct03] I (150/11121) 217.*.*.*/32 via 10.200.199.6 on eth1 [kernel1 Oct03] (10) 127.0.0.0/8 dev lo [direct1 Oct03] (240) 10.200.199.0/24 dev eth1 [direct1 Oct03] (240) 10.200.200.0/24 via 192.168.100.70 on tunnel0 [myOSPF Oct03] I (150/20) 85.*.*.*/29 dev eth6 [direct1 Oct03] (240) 217.*.*.*/30 dev eth3 [direct1 Oct03] (240)
You wrote that you missed some routes from BIRD's directly connected networks on Cisco. What are the missing networks? Are these networks in 'show route' output (above)? Or in 'show interfaces' BIRD command? How they look in ifconfig or 'ip r l' shell command? -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (2)
-
Jarek -
Ondrej Zajicek