10-23-2015 12:02 PM - edited 03-05-2019 02:34 AM
I replaced 5 point to point T1s with a single Metro Ethernet WAN which has five endpoints and I use OSPF.
I'd like to understand the best way to limit unnecessary neighbor adjacencies between my routers. Most sites only need to see one or two other sites with the exception of one office which needs to see four sites. So there are several adjacencies which will never ever have any traffic between them and do not need to exchange routes.
Solved! Go to Solution.
10-23-2015 12:39 PM
Hello
When using broadcast media such as ethernet you can accomplish your request by to manaually setting ospf to use unicast ajacencies instread of the default broadcast, this way you have control over the ospf peering.
In this example OSPF non Broadcast ( which require DR/BDR)
R1 (Central router)
int x/x
ip address x.x.x.x y.y.y.y
ip ospf network non-broadcast
ip ospf priority 100 (DR)
router ospf x
network x.x.x.x 0.0.0.0 area X
neighbor x.x.x..x ( R2)
neighbor x.x.x..x ( R3)
R2 (spoke)
int x/x
ip address x.x.x.x y.y.y.y
ip ospf network non-broadcast
ip ospf priority 0 (DROTHER)
router ospf x
network x.x.x.x 0.0.0.0 area X
R3 (spoke)
int x/x
ip address x.x.x.x y.y.y.y
ip ospf network non-broadcast
ip ospf priority 0 (DROTHER)
router ospf x
network x.x.x.x 0.0.0.0 area X
etc...
res
Paul
10-23-2015 12:39 PM
Hello
When using broadcast media such as ethernet you can accomplish your request by to manaually setting ospf to use unicast ajacencies instread of the default broadcast, this way you have control over the ospf peering.
In this example OSPF non Broadcast ( which require DR/BDR)
R1 (Central router)
int x/x
ip address x.x.x.x y.y.y.y
ip ospf network non-broadcast
ip ospf priority 100 (DR)
router ospf x
network x.x.x.x 0.0.0.0 area X
neighbor x.x.x..x ( R2)
neighbor x.x.x..x ( R3)
R2 (spoke)
int x/x
ip address x.x.x.x y.y.y.y
ip ospf network non-broadcast
ip ospf priority 0 (DROTHER)
router ospf x
network x.x.x.x 0.0.0.0 area X
R3 (spoke)
int x/x
ip address x.x.x.x y.y.y.y
ip ospf network non-broadcast
ip ospf priority 0 (DROTHER)
router ospf x
network x.x.x.x 0.0.0.0 area X
etc...
res
Paul
10-23-2015 12:49 PM
Thank you Paul.That is what I needed to know.
10-24-2015 01:29 AM
Hello
Yes you can, And in fact a router can be a differant DR/BDR/Drother for each peering
The OSPF non broadcast example above was mainly on the understanding you are using just one broadcast physical link to connect to all other rtrs and to avoid unecessary peering we can negate the multicast nature of OSPF
However if you have multiple physical links to all rtrs then OSPF point-2-point would be beneficial also
res
Paul
10-26-2015 06:48 AM
I should have been more clear but the spokes and triangle I referred to were not of connectivity but neighbor-ship. So in that regard, using a single metro ethernet, I have a hub with four spokes and two of the spoke ends need a neighbor-ship with each other.
10-23-2015 01:27 PM
Paul,
In the case where two of the spokes sites form a triangle with the central router, do neighbor statements get added on one or both of those routers too?
Mike
11-03-2015 11:07 AM
Hi Paul,
Can the neighbor command be used on the spokes pointing at the hub instead? We have standard spoke configs which would make it easier to do it the other way around when a spoke is added.
Thank you,
Mark
11-04-2015 12:49 PM
Hello
Sorry I missed your additional question,
in theory they can- However for that to happen the spokes need to be DR/BDRs
Something you really don't won't them be in a hub spoke NBMA using broadcast links
res
Paul
02-15-2019 11:19 AM
I managed to make this work well, so just sharing my results/config! I was having some problems when neighbors both not defined on hub and spoke sides. and I inserted two neighbor IP's, one for the ospf router-ID (loopback) and one for the local broadcast subnet IP. it seemed to be randomly failing without both neighbors defined. I should note, that in my case, there ended up being just a DROTHER and not DR/BDR:
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: