You are on page 1of 5
Lab L 14 —HISRP Sordid: tooph 1G 1726.130/24 172.16.230/24 isn Group (22) 172.16.12.0/24 Pc Minh 14.1 ~ Su do bai Lab witch va PC duge dau ndi voi nhau nh hinh 14.1 © Bai Lab gdm cdc Router, + Trin so dé nay, cie Router RI va R2 dong vai uO la eie gateway eho mang LAN 172.16.12.0224, Hai Router niy cling tham gia mt hom HSRP dé cung cdp co ché dr phong gateway cho cae host thude LAN nay. * Hoc vien sé thye hign edu hinh HSRP én ede Router RL va R2 dé dkip img yeu edu due neu rao ten, Tai figu than Khe ee utng Carscamer Yeu cau: 1. Hoe vién thuc hién dau néi day va dat IP trén cac thiét bi nhu hinh ve. 2. Thuc hign cdu hinh dinh tuyén tinh trén cde Router dim bao moi subnet trén so dd thiy nhau Bén canh dé, thuc hign cdu hinh dé R3 di vé subnet 172.16.12.0/24 theo dung chinh 1a hung RI va dudng theo hung R2 chi ding dé dy phong. 3. Céu hinh HSRP trén hai Router R1 va R2 dé hai Router nay cing tham gia HSRP nhém 1 thyc hign dy phong gateway cho cdc host thuge LAN 172.16.12.0/24. RI dam nhan vai tro Active va R2 dam nhan vai tro Standby. Thye hign: Buée 1: Dau ndi thiét bi va cdu hinh co bin Hoe vien thye hign diu néi day cde thiét bj va thye hign cdu hinh co ban tren cae thict bi theo yeu cau duge chi ra én hinh 14.1 Bure 2: Cau hinh dinh tuyén tinh ere Cau hin! hinh Ri (config) #ip route 172 (config) #ip route vé ‘iu hinh dé R3 di R2 chi dé dur phong: R3 (config) #ip route R3 (config) #ip route Kiém tra: Bang dinh tuyén ciia R1 va R2 di c6 route di dén subnet 172.16.3.0/24 ctia R3: RiWshow ip route static 172.16.0.0/24 is subnetted, 3 subnets 172.16.3.0 [1/0] via 172. R2Wshow ip route static 172.16.0.0/24 is subnetted, 0 {1/0} via 172. R3 sir dung during di qua RI dé di dén subnet 172.16.12.0/24: R3¥show ip route static Tai figu tham Khao ee utng Carscamer RI va R2 di di dén duge subnet 172.16.3.0/24: Ripping 172.16.3.1 | Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.3.1, timeout is 2 seconds: ccess rate is 100 percent (5/5), round-trip min/avg/max = 8/14/24ms R2#ping 172.16.3.1 type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.3.1, timeout is 2 2 seconds: Success rate is 100 percent (5/5), round-trip min/avg/max = 8/15/24ms Bue 3: Cau hinh HSRP Cau hinh: Ri: Ri (config) #interfaee £0/0 Ri (config-if) fstandby 1 ip 172.16.12.254 Rl (config-if)istandby 1 priority 150 Ri (config-if) #standby 1 preempt R2: R2 (config) interface £0/0 R2 (config-if) standby 1 ip 172.16,12.254 R2(config-if) #standby 1 preempt Kiém tra: ‘Trang thai HSRP cia hai Router RI va R2: Rifshow standby brief P indicates configured to preempt. ' Interface Grp Pri Pp State Active Standby Virtual IP Fa0/0 1 150 P Active local 172.16.12.2 272.16.12.254 R2show standby brief P indicates configured to preempt. Interface Grp Pri P State active standby Virtual TP Fa0/0 1100 P Standby 172.16.12.1 local 172.16,12.254 Ket qui show cho thiy RI véi priority eao hon di duge biu chon im Active vi R2 dng vai to Standby. Hai Router théng nhat tgo ra Router do kam default — gateway cho mang LAN véi IP kt 172,16.12.254. PC thy hign tro default — gateway vé IP ctia Router do (hinh 14.2); Tai ligu tham Kho Page 3 ee utng Carscamer Minh 14.2 — Cau hinh IP va de ult ~ gateway tren PC Vai gaten aay nay, PC e6 thé di ra duge mOt dia chi bén ngodi mang LAN: Gipping 172.16.3.1 Pinging 172.16.3.1 with 32 bytes of data Reply from 172.16.3.1: bytes=32 Reply from 172.16.3.1: bytes=32 tine=3ins Reply from 172.16.3.1: bytes=32 tine Reply from 172.16.3.1: b 35m 8232 times2ims Ping statistics for 172. Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), mes in milli-second: Minimum = 2ims, Maximum = 35ms, Average = 29ms Approximate round trip K& qua phan gidi ARP trén PC xuat én clip IP - MAC ctia Router do ci\>azp -a Interface: 172.16.12.3 --- Ox19 Internet Address Physical Address Type 172.16.12.254 00-00-0c-07-ac-01 dynamic 172.16.12.255 Ef-ff-£f-ff-£f-£f static 224.0.0.2 1-00-5e-00-00-02 static 224.0.0.22 01-00-5e-00-00-16 static 224.0.0.252 01-00-5e-00-00-fc static 239.255.255.250 01-00-Se-7£-£f-fa static 255.255.255.255 ff-ff-fe-f-fe-ff static Thue hign shutdown hai céng FO/O va FO/1 cita RI dé gid Kip tinh hudng R1 down: (config) #interface £0/0 config-if) #shutdown Bl (config) #interface £0/1 Rl |config-if) shutdown Lic niy, R2 chuyén sang trang thai Active va tre thanh Router chuyén dit | gu ra ngoai cho LAN 172.16.12.0/24: RaWshow standby brief P ' Grp Pri P Sta 1 ndicates configured to preempt. Active Standby 100 P Active local unknown virtual IP 172.16.12.254 Tai figu ham kha 7 7 Page 4 ee utr casa 3 cling d3 chuyén route di dén mang 172.16.12.0/24 theo hudng R2 khi RI down: [iitenow ip route stati [es 3 PC vin c6 thé di ra bén ngoai dé di dén subnet 172.16.3.0/2 [enoping 177.26.3 hinh day daz RI: Tp route 172.16.3.0 72.16.13.1 5 72.16.23.2 10 Tai fu tham Khoo ee utng Carscamer

You might also like