- 积分
- 107
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 20
- 听众
- 收听
助理工程师
 
|
如下图:
拓扑图
在一个frame-relay网络中,路由器1和路由器2,路由器1和路由器3之间已经各建立了一条PVC,并可以ping 通,各路由器主要配置如下:
路由器4
interface Serial2/1
no ip address
encapsulation frame-relay
serial restart-delay 0
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 102 interface Serial2/2 201
frame-relay route 103 interface Serial2/3 301
!
interface Serial2/2
no ip address
encapsulation frame-relay
serial restart-delay 0
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 201 interface Serial2/1 102
!
interface Serial2/3
no ip address
encapsulation frame-relay
serial restart-delay 0
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 301 interface Serial2/1 103
路由器1
interface Loopback0
ip address 11.1.1.1 255.255.255.0
!
interface Serial2/1
ip address 123.1.1.1 255.255.255.0
encapsulation frame-relay
no ip split-horizon eigrp 1 我直接使用物理接口,并取消了水平分割
serial restart-delay 0
!
router eigrp 1 network 0.0.0.0 宣告了所有网络
no auto-summary
!
路由器2
!
interface Serial2/2
ip address 123.1.1.2 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
!
router eigrp 1
network 0.0.0.0
auto-summary
!
路由器3
!
interface Serial2/3
ip address 123.1.1.3 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
!
router eigrp 1
network 0.0.0.0
auto-summary
!
路由器1的dlci map也正常
ESW1#show frame-relay map
Serial2/1 (up): ip 123.1.1.2 dlci 102(0x66,0x1860), dynamic,
broadcast,, status defined, active
Serial2/1 (up): ip 123.1.1.3 dlci 103(0x67,0x1870), dynamic,
broadcast,, status defined, active
路由器1ping 路由器2或路由器3的Loop都正常
ESW1#ping 22.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 22.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/28/60 ms
ESW1#ping 33.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/19/20 ms
路由器2的路由表里也已经可以看到路由器3的loopback
ESW2#show 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 - 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 not set
D 33.0.0.0/8 [90/2809856] via 123.1.1.1, 00:35:53, Serial2/2
22.0.0.0/24 is subnetted, 1 subnets
C 22.1.1.0 is directly connected, Loopback0
11.0.0.0/24 is subnetted, 1 subnets
D 11.1.1.0 [90/2297856] via 123.1.1.1, 00:41:52, Serial2/2
123.0.0.0/24 is subnetted, 1 subnets
C 123.1.1.0 is directly connected, Serial2/2
当然了,路由器3的路由表也可以看见路由器2的loopback
ESW3#show 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 - 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 not set
33.0.0.0/24 is subnetted, 1 subnets
C 33.1.1.0 is directly connected, Loopback0
22.0.0.0/24 is subnetted, 1 subnets
D 22.1.1.0 [90/2809856] via 123.1.1.1, 00:00:26, Serial2/3
11.0.0.0/24 is subnetted, 1 subnets
D 11.1.1.0 [90/2297856] via 123.1.1.1, 00:42:11, Serial2/3
123.0.0.0/24 is subnetted, 1 subnets
C 123.1.1.0 is directly connected, Serial2/3
似乎一切都是正常的,但在路由器2上就是ping不通路由器3的loopback,同样路由器3上也ping不通路由器2的loopback
ESW2#ping 33.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.1.1.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
ESW2#ping 123.1.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 123.1.1.3, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
这是为什么呢?为什么路由表里已经看得见,但还是ping不通呢?
|
|