Académique Documents
Professionnel Documents
Culture Documents
Requirements to become
neighbor
1.Primary IP of interface must be
in same subnet
2.Must be in same area
3.Hello interval and Dead interval
must be same
4.IP MTU must match
5.Router ID must be unique
6.Interface must not be passive
Two ospf routers become neighbor
with the help of hello packet hello
packet are sent on specific
Interval. There is different interval
for different network types.
Broadcast network = 10 sec
Point to point = 10 sec
Point to multipoint = 30 sec
NBMA = 30 sec
Point to point non broadcast = 30
sec
Data in hello packets
OSPF router ID
Stub area flag
Hello interval DR IP address
Dead interval
BDR IP
Subnet mask
address
List of
neighbors
Authentication
Area ID
digest
Router
proprietary
How neighborship performed
RID=1.1.1.1 RID 2.2.2.2
R2
R1
Type1 = default no
authentication
Type2 = clear text authentication
Type3 = MD5 authentication
Simple authentication
(config)#router ospf 3
(config-if)#area 0 authentication
(Config)#int f0/0
(config-if)#ip ospf
authentication-key cisco
MD5 authentication
(config)#router ospf 3
(config-if)#area 0 authentication
message-digest
(Config)#int f0/0
(config-if)#ip ospf message-
digest-key 1 md5
cisco1