11-13-2019 06:27 AM
I have a setup of R1 -- R2. I configured the OSPF network type as broadcast in R1 and P2P in R2.
I still see the neighbourship comes up. Will the network type is not checked in the initial hello message?
If so, what are the consequences of keeping different network types in OSPF links?. Thanks for your feedback
11-13-2019 06:48 AM
Hello,
Look this good article:https://packetlife.net/blog/2008/jun/19/ospf-network-types/
In shot words.
P2P: do not scale well, if your network interface is /24 it will be propagated as /32
BROADCAST: will use multicast to neighbor statement and scale very well.
11-13-2019 08:08 AM
For the adjacency to be successful, the hello and dead timer must be the same.
In the types of OSPF that you set these parameters are the same, so you have adjacency.
The other OSPF types these parameters are not equal, so you would not have adjacency.
Check those indicated in this link:
Regards
11-13-2019 08:35 AM - edited 11-13-2019 08:35 AM
Hello timer and dead timer in point-to-point and broadcast are the same.. in this case he will have adjacency.. but the difference as i said.. point-to-point will show in routing table a route /32 :)
11-13-2019 06:51 PM
11-13-2019 09:33 PM - edited 11-13-2019 09:42 PM
Hello Ramprasanthibe,
in my experience:
a network type mismatch between broadcast and P2P can cause routing problems.
The broadcast side would like to elect a DR /BDR and will wait up to wait time 40 seconds to do that.
After that the R1 broadcast side will start to send OSPF hellos every 10 seconds stating:
DR = my own OSPF RID example 10.1.1.1.1
BDR= 0.0.0.0 ! means unknown
neighbor seen : R2 LAN IP address
The two devices can reach the two way status ( I see your IP address in respective hello messages), but they cannot reach full adjacency:
R1 will create an LSA type 2 with LSA id = R1's LAN interface to R2 with an emptly list of neighbors
R1 will create its own Router LSA for the area the link is in.
R2 will only create a Router LSA for the area the common link is in.
R1 expects to receive updates on ALLOSPFDR 224.0.0.6
R2 uses only allospf routers on link 224.0.0.5
on point to point links we see in show ip ospf neighbor
FULL/-
on broadcast links possible cases are:
the device is not a DR/BDR:
FULL/DR
FULL/BDR
two way
two way
.......
###############################
For a DR/BDR the show ip ospf neigh will tell:
FULL/BDR
FULL/DROTHER
FULL/DROTHER
.....
the use of point to point OSPF network type (both ends) started in service provider networks for single dedicated high speed links to avoid creation of un necessary L2 network type.
As a further step for IPv4 p2p links the right to use /31 subnets has been added.
The Choice of the DR and BDR in a broadcast environment must be careful and you need to play with OSPF priority to avoid to have the same devices elected as DR/BDR for their highest OSPF RID.
Another way to say resources on user facing Vlans/subnets is to use
router ospf 10
passive-interface Vlan50
passive-interface gi5/2
......
Where Vlan50 is the SVI of a multilayer switch.
Edit:
For access multilayer switches :
the passive-interface default can be used
an NSSA area can be used for each site a L3 or L2 port channel can be used between the multilayer switches.
uplinks are in area 0.0.0.0 of course
Hope to help
Giuseppe
11-14-2019 02:54 AM
Hello, @ramprasanthbe
as i said, adjacency will be form without issue. Like exemple below;
and routes will be available on both routers
but it is not common in environments.
Regards,
03-31-2025 02:14 AM - edited 03-31-2025 03:06 AM
Yes the neighbor adjacencies do form , OPSF do exchange LSA's but it wont run SPF and wont install the route into the routing table.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide