In OSPF, routers have to become neighbors first before exchanging link- state advertisements (LSA).After configuring OSPF on routers it will start sending hello packets to each other.The Hello packets also serve as keepalives to allow routers to quickly discover if a neighbor is down. Hello packets also contain a neighbor field that lists the Router IDs of all neighbors the router is connected to.
OSPF routers will only become neighbors if the following parameters within a Hello packet are identical on each router:
- Area ID
- Subnet Mask
- Hello Interval
- Dead Interval
- Authentication
STUB flag should match for OSPF routers to become neighbors.
ReplyDeleteMTU as well
ReplyDeleteSubnet mask? Can you elaborate this part please?
ReplyDeleteBoth interfaces should have same subnet mask
DeleteHi Shabeer,
ReplyDeleteyour Blog is simply superb and sharing knowledge for the the people is very good.and all the best for ur future.
Thanks,