1、图三图四把路由器2811的串口与云的串口相连,路由器的串口为DTE图五实验拓扑图及IP地址、DLCI分配二、配置Frame Relay以Router2为例,其它两个路由器相似,后是人为添加的注释,在实际配置时不存在Routeren进入特权配置模式Router#conf t进入全局配置模式Enter configuration commands, one per line. End with CNTL/Z.Router(config)#no ip domain-lookup取消名称解析Router(config)#hostname Router2配置路由器的名字Router2(config)#i
2、nt fa0/1进入接口配置模式Router2(config-if)#ip address 172.18.1.1 255.255.255.0配置ip地址Router2(config-if)#no shut激活端口%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upRouter2(config-if)#int serial0/3/0Router2(confi
3、g-if)#encapsulation frame-relay对串口serial0/3/0进行frame-relay封装Router2(config-if)#no shut Interface Serial0/3/0, changed state to upRouter2(config-if)# Line protocol on Interface Serial0/3/0, changed state to upRouter2(config-if)#interface serial0/3/0.1 point-to-point进入串口的子接口配置模式 Interface Serial0/3/0.
4、1, changed state to up Line protocol on Interface Serial0/3/0.1, changed state to upRouter2(config-subif)#ip address 192.168.1.1 255.255.255.0 为子接口配置IP地址Router2(config-subif)#description Link Router1 DLCI 30为子接口添加描述Router2(config-subif)#frame-relay interface-dlci 40配置DLCIRouter2(config-subif)#interf
5、ace serial0/3/0.2 point-to-point Interface Serial0/3/0.2, changed state to up Line protocol on Interface Serial0/3/0.2, changed state to upRouter2(config-subif)#ip address 192.168.3.1 255.255.255.0Router2(config-subif)#description link to Router0 DLCI20Router2(config-subif)#frame-relay interface-dlc
6、i 41Router2(config-subif)#end%SYS-5-CONFIG_I: Configured from console by consoleRouter2#conf tRouter2(config)#router eigrp 100在路由器上启用EIGRP路由协议Router2(config-router)#network 172.18.0.0通告与自己直接想连的网段Router2(config-router)#network 192.168.3.0Router2(config-router)#network 192.168.1.0Router2(config-router
7、)#Router2#copy running-config startup-config保存配置Destination filename startup-config? Building configuration.OKRouter2#路由器Router0的配置:Router0#sh running-configCurrent configuration : 830 bytes!version 12.4no service password-encryptionhostname Router0ip ssh version 1no ip domain-lookupinterface FastEt
8、hernet0/0no ip addressduplex autospeed autoshutdowninterface FastEthernet0/1ip address 172.16.1.1 255.255.255.0interface Serial0/3/0encapsulation frame-relayinterface Serial0/3/0.1 point-to-pointdescription Link to Router 2ip address 192.168.3.2 255.255.255.0frame-relay interface-dlci 20interface Se
9、rial0/3/0.2 point-to-pointdescription Link to Router1ip address 192.168.2.2 255.255.255.0frame-relay interface-dlci 21interface Vlan1router eigrp 100network 172.16.0.0network 192.168.3.0network 192.168.2.0auto-summaryip classlessline con 0line vty 0 4loginend路由器Router1的配置Router1#sh running-config 84
10、3 byteshostname Router1ip address 172.17.1.1 255.255.255.0description link to Router2 DLCI40ip address 192.168.1.2 255.255.255.0frame-relay interface-dlci 30description link to router0 DLCI21ip address 192.168.2.1 255.255.255.0frame-relay interface-dlci 31network 192.168.1.0network 172.17.0.0路由器Rout
11、er2的配置Router2#sh running-config 841 byteshostname Router2ip address 172.18.1.1 255.255.255.0description Link Router1 DLCI 30ip address 192.168.1.1 255.255.255.0frame-relay interface-dlci 40description link to Router0 DLCI20ip address 192.168.3.1 255.255.255.0frame-relay interface-dlci 41network 172.
12、18.0.0路由器配置完毕后,还需要配置Cloud0。图六根据路由器的相关配置,给Cloud0的serial0配置DLCI及LMI类型图七根据路由器的相关配置,给Cloud0的serial1配置DLCI及LMI类型图八根据路由器的相关配置,给Cloud0的serial2配置DLCI及LMI类型图九根据路由器的相关配置,配置Cloud0的Frame Relay三、配置各个计算机,并使用ping命令校验网络的连通性pc0PCipconfigIP Address.: 172.16.1.2Subnet Mask.: 255.255.255.0Default Gateway.: 172.16.1.1pi
13、ng 192.168.1.1Pinging 192.168.1.1 with 32 bytes of data:Reply from 192.168.1.1: bytes=32 time=141ms TTL=254 bytes=32 time=110ms TTL=254 bytes=32 time=143ms TTL=254Ping statistics for 192.168.1.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: Minim
14、um = 110ms, Maximum = 143ms, Average = 126msping 192.168.2.2Pinging 192.168.2.2 with 32 bytes of data:Reply from 192.168.2.2: bytes=32 time=62ms TTL=255 bytes=32 time=47ms TTL=255 bytes=32 time=63ms TTL=255Ping statistics for 192.168.2.2: Minimum = 47ms, Maximum = 63ms, Average = 58msping 192.168.3.
15、1Pinging 192.168.3.1 with 32 bytes of data:Reply from 192.168.3.1: bytes=32 time=109ms TTL=254 bytes=32 time=125ms TTL=254 bytes=32 time=93ms TTL=254 bytes=32 time=94ms TTL=254Ping statistics for 192.168.3.1: Minimum = 93ms, Maximum = 125ms, Average = 105msping 172.17.1.1Pinging 172.17.1.1 with 32 b
16、ytes of data:Reply from 172.17.1.1: bytes=32 time=112ms TTL=254 bytes=32 time=123ms TTL=254Ping statistics for 172.17.1.1: Minimum = 110ms, Maximum = 123ms, Average = 113msping 172.18.1.1Pinging 172.18.1.1 with 32 bytes of data:Reply from 172.18.1.1: bytes=32 time=140ms TTL=254Ping statistics for 172.18.1.1: Minimum = 109ms, Maximum = 140ms, Average = 121ms
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1