zebra & ospfd -- Routes are not exchanged properly

zebra & ospfd -- Routes are not exchanged properly

Post by N_TRoP » Fri, 17 Feb 2006 07:11:39



Firstly, I'm using Linux 2.6.12 (fedora core 3 update) with the latest
version of zebra (off of cvs).

I'm trying to set up OSPF on the following network configuration:

LAN1 (192.168.10.0/24)
LAN2 (192.168.12.0/24)
LAN3 (192.168.14.0/24)
, etc

Each LANs has a router on a backbone connection (192.168.128.0/24)

The problem is that the LAN routes are not being exchanged on the
routers:
Please see the following command outputs and configuration files for
more information

router10> show ip ospf neighbor
Neighbor ID     Pri   State           Dead Time   Address
Interface           RXmtL RqstL DBsmL
192.168.128.12   12   Full/DROther    00:03:35    192.168.128.12
eth0:192.168.128.10     0     0     0
192.168.128.14   14   Full/DROther    00:03:37    192.168.128.14
eth0:192.168.128.10     0     0     0

router10> show ip ospf route
============ OSPF network routing table ============

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

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

router10> show ip ospf database

       OSPF Router with ID (192.168.128.10)

                Router Link States (Area 0.0.0.0)

Link ID         ADV Router      Age  Seq#       CkSum  Link count
192.168.128.10  192.168.128.10    41 0x8000007e 0xffdc 5
192.168.128.12  192.168.128.12    10 0x8000008f 0xa621 4
192.168.128.14  192.168.128.14    16 0x80000087 0x585d 6

                Router Link States (Area 0.0.0.10 [Stub])

Link ID         ADV Router      Age  Seq#       CkSum  Link count
192.168.128.10  192.168.128.10   196 0x80000001 0x7384 1

                Summary Link States (Area 0.0.0.10 [Stub])

Link ID         ADV Router      Age  Seq#       CkSum  Route
0.0.0.0         192.168.128.10   193 0x80000001 0xc7a2 0.0.0.0/0

zebra.conf
==========
hostname router10
password zebra
enable password zebra
interface eth0
  ip address 192.168.128.10/24
interface eth1
  ip address 192.168.10.1/24

ospfd.conf
==========
hostname router10
password zebra
enable password zebra
router ospf
  router-id 192.168.128.10
  network 192.168.128.0/24 area 0.0.0.0
  network 192.168.10.0/24 area 0.0.0.10
  area 0.0.0.10 stub
interface eth0
  ip ospf dead-interval 225
  ip ospf hello-interval 10
  ip ospf priority 10
  ip ospf retransmit-interval 30
  ip ospf transmit-delay 1
  ip ospf network point-to-multipoint
interface eth1
  ip ospf dead-interval 225
  ip ospf hello-interval 10
  ip ospf priority 255
  ip ospf retransmit-interval 30
  ip ospf transmit-delay 1
  ip ospf network point-to-multipoint
log stdout

Thanks for your time,
N

 
 
 

zebra & ospfd -- Routes are not exchanged properly

Post by LordGa.. » Sat, 25 Feb 2006 07:38:41


You might as well use static routing in this setup, their are only a
few entries.

OSPF is more usefull when there is more than one way to reach a
network. Like if the three routers were connected in a ring.

Its been a while since I've messed with OSPF but I think you should
have one big area defined between the 3 routers. I may be totally wrong
here.

 
 
 

zebra & ospfd -- Routes are not exchanged properly

Post by leblan.. » Sun, 26 Feb 2006 01:17:35


The reason I need dynamic routing is that I'm testing a custom built
ad-hoc bearer on the backbone router network (slow TDMA over a lossy
link). As such, links between the routers may go up and down and I want
the routes to only show up in the tables if the routers are reachable.

I do have a backbone area 0 defined between my routers. The OSPF
routers see each other, but they don't share they're internal networks
properly (the routes to the stub areas are not being added (or
exchanged) at the routers).

 
 
 

zebra & ospfd -- Routes are not exchanged properly

Post by leblan.. » Sun, 26 Feb 2006 06:32:44


One thing I've noticed is that OSPF didn't elect a DR or a BDR. I don't
know if that would affect the route exchanges...
 
 
 

zebra & ospfd -- Routes are not exchanged properly

Post by leblan.. » Sun, 26 Feb 2006 06:50:02


Problem solved...

I'm running the backbone network on a LAN type interface and was using:
ip ospf network point-to-multipoint

Changing it to the following command fixed everything.
ip ospf network broadcast

 
 
 

1. How to use ospfd and zebra on virtual interfaces?

Hi all,
      I am new to the world of networking and unix.
Thanks to all for having this group.

I wanted to know how to use ospfd and zebra.
say i have 3 virtual interfaces along with eth0 on one linux box and i
need to route between them. Can anyone give me an example of how to do
it.

Thanks in advance
sandy

2. Large file (> 2 Gb) compilation woes

3. Ethernet and PPP Networks not routing properly

4. Control Keys in X apps

5. Very strange, multiple IP addresses on the same Ethernet card do not route properly

6. keeping your mailbox secure, even with mailx

7. Routing not working properly

8. tasks on taskbar only use 40% of space

9. linux and zebra routing

10. linux routing and zebra

11. Newbie question about ZEBRA routing

12. linux kernel routing tables and zebra

13. Zebra: Multiple instances and routing between instances?