路由器的配置如下:
rta:
Press Enter to Start
Router>
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host rta
rta(config)#int s0
rta(config-if)#encapsulation frame-relay
rta(config-if)#no shut
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINK-3-UPDOWN: Interface Serial0, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down
rta(config-if)#int s0 0.0 multipoint //
配置多点访问子接口
rta(config-subif)#ip add 1.1.1 .1 255.255.255.240
rta(config-subif)#frame-relay interface-dlci 102
rta(config-subif)#frame-relay interface-dlci 103
rta(config-subif)#frame-relay interface-dlci 104
rta(config-subif)#frame-relay inverse-arp
rta(config-subif)#no shut
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up
21:49:39: %FR-5-DLCICHANGE: Interface Serial0.0 - DLCI 104 state changed to ACTIVE
rta(config-subif)#
rtb:
Press Enter to Start
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host rtb
rtb(config)#int s0
rtb(config-if)#ip add 1.1.1 .2 255.255.255.240
rtb(config-if)#encapsulation frame-relay
rtb(config-if)#frame-relay interface-dlci 201
rtb(config-if)#frame-relay inverse-arp
rtb(config-if)#no shut
%LINK-3-UPDOWN: Interface Serial0, changed state to up
rtb(config-if)#end
rtb#ping 1.1.1 .1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1 .1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
rtc:
Press Enter to Start
Router>
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host rtc
rtc(config)#int s0
rtc(config-if)#ip add 1.1.1 .3 255.255.255.240
rtc(config-if)#encapsulation frame-relay
rtc(config-if)#frame-relay interface-dlci 301
rtc(config-if)#frame-relay inverse-arp
rtc(config-if)#no shut
%LINK-3-UPDOWN: Interface Serial0, changed state to up
rtc(config-if)#
rtc(config-if)#end
rtc#ping 1.1.1 .1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1 .1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
rtd:
Press Enter to Start
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host rtd
rtd(config)#int s0
rtd(config-if)#ip add 1.1.1 .4 255.255.255.240
rtd(config-if)#encapsulation frame-relay
rtd(config-if)#frame-relay interface-dlci 401
rtd(config-if)#frame-relay inverse-arp
rtd(config-if)#no shut
%LINK-3-UPDOWN: Interface Serial0, changed state to up
rtd(config-if)#end
rtd#ping 1.1.1 .1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1 .1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
rtd#ping 1.1.1 .3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1 .3, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5), round-trip min/avg/max = 1/2/4 ms
rtd#ping 1.1.1 .2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1 .2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5), round-trip min/avg/max = 1/2/4 ms