码迷,mamicode.com
首页 > 其他好文 > 详细

EIGRP冗余

时间:2018-03-26 21:33:12      阅读:185      评论:0      收藏:0      [点我收藏+]

标签:EIGRP冗余

技术分享图片
R1为ISP。R3负责A,B去往外网的通信,B,D内网通信。R4负责C,D去外网的通信,A,C内网的通信。R3 down,B,D不能通信,R4 down,A,C依旧照常通信。(注意,EIGRP一定要精确宣告,R5,6一定要宣告连接电脑主机的接口,来回路径一定要一致)
结果
A#traceroute 10.3.1.2
Type escape sequence to abort.
Tracing the route to 10.3.1.2
VRF info: (vrf in name/id, vrf out name/id)
1 10.2.1.1 6 msec 2 msec 1 msec
2 10.1.45.4 1 msec 5 msec 6 msec
3 10.1.46.6 1 msec 1 msec 1 msec
4 10.3.1.2 1 msec 2 msec
C#traceroute 10.2.1.2
Type escape sequence to abort.
Tracing the route to 10.2.1.2
VRF info: (vrf in name/id, vrf out name/id)
1 10.3.1.1 2 msec 1 msec 0 msec
2 10.1.46.4 1 msec 5 msec 2 msec
3 10.1.45.5 6 msec 1 msec 1 msec
4 10.2.1.2 1 msec
2 msec
B#traceroute 10.3.2.2
Type escape sequence to abort.
Tracing the route to 10.3.2.2
VRF info: (vrf in name/id, vrf out name/id)
1 10.2.2.1 1 msec 0 msec 1 msec
2 10.1.35.3 1 msec 1 msec 1 msec
3 10.1.36.6 1 msec 1 msec 1 msec
4 10.3.2.2 1 msec 2 msec
D#traceroute 10.2.2.100
Type escape sequence to abort.
Tracing the route to 10.2.2.100
VRF info: (vrf in name/id, vrf out name/id)
1 10.3.2.1 6 msec 1 msec 0 msec
2 10.1.36.3 1 msec 1 msec 1 msec
3 10.1.35.5 2 msec 1 msec 2 msec
4 10.2.2.100 1 msec
2 msec

R5#show ip route
Codes: L - local, 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 - 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, H - NHRP, l - LISP

    • replicated route, % - next hop override

Gateway of last resort is 10.1.35.3 to network 0.0.0.0

D*EX 0.0.0.0/0 [170/332800] via 10.1.35.3, 00:00:29, Ethernet0/1
10.0.0.0/8 is variably subnetted, 20 subnets, 2 masks
D 10.1.12.0/24 [90/332800] via 10.1.35.3, 00:00:29, Ethernet0/1
D 10.1.23.0/24 [90/307200] via 10.1.35.3, 00:00:29, Ethernet0/1
D 10.1.24.0/24 [90/332800] via 10.1.45.4, 00:00:29, Ethernet0/2
[90/332800] via 10.1.35.3, 00:00:29, Ethernet0/1
C 10.1.35.0/24 is directly connected, Ethernet0/1
L 10.1.35.5/32 is directly connected, Ethernet0/1
D 10.1.36.0/24 [90/332800] via 10.1.35.3, 00:01:18, Ethernet0/1
C 10.1.45.0/24 is directly connected, Ethernet0/2
L 10.1.45.5/32 is directly connected, Ethernet0/2
D 10.1.46.0/24 [90/332800] via 10.1.45.4, 00:01:18, Ethernet0/2
C 10.2.1.0/24 is directly connected, Ethernet0/3
L 10.2.1.1/32 is directly connected, Ethernet0/3
C 10.2.2.0/24 is directly connected, Ethernet0/0
L 10.2.2.1/32 is directly connected, Ethernet0/0
D 10.2.2.2/32 [90/435200] via 10.1.35.3, 00:00:29, Ethernet0/1
D 10.3.1.0/24 [90/358400] via 10.1.45.4, 00:01:18, Ethernet0/2
D 10.3.2.0/24 [90/358400] via 10.1.35.3, 00:01:18, Ethernet0/1

D 10.3.3.3/32 [90/409600] via 10.1.35.3, 00:00:24, Ethernet0/1
D 10.4.4.4/32 [90/435200] via 10.1.45.4, 00:00:26, Ethernet0/2
C 10.5.5.5/32 is directly connected, Loopback0
D 10.6.6.6/32 [90/460800] via 10.1.45.4, 00:01:18, Ethernet0/2
[90/460800] via 10.1.35.3, 00:01:18, Ethernet0/1
R5#
R5#show ip eigrp topology
EIGRP-IPv4 Topology Table for AS(1)/ID(10.5.5.5)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status

