Bird, Cisco & OSPF problem

Jarek jarek at poczta.srv.pl
Sat Oct 3 12:33:20 CEST 2009


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 at poczta.srv.pl>




More information about the Bird-users mailing list