EIGRP Routing with MD5 Authentication Between Routers
Configuration R1:
enable
configure terminal
hostname R1
!
key chain tphcm
key 1
key-string Pham
accept-lifetime 17:0:0 Jul 25 2018 17:0:0 Jul 25 2018
!
interface FastEthernet0/1
ip address 172.16.10.1 255.255.255.0
no shutdown
!
interface Serial0/0
ip address 172.16.20.1 255.255.255.0
ip authentication mode eigrp 100 md5
ip authentication key-chain eigrp 100 tphcm
no shutdown
exit
!
router eigrp 100
network 172.16.0.0
no auto-summary
passive-interface f0/1
!
end
write memory
!
Configuration R2:
enable
configure terminal
hostname R2
!
key chain HN
key 1
key-string Pham
accept-lifetime 17:0:0 Jul 25 2018 17:0:0 Jul 25 2018
exit
exit
!
interface FastEthernet0/1
ip address 172.16.30.1 255.255.255.0
no shutdown
!
interface Serial0/0
ip address 209.165.100.2 255.255.255.252
no shutdown
!
interface Serial0/1
ip address 172.16.20.2 255.255.255.0
ip authentication mode eigrp 100 md5
ip authentication key-chain eigrp 100 HN
clock rate 64000
no shutdown
exit
!
router eigrp 100
network 172.16.0.0
no auto-summary
redistribute static
passive-interface f0/1
passive-interface s0/0
!
ip route 0.0.0.0 0.0.0.0 Serial0/0
!
end
write memory
!
Configuration ISP:
enable
configure terminal
hostname ISP
!
interface Serial0/0
ip address 209.165.100.1 255.255.255.252
clock rate 2000000
no shutdown
!
ip route 172.16.0.0 255.255.0.0 209.165.100.2
end
write memory
!
Nhận xét
Đăng nhận xét