P 10.3.3.3/32, 1 successors, FD is 409600
via 10.1.35.3 (409600/128256), Ethernet0/1
P 10.1.12.0/24, 1 successors, FD is 332800
via 10.1.35.3 (332800/307200), Ethernet0/1
via 10.1.45.4 (358400/307200), Ethernet0/2
P 10.2.2.0/24, 1 successors, FD is 281600
via Connected, Ethernet0/0
P 10.1.35.0/24, 1 successors, FD is 281600
via Connected, Ethernet0/1
P 10.3.2.0/24, 1 successors, FD is 358400
via 10.1.35.3 (358400/332800), Ethernet0/1
via 10.1.45.4 (358656/307456), Ethernet0/2
P 10.1.23.0/24, 1 successors, FD is 307200
via 10.1.35.3 (307200/281600), Ethernet0/1
P 10.5.5.5/32, 1 successors, FD is 128256
via Connected, Loopback0
P 10.1.24.0/24, 2 successors, FD is 332800
via 10.1.45.4 (332800/281600), Ethernet0/2
via 10.1.35.3 (332800/307200), Ethernet0/1
P 10.1.36.0/24, 1 successors, FD is 332800
via 10.1.35.3 (332800/307200), Ethernet0/1
P 10.6.6.6/32, 2 successors, FD is 460800
via 10.1.45.4 (460800/409600), Ethernet0/2
via 10.1.35.3 (460800/435200), Ethernet0/1
P 0.0.0.0/0, 1 successors, FD is 332800
via 10.1.35.3 (332800/307200), Ethernet0/1
via 10.1.45.4 (358400/307200), Ethernet0/2
P 10.4.4.4/32, 1 successors, FD is 435200
via 10.1.45.4 (435200/128256), Ethernet0/2
P 10.2.1.0/24, 1 successors, FD is 281600
via Connected, Ethernet0/3
P 10.2.2.2/32, 1 successors, FD is 435200
via 10.1.35.3 (435200/409600), Ethernet0/1
via 10.1.45.4 (460800/409600), Ethernet0/2
P 10.1.46.0/24, 1 successors, FD is 332800
via 10.1.45.4 (332800/281600), Ethernet0/2
P 10.1.45.0/24, 1 successors, FD is 307200
via Connected, Ethernet0/2
P 10.3.1.0/24, 1 successors, FD is 358400
via 10.1.45.4 (358400/307200), Ethernet0/2
via 10.1.35.3 (358656/333056), Ethernet0/1

R6#show ip route
Codes: L - local, 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 - 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, H - NHRP, l - LISP

    • replicated route, % - next hop override

Gateway of last resort is 10.1.46.4 to network 0.0.0.0

D*EX 0.0.0.0/0 [170/332800] via 10.1.46.4, 00:05:51, Ethernet0/1
10.0.0.0/8 is variably subnetted, 20 subnets, 2 masks
D 10.1.12.0/24 [90/332800] via 10.1.46.4, 00:05:51, Ethernet0/1
D 10.1.23.0/24 [90/332800] via 10.1.46.4, 00:05:51, Ethernet0/1
[90/332800] via 10.1.36.3, 00:05:51, Ethernet0/0
D 10.1.24.0/24 [90/307200] via 10.1.46.4, 00:05:51, Ethernet0/1
D 10.1.35.0/24 [90/332800] via 10.1.36.3, 00:06:41, Ethernet0/0
C 10.1.36.0/24 is directly connected, Ethernet0/0
L 10.1.36.6/32 is directly connected, Ethernet0/0
D 10.1.45.0/24 [90/332800] via 10.1.46.4, 00:06:41, Ethernet0/1
C 10.1.46.0/24 is directly connected, Ethernet0/1
L 10.1.46.6/32 is directly connected, Ethernet0/1
D 10.2.1.0/24 [90/358400] via 10.1.46.4, 00:06:41, Ethernet0/1
D 10.2.2.0/24 [90/358400] via 10.1.36.3, 00:06:41, Ethernet0/0

D 10.2.2.2/32 [90/435200] via 10.1.46.4, 00:05:51, Ethernet0/1
C 10.3.1.0/24 is directly connected, Ethernet0/2
L 10.3.1.1/32 is directly connected, Ethernet0/2
C 10.3.2.0/24 is directly connected, Ethernet0/3
L 10.3.2.1/32 is directly connected, Ethernet0/3
D 10.3.3.3/32 [90/435200] via 10.1.36.3, 00:05:46, Ethernet0/0
D 10.4.4.4/32 [90/409600] via 10.1.46.4, 00:05:48, Ethernet0/1
D 10.5.5.5/32 [90/460800] via 10.1.46.4, 00:06:41, Ethernet0/1
[90/460800] via 10.1.36.3, 00:06:41, Ethernet0/0
R6#show ip eigrp topology
EIGRP-IPv4 Topology Table for AS(1)/ID(10.6.6.6)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status

