Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am doing some networking using the Zebra software (v. .92a) and utilizing the OSPF protocol. I am relatively new to networking and I am having some trouble, I was hoping someone could point me in the right direction. I have set up two nodes and am trying to have them recognize each other as neighbors. In the output I get using tcpdump they seem to realize each other are there, but do not respond to each other's hello packets. I am almost positive it has something to do with the ospfd.conf and zebra.conf files, but I am stumped as to what.
Here is some sample output from tcpdump:
This is machine 1, its IP address is xxx.xxx.xx.124:
16:25:33.892934 YYY.YY.Y.1 > 224.0.0.5: OSPFv2-hello 44: rtrid XXX.XXX.XX.5 area 0.0.0.1 dr YYY.YY.Y.1 [ttl 1]
16:25:43.900413 XXX.XXX.XX.5 > 224.0.0.5: OSPFv2-hello 44: bac
kbone dr XXX.XXX.XX.5[t
tl 1]16:25:43.900493 YYY.YY.Y.1 > 224.0.0.5: OSPFv2-hello 44: rtrid XXX.XXX.XX.5 area 0.0.0.1 dr YYY.YY.Y.1 [ttl 1]
16:25:53.904721 XXX.XXX.XX.5 > 224.0.0.5: OSPFv2-hello 44: backbone dr XXX.XXX.XX.5 [ttl 1]
16:25:53.904811 YYY.YY.Y.1 > 224.0.0.5: OSPFv2-hello 44: rtrid XXX.XXX.XX.5 area 0.0.0.1 dr YYY.YY.Y.1 [ttl 1]
16:26:03.912189 XXX.XXX.XX.5 > 224.0.0.5: OSPFv2-hello 44: backbone dr XXX.XXX.XX.5 [ttl 1]
16:26:03.912277 YYY.YY.Y.1 > 224.0.0.5: OSPFv2-hello 44: rtrid XXX.XXX.XX.5 area 0.0.0.1 dr YYY.YY.Y.1 [ttl 1]
16:26:13.913076 XXX.XXX.XX.5 > 224.0.0.5: OSPFv2-hello 44: backbone dr XXX.XXX.XX.5 [ttl 1]
16:26:13.913146 YYY.YY.Y.1 > 224.0.0.5: OSPFv2-hello 44: rtrid XXX.XXX.XX.5 area 0.0.0.1 dr YYY.YY.Y.1 [ttl 1]
16:26:23.917278 XXX.XXX.XX.5 > 224.0.0.5: OSPFv2-hello 44: backbone dr XXX.XXX.XX.5 [ttl 1]
16:26:23.917360 YYY.YY.Y.1 > 224.0.0.5: OSPFv2-hello 44: rtrid XXX.XXX.XX.5 area 0.0.0.1 dr YYY.YY.Y.1 [
ttl 1]
It is
obviously seeing bot XXX.XXX.XX.5 and YYY.YY.Y.1, but does not register tehm into its topological database or as neighbors.This is machine 2, its IP address is xxx.xxx.xx.5, and its second IP address is YYY.YY.Y.1:
16:26:13.241212 YYY.YY.Y.1 > 224.0.0.5: OSPFv2-hello 44: rtrid XXX.XXX.XX.5 area 0.0.0.1 dr YYY.YY.Y.1 [ttl 1]
16:26:23.244566 XXX.XXX.XX.5 > 224.0.0.5: OSPFv2-hello 44: backbone dr XXX.XXX.XX.5 [ttl 1]
16:26:23.244657 YYY.YY.Y.1 > 224.0.0.5: OSPFv2-hello 44: rtrid XXX.XXX.XX.5 area 0.0.0.1 dr YYY.YY.Y.1 [ttl 1]
16:26:33.244819 XXX.XXX.XX.5 > 224.0.0.5: OSPFv2-hello 44: backbone dr XXX.XXX.XX.5 [ttl 1]
16:26:33.244926 YYY.YY.Y.1 > 224.0.0.5: OSPFv2-hello 44: rtrid XXX.XXX.XX.5 area 0.0.0.1 dr YYY.YY.Y.1 [ttl 1]
16:26:43.251487 XXX.XXX.XX.5 > 224.0.0.5: OSPFv2-hello 44: backbone dr XXX.XXX.XX.5 [ttl 1]
16:26:43.251588 YYY.YY.Y.1 > 224.0.0.5: OSPFv2-hello 44: rtrid XXX.XXX.XX.5 area 0.
0.0.1 dr YYY.YY.Y.1 [
ttl 1]16:26:53.254976 XXX.XXX.XX.5 > 224.0.0.5: OSPFv2-hello 44: backbone dr XXX.XXX.XX.5 [ttl 1]
16:26:53.255077 YYY.YY.Y.1 > 224.0.0.5: OSPFv2-hello 44: rtrid XXX.XXX.XX.5 area 0.0.0.1 dr YYY.YY.Y.1 [ttl 1]
Here are some of the logs from the daemons:MACHINE 1
2002/07/05 16:14:15 OSPF: OSPFd (0.92a) starts
2002/07/05 16:14:15 OSPF: interface XXX.XXX.XX.124 join AllSPFRouters Multicast group.
2002/07/05 16:14:55 OSPF: DR-Election[1st]: Backup XXX.XXX.XX.124
2002/07/05 16:14:55 OSPF: DR-Election[1st]: DR XXX.XXX.XX.124
2002/07/05 16:14:55 OSPF: DR-Election[2nd]: Backup 0.0.0.0
2002/07/05 16:14:55 OSPF: DR-Election[2nd]: DR XXX.XXX.XX.124
2002/07/05 16:14:55 OSPF: interface XXX.XXX.XX.124 join AllDRouters MMACHINE 2
2002/07/05 13:54:24 OSPF: Terminating on signal
2002/07/05 16:13:51 OSPF: OSPFd (0.92a) starts
2002/07/05 16:13:51 OSPF: interface XXX.XXX.XX.5 join AllSPFRouters Multicast group.
2
002/07/05 16:13:51 O
SPF: interface YYY.YY.Y.1
join AllSPFRouters Multicast group.
2002/07/05 16:14:31 OSPF: DR-Election[1st]: Backup XXX.XXX.XX.5
2002/07/05 16:14:31 OSPF: DR-Election[1st]: DR XXX.XXX.XX.5
2002/07/05 16:14:31 OSPF: DR-Election[2nd]: Backup 0.0.0.0
2002/07/05 16:14:31 OSPF: DR-Election[2nd]: DR XXX.XXX.XX.5
2002/07/05 16:14:31 OSPF: interface XXX.XXX.XX.5 join AllDRouters Multicast group.
2002/07/05 16:14:31 OSPF: DR-Election[1st]: Backup YYY.YY.Y.1
2002/07/05 16:14:31 OSPF: DR-Election[1st]: DR YYY.YY.Y.1
2002/07/05 16:14:31 OSPF: DR-Election[2nd]: Backup 0.0.0.0
2002/07/05 16:14:31 OSPF: DR-Election[2nd]: DR YYY.YY.Y.1
2002/07/05 16:14:31 OSPF: interface YYY.YY.Y.1 join AllDRouters Multicast group.
And here are the .conf files from both:MACHINE 1 zebra.conf:
!
! Zebra configuration file
!
hostname Router
password zebra
enable password zebra
!
!
interface eth0
!Interface wi
th External Network!ip address XXX.XXX.XX/24
! Inet Add:XXX.XXX.XX.124 Mask:255.255.255.0
!!interface eth1
!Interface to Intrnal Network
!127.0.0.1
!Mask:255.0.0.0
!
log stdout
!
!MACHINE 1 ospfd.conf:
!
! Zebra configuration saved from vty
! 2002/07/03 15:44:54
!
hostname ospfd
password zebra
enable password zebra
log file /usr/local/etc/ospfd.log
log stdout
!
!
!
interface eth0
!
interface eth1
!
interface lo
!
interface tunl0
!
interface gre0
!
router ospf
ospf router-id XXX.XXX.XX.124
passive-interface eth0
network XXX.XXX.XX.0/24 area 0
!
line vty
!MACHINE 2 zebra.conf:
! Zebra Configuration File
!
hostname Router2
password zebra
enable password zebra
!
!
interface eth0
!Interface with External Network
!ip address XXX.XXX.XX.0/24
! Inet Add:XXX.XXX.XX.5 Mask:255.255.25
5.0
!
!inter
face eth1
!Interface to Intrnal Network
!127.0.0.1
!Mask:255.0.0.0
!
log stdout
!
!MACHINE 2 ospfd.conf
!
! Zebra configuration saved from vty
! 2002/07/03 15:41:55
!
hostname ospfd2
password zebra
enable password zebra
log file /usr/local/etc/ospfd2.log
log std
out
!
!
!
interface lo
!
interface eth0
!
interface vmnet1
!
interface vmnet8
!
interface ospfd
!
interface ospfd2
description all
!
router ospf
network YYY.YY.Y.0/24 area 1
network XXX.XXX.XX.0/24 area 0
!
line vty
!I would really appreciate any advice you could offer me.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |