解析EIGRP浮動匯總路由配置
EIGRP協(xié)議在路由計(jì)算中要對網(wǎng)絡(luò)帶寬、網(wǎng)絡(luò)時(shí)延、信道占用率和信道可信度等因素作全面的綜合考慮,所以EIGRP的路由計(jì)算更為準(zhǔn)確,更能反映網(wǎng)絡(luò)的實(shí)際情況,下面跟小編看一下EIGRP浮動匯總路由配置過程。
EIGRP浮動匯總路由配置過程如下:
EIGRP浮動匯總路由配置之拓?fù)鋱D
實(shí)例解析EIGRP浮動匯總路由配置
EIGRP浮動匯總路由配置之接口連接
Router1 S0/0 <----> Router2 S0/0
Router2 S0/1 <----> Router3 S0/0
Router1 S0/1 <----> Router4 S0/0
Router3 S0/1 <----> Router4 S0/1
VPCS V0/1 <----> Router1 E1/0
VPCS V0/2 <----> Router3 E1/0
EIGRP浮動匯總路由配置之原理
在R1\R2\R3\R4上均運(yùn)行EIGRP路由協(xié)議。R4通過S0/1向R3通告一條0.0.0.0 0.0.0.0的匯總路由,并將這條浮動路由的管理距離設(shè)置為250,于是在網(wǎng)絡(luò)連通的情況下R3上到達(dá)200.1.1.0/24網(wǎng)段的路由經(jīng)過R2,而在R2與R3鏈路故障的時(shí)候,通過R3前往200.1.1.0/24的'數(shù)據(jù)包會通過R4(R3拓?fù)浔碇,默認(rèn)路由由A變?yōu)镻)
EIGRP浮動匯總路由配置之關(guān)鍵配置
R1:
interface Serial0/0
ip address 192.168.1.1 255.255.255.0
serial restart-delay 0
!
interface Serial0/1
ip address 192.168.3.1 255.255.255.0
serial restart-delay 0
!
interface Ethernet1/0
ip address 200.1.1.254 255.255.255.0
half-duplex
!
router eigrp 100
network 192.168.1.0
network 192.168.3.0
network 200.1.1.0
no auto-summary
R2、R3略,參照R1進(jìn)行接口IP和路由協(xié)議的配置,重點(diǎn)看下R4的配置
R4:
interface Serial0/0
ip address 192.168.3.2 255.255.255.0
serial restart-delay 0
!
interface Serial0/1
ip address 192.168.4.1 255.255.255.0
ip summary-address eigrp 100 0.0.0.0 0.0.0.0 250(向R3通過默認(rèn)路由,管理距離高于EIGRP默認(rèn)值)!
router eigrp 100
network 192.168.3.0
network 192.168.4.0
auto-summary
EIGRP浮動匯總路由配置之查看結(jié)果
1.R2和R3之間鏈路正常時(shí)
a) R3的路由表:
R3#sh 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
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 192.168.4.1 to network 0.0.0.0
D 200.1.1.0/24 [90/2707456] via 192.168.2.1, 00:00:02, Serial0/0
C 200.1.2.0/24 is directly connected, Ethernet1/0
C 192.168.4.0/24 is directly connected, Serial0/1
D 192.168.1.0/24 [90/2681856] via 192.168.2.1, 00:00:02, Serial0/0
C 192.168.2.0/24 is directly connected, Serial0/0
D 192.168.3.0/24 [90/3193856] via 192.168.2.1, 00:00:02, Serial0/0
D* 0.0.0.0/0 [90/2681856] via 192.168.4.1, 00:00:00, Serial0/1
b)R3的拓?fù)浔恚?/strong>
R3#sh ip eigrp topology
IP-EIGRP Topology Table for AS(100)/ID(200.1.2.254)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status
A 0.0.0.0/0, 1 successors, FD is Inaccessible
1 replies, active 00:00:00, query-origin: Successor Origin
Remaining replies:
via 192.168.2.1, r, Serial0/0
P 192.168.1.0/24, 1 successors, FD is 2681856
via 192.168.2.1 (2681856/2169856), Serial0/0
P 192.168.2.0/24, 1 successors, FD is 2169856
via Connected, Serial0/0
P 192.168.3.0/24, 1 successors, FD is 3193856
via 192.168.2.1 (3193856/2681856), Serial0/0
P 192.168.4.0/24, 1 successors, FD is 2169856
via Connected, Serial0/1
P 200.1.1.0/24, 1 successors, FD is 2707456
via 192.168.2.1 (2707456/2195456), Serial0/0
P 200.1.2.0/24, 1 successors, FD is 281600
via Connected, Ethernet1/0
2.R2的S0/1設(shè)置為DOWN,觀察R3路由表和拓?fù)浔?/p>
a)R3路由表:
R3#sh 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
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 192.168.4.1 to network 0.0.0.0
C 200.1.2.0/24 is directly connected, Ethernet1/0
C 192.168.4.0/24 is directly connected, Serial0/1
C 192.168.2.0/24 is directly connected, Serial0/0
D* 0.0.0.0/0 [90/2681856] via 192.168.4.1, 00:00:05, Serial0/1
b)R3的拓?fù)浔恚?/strong>
R3#sh ip eigrp topology
IP-EIGRP Topology Table for AS(100)/ID(200.1.2.254)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status
P 0.0.0.0/0, 1 successors, FD is 2681856
via 192.168.4.1 (2681856/2169856), Serial0/1
P 192.168.4.0/24, 1 successors, FD is 2169856
via Connected, Serial0/1
P 200.1.2.0/24, 1 successors, FD is 281600
via Connected, Ethernet1/0
【解析EIGRP浮動匯總路由配置】相關(guān)文章:
EIGRP帶寬實(shí)例配置11-13
EIGRP帶寬實(shí)例配置詳解05-10
cisco路由器voip配置解析201611-13
正確配置路由05-05
思科路由器voip配置最新解析09-15
解析驗(yàn)證EIGRP STUB區(qū)域05-10
解析路由器CE1/PRI接口配置命令05-09