P 10.3.3.3/32, 1 successors, FD is 435200
via 10.1.36.3 (435200/128256), Ethernet0/0
P 10.1.12.0/24, 1 successors, FD is 332800
via 10.1.46.4 (332800/307200), Ethernet0/1
via 10.1.36.3 (358400/307200), Ethernet0/0
P 10.2.2.0/24, 1 successors, FD is 358400
via 10.1.36.3 (358400/307200), Ethernet0/0
via 10.1.46.4 (358656/333056), Ethernet0/1
P 10.1.35.0/24, 1 successors, FD is 332800
via 10.1.36.3 (332800/281600), Ethernet0/0
P 10.3.2.0/24, 1 successors, FD is 281600
via Connected, Ethernet0/3
P 10.1.23.0/24, 2 successors, FD is 332800
via 10.1.36.3 (332800/281600), Ethernet0/0
via 10.1.46.4 (332800/307200), Ethernet0/1
P 10.5.5.5/32, 2 successors, FD is 460800
via 10.1.36.3 (460800/409600), Ethernet0/0
via 10.1.46.4 (460800/435200), Ethernet0/1
P 10.1.24.0/24, 1 successors, FD is 307200
via 10.1.46.4 (307200/281600), Ethernet0/1
P 10.1.36.0/24, 1 successors, FD is 307200
via Connected, Ethernet0/0
P 10.6.6.6/32, 1 successors, FD is 128256
via Connected, Loopback0
P 0.0.0.0/0, 1 successors, FD is 332800
via 10.1.46.4 (332800/307200), Ethernet0/1
via 10.1.36.3 (358400/307200), Ethernet0/0
P 10.4.4.4/32, 1 successors, FD is 409600
via 10.1.46.4 (409600/128256), Ethernet0/1
P 10.2.1.0/24, 1 successors, FD is 358400
via 10.1.46.4 (358400/332800), Ethernet0/1
via 10.1.36.3 (358656/307456), Ethernet0/0
P 10.2.2.2/32, 1 successors, FD is 435200
via 10.1.46.4 (435200/409600), Ethernet0/1
via 10.1.36.3 (460800/409600), Ethernet0/0
P 10.1.46.0/24, 1 successors, FD is 281600
via Connected, Ethernet0/1
P 10.1.45.0/24, 1 successors, FD is 332800
via 10.1.46.4 (332800/307200), Ethernet0/1
P 10.3.1.0/24, 1 successors, FD is 281600
via Connected, Ethernet0/2

R6#
(R3 e0/1shutdown之后)
R5#show ip route
Codes: L - local, 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 - 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, H - NHRP, l - LISP

    • replicated route, % - next hop override

Gateway of last resort is 10.1.45.4 to network 0.0.0.0

DEX 0.0.0.0/0 [170/358400] via 10.1.45.4, 00:00:08, Ethernet0/2
10.0.0.0/8 is variably subnetted, 20 subnets, 2 masks
D 10.1.12.0/24 [90/358400] via 10.1.45.4, 00:00:08, Ethernet0/2
D 10.1.23.0/24 [90/358400] via 10.1.45.4, 00:00:08, Ethernet0/2
D 10.1.24.0/24 [90/332800] via 10.1.45.4, 00:00:08, Ethernet0/2
C 10.1.35.0/24 is directly connected, Ethernet0/1
L 10.1.35.5/32 is directly connected, Ethernet0/1
D 10.1.36.0/24 [90/384000] via 10.1.45.4, 00:00:08, Ethernet0/2
C 10.1.45.0/24 is directly connected, Ethernet0/2
L 10.1.45.5/32 is directly connected, Ethernet0/2
D 10.1.46.0/24 [90/332800] via 10.1.45.4, 00:00:09, Ethernet0/2
C 10.2.1.0/24 is directly connected, Ethernet0/3
L 10.2.1.1/32 is directly connected, Ethernet0/3
C 10.2.2.0/24 is directly connected, Ethernet0/0
L 10.2.2.1/32 is directly connected, Ethernet0/0
D 10.2.2.2/32 [90/460800] via 10.1.45.4, 00:00:08, Ethernet0/2
D 10.3.1.0/24 [90/358400] via 10.1.45.4, 00:00:09, Ethernet0/2
S 10.3.2.0/24 is directly connected, Null0
D 10.3.3.3/32 [90/486400] via 10.1.45.4, 00:00:08, Ethernet0/2
D 10.4.4.4/32 [90/435200] via 10.1.45.4, 00:00:09, Ethernet0/2
C 10.5.5.5/32 is directly connected, Loopback0
D 10.6.6.6/32 [90/460800] via 10.1.45.4, 00:00:08, Ethernet0/2
R5#
B#traceroute 10.3.2.2
Type escape sequence to abort.
Tracing the route to 10.3.2.2
VRF info: (vrf in name/id, vrf out name/id)
1 10.2.2.1 1 msec 1 msec 1 msec
2 10.2.2.1 !H
!H
配置
R2#show run | s nat
ip nat outside
ip nat inside
ip nat inside
ip nat inside source list 1 interface Ethernet0/0 overload
R2#show run inter e0/0
Building configuration...

