Pages

Saturday, September 14, 2013

OSPF Authentication

R1 Configuration !!!!!

R1#
R2#configure terminal
R1(config)#interface GigabitEthernet 0/0
R1(config-if)#ip address 192.168.0.254 255.255.255.0
R1(config-if)#no shutdown


R1(config-if)#do write me
R1(config-if)#exit

R1(config)#interface Serial 1/0
R1(config-if)#ip address 10.10.10.21 255.255.255.252
R1(config-if)#no shutdown
R1(config-if)#do write me
R1(config-if)#exit


R1(config)#router ospf 100
R1(config-router)#network 10.10.10.20 0.0.0.3 area 0
R1(config-router)#network 192.168.0.0 0.0.0.255 area 0
R1(config-router)#do write me
R1(config-rotuer)#exit


R2 Configuration !!!!!!

R2#
R2#configure terminal
R2(config)#interface GigerbitEthernet0/0
R2(config-if)#ip address 192.168.1.254 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#do write me
R2(config-if)#exit

R2(config)#interface Serial 0/0
R2(config-if)#ip address 10.10.10.22 255.255.255.252
R2(config-if)#no shutdown
R2(config-if)#do write me
R2(config-if)#exit

R2(config)#router ospf 100
R2(config-router)#network 192.168.1.0 0.0.0.255 area 0
R2(config-router)#network 10.10.10.20 0.0.0.3 area 0

R2(config-router)#do write me
R2(config-router)#exit






Configuration Authentication !!!!!!

R1 Configuration !!!!

R1(config)#interface Serial 1/0
R1(config-if)#ip ospf authentication
R1(config-if)#ip ospf authentication-key 123


R2 Configuration !!!!

R2(config)#interface Serial 1/0
R2(config-if)#ip ospf authentication
R2(config-if)#ip ospf authentication-key 123



No comments:

Post a Comment

Thanks