Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

OSPF configuration

Here is a sample net diagram-

R3 (s1/0) - R5 (s1/0) - R4 (s1/0)

----------- R5 (e0/1) - R4 (e0/0)

I have Frame Relay running using the serial connections in R3, R5, and R4 and OSPF is enabled with AS 0.

I also have a Ethernet connection between R4 and R5 that configured with OSPF AS 45.

OSPF is working just fine thru the serial connections on top of Frame Relay. For the Ethernet connections I am using OSPF Non-broadcast and only works when I specify from R4 "neighbor (R5's e0/1 ip address) (that I found in a sample configuration). My question is what is the purpose of the Neighbor command in OSPF?

Thank you.

1 REPLY
Hall of Fame Super Silver

Re: OSPF configuration

The neighbor command is used in OSPF in nonbroadcast environments. In a nonbroadcast environment OSPF can not be sure that its HELLO packets will discover neighbors (since HELLO packets are multicast and multicast may not work in nonbroadcast environments). So if you tell OSPF that a certain interface is non-broadcast then OSPF does not depend on multicast HELLO to discover neighbors and does depend on you to manually configure the neighbor relationship.

I am not clear why you configure the Ethernet (clearly a broadcast media) as non-broadcast. But when you do configure this then the neighbor command is needed.

HTH

Rick

100
Views
5
Helpful
1
Replies
CreatePlease login to create content