Current configuration : 107 bytes
!
interface Ethernet0/0
ip address 10.1.12.2 255.255.255.0
ip nat outside
ip virtual-reassembly in
end

R2#show run inter e0/1
Building configuration...

Current configuration : 106 bytes
!
interface Ethernet0/1
ip address 10.1.23.2 255.255.255.0
ip nat inside
ip virtual-reassembly in
end

R2#show run inter e0/2
Building configuration...

Current configuration : 106 bytes
!
interface Ethernet0/2
ip address 10.1.24.2 255.255.255.0
ip nat inside
ip virtual-reassembly in
end
R2#show run | s route
router eigrp 1
network 10.1.12.2 0.0.0.0
network 10.1.23.2 0.0.0.0
network 10.1.24.2 0.0.0.0
network 10.2.2.2 0.0.0.0
redistribute static metric 10000 100 1 255 1500
ip route 0.0.0.0 0.0.0.0 10.1.12.1
R3#show run inter e0/2
Building configuration...

Current configuration : 76 bytes
!
interface Ethernet0/2
ip address 10.1.45.5 255.255.255.0
delay 200
End
R4#show run inter e0/1
Building configuration...

Current configuration : 76 bytes
!
interface Ethernet0/2
ip address 10.1.45.5 255.255.255.0
delay 200
end
R4#show run | s eigrp
router eigrp 1
distribute-list 1 out Ethernet0/2
distribute-list 2 out Ethernet0/1

network 10.1.24.4 0.0.0.0
network 10.1.45.4 0.0.0.0
network 10.1.46.4 0.0.0.0
network 10.4.4.4 0.0.0.0
R4#show access-lists
Standard IP access list 1
10 deny 10.2.2.0, wildcard bits 0.0.0.255 (6 matches)
20 permit any (37 matches)
Standard IP access list 2
10 deny 10.3.2.0, wildcard bits 0.0.0.255 (5 matches)
20 permit any (39 matches)

R5#show run inter e0/2
Building configuration...

Current configuration : 76 bytes
!
interface Ethernet0/2
ip address 10.1.45.5 255.255.255.0
delay 200
end

R5#show run | s route
router eigrp 1
network 10.1.35.5 0.0.0.0
network 10.1.45.5 0.0.0.0
network 10.2.1.1 0.0.0.0
network 10.2.2.1 0.0.0.0
network 10.5.5.5 0.0.0.0
offset-list 1 out 256 Ethernet0/1
offset-list 2 out 256 Ethernet0/2
ip route 10.3.2.0 255.255.255.0 Null0 100

R5#show access-lists
Standard IP access list 1
10 permit 10.2.1.0, wildcard bits 0.0.0.255 (3 matches)
Standard IP access list 2
10 permit 10.2.2.0, wildcard bits 0.0.0.255 (3 matches)
R6#show run inter e0/0
Building configuration...

Current configuration : 76 bytes
!
interface Ethernet0/2
ip address 10.1.45.5 255.255.255.0
delay 200
end
R6#show run | s route
router eigrp 1
network 10.1.36.6 0.0.0.0
network 10.1.46.6 0.0.0.0
network 10.3.1.1 0.0.0.0
network 10.3.2.1 0.0.0.0
network 10.6.6.6 0.0.0.0
offset-list 1 out 256 Ethernet0/0
offset-list 2 out 256 Ethernet0/1
ip route 10.2.2.0 255.255.255.0 Null0 100

R6#show access-lists
Standard IP access list 1
10 permit 10.3.1.0, wildcard bits 0.0.0.255 (3 matches)
Standard IP access list 2
10 permit 10.3.2.0, wildcard bits 0.0.0.255 (3 matches)

EIGRP冗余

标签:EIGRP冗余

原文地址:http://blog.51cto.com/13625527/2091357

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!