我已经配置了一个拓扑,其中包含 ip sla、路由映射、双重 natting。它运行良好,但是当我使用路由映射 natting 时,eigrp 变得抖动并显示错误是“超出重试限制”。
Comp_R:配置 Comp_R 和 Tel_isp 之间的 Eigrp 10 以到达 Tel_isp 接口 f1/0 上的 1.1.1.0 网络。在 Comp_R 路由器上配置 ip sla 以跟踪 1.1.1.1,如果关闭,它将恢复到 Zon_isp。使用 Comp_R 路由器上的路由映射配置 natting。
configuration on Comp_R Router:
Comp_R (config)#Router eigrp 10
Network 10.0.0.0
Passive-interface f0/0 //no to send update on f0/0
Configure Ip sla and track
Comp_R(config)#ip sla 10
Comp_R(config-ip-sla)#icmp-echo 1.1.1.1 source-ip 10.0.0.1
Comp_R(config-ip-sla-echo)#frequency 5
Comp_R(config-ip-sla-echo)#timeout 5000
Comp_R(config)#ip sla schedule 10 start-time now life forever
Now configure track
Comp_R(config)#track 15 ip sla 10 reachability
Comp_R(config)#ip route 0.0.0.0 0.0.0.0 10.0.0.2 track 15
Comp_R(config)#ip route 0.0.0.0 0.0.0.0 20.0.0.2 10
Configure Nat on Comp_R using route map
Comp_R(config)#int f0/0
Comp_R(config-if)#ip nat outside
Comp_R(config-if)#exit
Comp_R(config)#int f1/0
Comp_R(config-if)#ip nat outside
Comp_R(config-if)#exit
Comp_R(config)#int f2/0
Comp_R(config-if)#ip nat inside
Comp_R(config-if)#exit
Comp_R(config)#route-map natfortelisp permit 10 // route map name your choice
Comp_R(config-route-map)#match interface f0/0
Comp_R(config-route-map)#exit
Comp_R(config)#route-map natforzonisp permit 10
Comp_R(config-route-map)#match interface f1/0
Comp_R(config-route-map)#exit
Comp_R(config)#ip nat inside source route-map natfortelisp interface f0/0 overload
Comp_R(config)#ip nat insdie source route-map natforzonisp interface f1/0 overload
configuration on Tel_isp Router:
Tel_isp(config)#Router eigrp 10
Network 10.0.0.0
Network 1.1.1.0
No auto-summary
配置路由映射和 eigrp 时出现问题,显示以下消息
Comp_R#
*May 3 07:34:40.059: %DUAL-5-NBRCHANGE: EIGRP-IPv4 10: Neighbor 10.0.0.2 (FastEthernet0/0) is up: new adjacency
*May 3 07:35:59.579: %DUAL-5-NBRCHANGE: EIGRP-IPv4 10: Neighbor 10.0.0.2 (FastEthernet0/0) is down: retry limit exceeded
*May 3 07:36:01.887: %DUAL-5-NBRCHANGE: EIGRP-IPv4 10: Neighbor 10.0.0.2 (FastEthernet0/0) is up: new adjacency
*May 3 07:37:21.407: %DUAL-5-NBRCHANGE: EIGRP-IPv4 10: Neighbor 10.0.0.2 (FastEthernet0/0) is down: retry limit exceeded
checking Comp_R routing table it shows:
Comp_R#sh ip eig nei
EIGRP-IPv4 Neighbors for AS(10)
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 10.0.0.2 Fa0/0 13 00:00:46 1 5000 1 0
Tel_isp Routing table:
Tel_isp#sh ip ei nei
EIGRP-IPv4 Neighbors for AS(10)
我配置错误,我正在使用 eve-ng