在帧中继网络中,要实现任意两台路由器之间都可以相互访问,如何配置帧中继网络?

2024-12-12 04:42:49
推荐回答(3个)
回答1:

很好配啊
R1 router

interface s0/0
encapsulation frame-relay
no frame-relay inverse-arp
frame-relay ?
interface-dlci Define a DLCI on an interface/subinterface
lmi-type Use CISCO-ANSI-CCITT type LMI
map Map a protocol address to a DLCI address
routeB(config-if)#frame-relay lmi-type ?
ansi
cisco
q933a
routeA(config-if)#frame-relay lmi-type cisco

ip address 192.168.88.1 255.255.255.0
frame-relay map ip 192.168.88.2 102 broadcast
frame-relay map ip 192.168.88.3 103 broadcast
no shutdown

R2 router
interface s0/0
encapsulation frame-relay
no frame-relay inverse-arp
frame-relay ?
interface-dlci Define a DLCI on an interface/subinterface
lmi-type Use CISCO-ANSI-CCITT type LMI
map Map a protocol address to a DLCI address
frame-relay lmi-type ?
ansi
cisco
q933a
routeA(config-if)#frame-relay lmi-type cisco

ip address 192.168.88.2 255.255.255.0
frame-relay map ip 192.168.88.1 201 broadcast
frame-relay map ip 192.168.88.3 203 broadcast
no shutdown

R3 router
interface s0/0
encapsulation frame-relay
no frame-relay inverse-arp
frame-relay ?
interface-dlci Define a DLCI on an interface/subinterface
lmi-type Use CISCO-ANSI-CCITT type LMI
map Map a protocol address to a DLCI address
routeB(config-if)#frame-relay lmi-type ?
ansi
cisco
q933a
routeA(config-if)#frame-relay lmi-type cisco

ip address 192.168.88.3 255.255.255.0
frame-relay map ip 192.168.88.1 301 broadcast
frame-relay map ip 192.168.88.2 302 broadcast
no shutdown

ansi欧洲电信委员会标准.
cisco思科标准
q933a国际标准

用的是静态的映射,这是全互联的完全可以ping通!!!
当然也可以用星型的也是可以的,同样可以ping通!!!
配置如下:

R1 与上面相同

R2 router

interface s0/0
encapsulation frame-relay
no frame-relay inverse-arp
frame-relay lmi-type cisco

ip address 192.168.88.2 255.255.255.0
frame-relay map ip 192.168.88.1 201 broadcast
frame-relay map ip 192.168.88.3 201broadcast
no shutdown

R3 router
interface s0/0
encapsulation frame-relay
no frame-relay inverse-arp
routeA(config-if)#frame-relay lmi-type cisco
ip address 192.168.88.3 255.255.255.0
frame-relay map ip 192.168.88.1 301 broadcast
frame-relay map ip 192.168.88.2 301 broadcast
no shutdown

回答2:

两种办法,一是用一台路由器做主路由器,其他路由器都和主路由器建立连接,相互之间的访问通过主路由器完成;二是两两之间建立一个全网状连接。

由于价格和复杂性的关系,一般都选择方法一。具体帧中继的配置命令可以在网上查找或找设备厂家提供。

回答3:

http://zhidao.baidu.com/question/261205559.html 这里写的很详细!