【正文】
R1(config)router eigrp 110R1(configrouter)variance 20定義variance的值與Successors的FD的乘積大于Feasible Successor的FD時,就能實現(xiàn)EIGRP在不等成本的負載均衡R1(configrouter)endR1show ip route Codes: C connected, S static, R RIP, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area N1 OSPF NSSA external type 1, N2 OSPF NSSA external type 2 E1 OSPF external type 1, E2 OSPF external type 2 i ISIS, su ISIS summary, L1 ISIS level1, L2 ISIS level2 ia ISIS inter area, * candidate default, U peruser static route o ODR, P periodic downloaded static routeGateway of last resort is not set , 5 subnetsD [90/7292416] via , 00:00:03, Serial1/0 [90/27260416] via , 00:00:03, Serial1/,實現(xiàn)了不等價負載均衡 動態(tài)路由協(xié)議單域OSPF配置實驗目的:1. 理解動態(tài)路由協(xié)議OSPF的內容; 2. 理解OSPF等鏈路狀態(tài)協(xié)議的算法處理過程; 3. 掌握OSPF的基本配置,并與距離失量協(xié)議的配置過程相比較; 4. 掌握DR和BDR,手動配置DR、BDR。R1 show ip route查看路由表 Codes: C connected, S static, I IGRP, R RIP表示通過RIP協(xié)議學到路由, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, * candidate default U peruser static route Gateway of last resort is not set C , Ethernet0 C , Serial0 R [120/1] via , 00:01:37, Serial0R是R1從本地端口Serial0學到的RIP路由,建立時間長度為01:37,管理距離為120,跳數(shù)為1 R [120/1] via , 00:07:21, Serial0 R [120/2] via , 00:05:21, Serial0 R2 show ip route Codes: C connected, S static, I IGRP, R RIP, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, * candidate default U peruser static route Gateway of last resort is not set C , Serial1 C , Ethernet0 C , Serial0 R [120/1] via , 00:09:13, Serial1 R [120/1] via , 00:09:13, Serial0 R3 show ip route Codes: C connected, S static, I IGRP, R RIP, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, * candidate default U peruser static route Gateway of last resort is not set C , Serial1 C , Ethernet0 R [120/1] via , 00:05:32, Serial1 R [120/1] via , 00:08:19, Serial1 R [120/1] via , 00:05:32, Serial1 4. PC 上的配置: PC1: 網(wǎng)關: PC2: 網(wǎng)關: PC3: 網(wǎng)關: 5. 測試: R1 R1 ping Protocol [ip]: Target IP address: Repeat count [5]: Datagram size [100]: Timeout in seconds [2]: Extended mands [n]: Type escape sequence to abort. Sending 5, 100byte ICMP Echos to , timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), roundtrip min/avg/max = 1/2/4 ms 動態(tài)路由協(xié)議EIGRP實驗目的: 1. 理解動態(tài)路由協(xié)議EIGRP的內容; 2. 試比較EIGRP與IGRP協(xié)議; 3. 掌握EIGRP的基本配置,并理解其作用; 4. 試比較EIGRP與其它動態(tài)協(xié)議;5. 了解混合路由選擇協(xié)議的工作原理,使用的度量值;6. 了解EIGRP協(xié)議的優(yōu)點實驗拓撲如下:三、實驗過程:1. R1上的配置:RouterRouteren Routerconf t Router(config)host R1 R1(config)int e0 R1(configif)ip add R1(configif)no shutdown R1(configif)exit R1(config)int s0 R1(configif)ip add R1(configif)clock rate 56000 R1(configif)no shutdown R1(configif)exit R1(config)int s1 R1(configif)ip add R1(configif)clock rate 56000 R1(configif)no shutdown R1(configif)end2. R2上的配置:RouterRouteren Routerconf t Router(config)host R2 R2(config)int e0 R2(configif)ip add R2(configif)no shutdown R2(configif)exit R2(config)int s0 R2(configif)ip add R2(configif)no shutdown R2(configif)exit R2(config)int s1 R2(configif)ip add R2(configif)no shutdown R2(configif)exit 3. R3上的配置: RouterRouteren Routerconf t Router(config)int s0 Router(configif)ip add Router(configif)no shutdown Router(configif)exit Router(config)int s1 Router(configif)ip add Router(configif)clock rate 56000 Router(configif)no shutdown Router(configif)exit Router(config)int e0 Router(configif)ip add Router(configif)no shutdown Router(configif)exit Router(config)host R3 R3(config) R3(config)router eigrp 100EIGRP路由配置模式,自治系統(tǒng)號為100 R3(configrouter)net R3(configrouter)net R3(configrouter)net R3(configrouter)endEIGRP協(xié)議啟用前的路由表 R1 show ip route Codes: C connected, S static, I IGRP, R RIP, M mobile, B BGP D EIGRP通過EIGRP學習到的路由, EX EIGRP external, O OSPF, IA OSPF inter area E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, * candidate default U peruser static route Gateway of last resort is not set C , Ethernet0 C , Serial0 C , Serial1 R1(config) router eigrp 110 R1(configrouter)network R1(configrouter)network R1(configrouter)network R1(configrouter)end EIGRP協(xié)議啟用后的路由表R1 show ip routeCodes: C connected, S static, I IGRP, R RIP, M mobile, B BGPD EIGRP, EX EIGRP external, O OSPF, IA OSPF inter areaE1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, * candidate default U peruser static route Gateway of last resort is not set C , Ethernet0直連的路由 C , Serial0 C , Serial1 D [90/63251] via , 00:01:37, Serial0D為從R2學到的EIGRP路由,管理距離為90,metric位63251 D [90/63251] via , 00:07:21, Serial0 D [90/65321] via , 00:05:21, Serial0 R2 show ip route Codes: C connected, S static, I IGRP, R RIP, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, * candidate default U peruser stati