Các tác vụ yêu cầu như sau: Xin được giữ nguyên bản tiếng Anh source IPExpert 1 Enable HSRP support on R6 and R7... 2 Ensure that R6 is the active HSRP router, If R6 fails, part of HSRP,
Trang 1Mô hình
Trong bài lab này, chỉ cần thực hiện cho R6 và R7 Các routers khác không cần quan tâm Các tác vụ yêu cầu như sau:
Xin được giữ nguyên bản tiếng Anh (source IPExpert)
1) Enable HSRP support on R6 and R7 A virtual IP address of 150.50.7.10 should be used The virtual mac-address should be 0001.0023.0456
Trang 22) Ensure that R6 is the active HSRP router, If R6 fails, part of HSRP, R7 should take over as the active HSRP router When R6 comes back and is available to be the active router again, it should take this responsibility over from R7 after 60 seconds
3) R6 and R7 should exchange hello packets every 20 seconds and they should wait for
60 seconds before declaring a router down
4) If the serial interface on R6 goes down, R7 should become the active router Don't change the router priority on R7
5) Configure R6 and R7 to use authentication string of packattack for HSRP
authentication
6) Configure HSRP support on the Ethernet interface of R5, R6, and R7 with a virtual IP address of 150.50.64.10 R5, R6, and R7 can use IP addresses on their Ethernet interfaces
of 150.50.64 with a mask of /24, but this should not replace the current IP addressing on the 150.50.7.0/25 network The existing HSRP group that was configured in steps 1-5 should be maintained Do not use VLANs
7) Ensure that R6 will only be the active router if both R5 and R7 fail R5 should be the active router in normal network operations
8) If R5 were to fail and R7 became the active router, when R5 came back up it should immediately become the active router again
Sơ đồ địa chỉ của các routers như sau:
Router 6
Ethernet 1/0 150.50.7.6 /25
Router 7:
Ethernet 1/0 150.50.7.7 /25
Khi dùng HSRP, có thể có nhiều nhóm trên cùng một interface Hãy dùng lệnh show standby để xem các thông số của protocol HSRP Độ ưu tiên mặc định của HSRP là 100 Router có độ ưu tiên cao hơn sẽ chiếm vai trò active
Config listing:
Router 6:
hostname r6
ip tcp synwait-time 5
no ip domain-lookup
interface Ethernet1/0
ip address 150.50.64.6 255.255.255.0 secondary
Trang 3ip address 150.50.7.6 255.255.255.128
no ip redirects
standby 1 timers 20 60
standby 1 priority 255 preempt delay 60
standby 1 authentication packatta
standby 1 mac-address 0001.0023.0456
standby 1 ip 150.50.7.10
standby 1 track Se1/0 156
standby 2 ip 150.50.64.10
!
interface Serial1/0
ip address 150.50.100.6 255.255.255.224
encapsulation frame-relay
frame-relay lmi-type cisco
Router 5:
hostname r5
interface Ethernet0
ip address 150.50.64.5 255.255.255.0 secondary
ip address 150.50.7.5 255.255.255.128
no ip redirects
standby 2 priority 255 preempt
standby 2 ip 150.50.64.10
!
interface Serial0
ip address 150.50.100.5 255.255.255.224
encapsulation frame-relay
Router 7:
hostname r7
ip tcp synwait-time 5
no ip domain-lookup
interface Loopback0
ip address 200.0.0.7 255.255.255.255
!
interface Ethernet1/0
ip address 150.50.64.7 255.255.255.0 secondary
ip address 150.50.7.7 255.255.255.128
no ip redirects
standby 1 timers 20 60
standby 1 priority 100 preempt
standby 1 authentication packatta
standby 1 mac-address 0001.0023.0456
standby 1 ip 150.50.7.10
standby 2 ip 150.50.64.10
Trang 4interface Serial1/0
ip address 150.50.5.68 255.255.255.224
no fair-queue