Wednesday, February 08, 2006

 

Trouble with OSPF neighbors. (Question #7)

Consider two routers directly connected to each other using their serial interfaces. The routing protocol being run on the two routers is OSPF. Given the relevant config below for the two routers, can you determine why the two routers are not successfully becoming OSPF neighbors? Note that the interfaces are up and can ping each other.

Router #1

interface Serial0
ip address 20.20.20.1 255.255.255.0
encapsulation frame-relay
no keepalive
frame-relay interface-dlci 901
!
router ospf 100
log-adjacency-changes
network 20.20.20.1 0.0.0.0 area 0


Router #2

interface Serial0
ip address 20.20.20.2 255.255.255.0
encapsulation frame-relay
no keepalive
frame-relay interface-dlci 801
!
router ospf 100
log-adjacency-changes
network 20.20.20.2 0.0.0.0 area 0

Comments:
Yes, there are a couple of ways of getting the neighbors to see each other. Your explanation is correct and using the command
"ip ospf network point-to-point"
does bring the neighbors up.

The other way of bringing the neighbors up is to configure the neighbors explicitly with the neighbor command, like
"neighbor 20.20.20.1 priority 1" for instance.
 
Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?