cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
322
Views
5
Helpful
2
Replies

OSPF neighbors

visitor68
Level 5
Level 5

Folks - quick question...

scenario: L3 switches

Sw1----Sw2---Sw3---Sw4

All interfaces are on a /29

OSPF running..

Should sw1 establish a neighborship (if not an adjacency) with sw4?

My thought is yes...

Thanks

1 Accepted Solution

Accepted Solutions

Rolf Fischer
Level 9
Level 9

Hi,

not sure if i understand the scenario correctly.

If all switches have SVIs in a common /29 subnet and you enable OSPF (non-passive) for that subnet, they should all become neighbors. If you don't enable OSPF on Sw2/Sw3, Sw1 and Sw4 will become neighbors anyway when layer-2 communication is possible end-to-end via the corresponding VLAN.

With the default network type (broadcast), after DR/BDR election every switch will establish an adjacency with the DR and BDR, whereas DROthers among each other won't (2-way state).

In your physical topology the switches are connected in a point-to-point manner, however, a key characteristic of Ethernet is that all stations can communicate directly to each other on the same segement, so logically it acts like a full mesh. The OSPF network types Broadcast and NBMA heavily rely on this capability.

Does that answer your question?

Rolf

View solution in original post

2 Replies 2

Rolf Fischer
Level 9
Level 9

Hi,

not sure if i understand the scenario correctly.

If all switches have SVIs in a common /29 subnet and you enable OSPF (non-passive) for that subnet, they should all become neighbors. If you don't enable OSPF on Sw2/Sw3, Sw1 and Sw4 will become neighbors anyway when layer-2 communication is possible end-to-end via the corresponding VLAN.

With the default network type (broadcast), after DR/BDR election every switch will establish an adjacency with the DR and BDR, whereas DROthers among each other won't (2-way state).

In your physical topology the switches are connected in a point-to-point manner, however, a key characteristic of Ethernet is that all stations can communicate directly to each other on the same segement, so logically it acts like a full mesh. The OSPF network types Broadcast and NBMA heavily rely on this capability.

Does that answer your question?

Rolf

Yes, your answers are inline with my thoughts...just wanted a sanity check...could have labbed it up, but the day has been insanely busy....thanks

Review Cisco Networking for a $25 gift card