网络,路由器帧中继点对点实验,我这配置为什么ping不通?配置如下,

2024-12-15 10:28:39
推荐回答(4个)
回答1:

你的IP配置有问题,1.1 2.1 3.1 4.1 不可能通,好好补习下基础吧。
而且你的R1、R2的物理接口没有启动,需要“no shutdown”
正确配置:
R1:
interface Serial0/0
no ip address
encapsulation frame-relay
no frame-relay inverse-arp(可以删除)
no shutdown(修改)
clockrate 6400(修改)

interface Serial0/0.1 point-to-point
ip address 192.168.1.1 255.255.255.0
frame-relay interface-dlci 100

interface Serial0/0.2 point-to-point
ip address 192.168.2.1 255.255.255.0
frame-relay interface-dlci 200

R2:
interface Serial0/0
no ip address
encapsulation frame-relay
no shutdown(修改)
clockrate 6400(修改)
frame-relay intf-type dce
frame-relay route 100 interface Serial0/1 300
frame-relay route 200 interface Serial0/1 400

interface Serial0/1
no ip address
encapsulation frame-relay
shutdown
clockrate 6400(修改)
frame-relay intf-type dce
frame-relay route 300 interface Serial0/0 100

interface Serial0/2
no ip address
encapsulation frame-relay
shutdown
clockrate 6400(修改)
frame-relay intf-type dce
frame-relay route 400 interface Serial0/0 200

R3:
interface Serial0/0
no ip address
encapsulation frame-relay
no frame-relay inverse-arp (可以删除)
no shutdown

interface Serial0/0.1 point-to-point
ip address 192.168.1.2 255.255.255.0(修改)
frame-relay interface-dlci 300

R4:
interface Serial0/0
no ip address
encapsulation frame-relay
no frame-relay inverse-arp(可以删除)
no shutdown

interface Serial0/0.1 point-to-point
ip address 192.168.2.2 255.255.255.0(修改)
frame-relay interface-dlci 400

回答2:

1.全都no shutdown
2.R4的s0/0.1跟R1的s0/0.2要在同一网段
3.R3的s0/0.1跟R1的s0/0.1要在同一网段

回答3:

大哥,你接口shutdown了。。。我看你这料还是别学思科了。接口都不会配还配帧中继。

回答4:

你把R2的两个串口都用了 shutdown 了,还会有数据反馈么?