Networking Forums

Networking Forums > Computer Networking > Linux Networking > zebra & ospfd -- Routes are not exchanged properly

Reply
Thread Tools Display Modes

zebra & ospfd -- Routes are not exchanged properly

 
 
N_TRoPY
Guest
Posts: n/a

 
      02-15-2006, 09:11 PM
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

 
Reply With Quote
 
 
 
 
LordGarak@gmail.com
Guest
Posts: n/a

 
      02-23-2006, 09:38 PM
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.

 
Reply With Quote
 
leblancma@gmail.com
Guest
Posts: n/a

 
      02-24-2006, 03:17 PM
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).

 
Reply With Quote
 
leblancma@gmail.com
Guest
Posts: n/a

 
      02-24-2006, 08:32 PM
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...

 
Reply With Quote
 
leblancma@gmail.com
Guest
Posts: n/a

 
      02-24-2006, 08:50 PM
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use ospfd and zebra on virtual interfaces? sandy Linux Networking 0 10-28-2005 07:53 AM
ospfd die on his own for no (apparent) reason Davide Bianchi Linux Networking 0 01-12-2005 01:35 PM
No packets exchanged and cannot repair IP/DHCP address BTInternet Wireless Networks 1 12-14-2004 04:25 PM
Wireless Network Connected but no packets exchanged!! BTInternet Wireless Networks 1 12-13-2004 07:35 PM
Performance with Zebra Uomo Tigre Linux Networking 0 07-14-2003 10:44 AM



1 2 3 4 5 6 7 8 9 10 11