Dynamips-帧中继点到多点子接口实验
来源:互联网 发布:淘宝上至臻苹果之家 编辑:程序博客网 时间:2024/05/18 01:08
实验设备:四台3620路由器,一台3640路由器(用来模拟帧中继交换机)
实验拓扑图如下:
CISCO 3640配置过程如下:
FR#
FR#
FR#conf t
Enter configuration commands, one per line. End with CNTL/Z.
FR(config)#frame-relay switching(在CISCO路由器上启用帧中继交换,在帧中继交换命令之前执行,否则其他命令不被允许)
FR(config)#interface serial 1/0
FR(config-if)#no shutdown
FR(config-if)#encapsulation frame-relay
FR(config-if)#frame-relay lmi-type ansi(将lmi类型由默认的cisco更改为ansi)
FR(config-if)#frame-relay intf-type dce(为了帧中继交换,需要把它改变成DCE,路由器默认是DTE)
FR(config-if)#frame-relay route 102 interface serial1/1 201(从R1的s1/0接口接收DLCI为102的信息经由s1/1口DLCI为201的路线上转发出去)
FR(config-if)#frame-relay route 103 interface serial1/2 301
FR(config-if)#frame-relay route 104 interface serial1/3 401
FR(config-if)#exit
FR(config)#interface serial 1/1
FR(config-if)#no shut
FR(config-if)#encapsulation frame-relay
FR(config-if)#frame-relay lmi-type ansi
FR(config-if)#frame-relay intf-type dce
FR(config-if)#frame-relay route 201 interface serial 1/0 102
FR(config-if)#exit
FR(config)#interface s1/2
FR(config-if)#no shut
FR(config-if)#en frame-relay
FR(config-if)#frame-relay lmi-type ansi
FR(config-if)#frame-relay intf-type dce
FR(config-if)#frame-relay route 301 interface serial 1/0 103
FR(config-if)#exit
FR(config)#interface s1/3
FR(config-if)#no shut
FR(config-if)#en frame-relay
FR(config-if)#frame-relay lmi-type ansi
FR(config-if)#frame-relay intf-type dce
FR(config-if)#frame-relay route 401 interface serial 1/0 104
FR(config-if)#end
FR#
FR#conf t
Enter configuration commands, one per line. End with CNTL/Z.
FR(config)#frame-relay switching(在CISCO路由器上启用帧中继交换,在帧中继交换命令之前执行,否则其他命令不被允许)
FR(config)#interface serial 1/0
FR(config-if)#no shutdown
FR(config-if)#encapsulation frame-relay
FR(config-if)#frame-relay lmi-type ansi(将lmi类型由默认的cisco更改为ansi)
FR(config-if)#frame-relay intf-type dce(为了帧中继交换,需要把它改变成DCE,路由器默认是DTE)
FR(config-if)#frame-relay route 102 interface serial1/1 201(从R1的s1/0接口接收DLCI为102的信息经由s1/1口DLCI为201的路线上转发出去)
FR(config-if)#frame-relay route 103 interface serial1/2 301
FR(config-if)#frame-relay route 104 interface serial1/3 401
FR(config-if)#exit
FR(config)#interface serial 1/1
FR(config-if)#no shut
FR(config-if)#encapsulation frame-relay
FR(config-if)#frame-relay lmi-type ansi
FR(config-if)#frame-relay intf-type dce
FR(config-if)#frame-relay route 201 interface serial 1/0 102
FR(config-if)#exit
FR(config)#interface s1/2
FR(config-if)#no shut
FR(config-if)#en frame-relay
FR(config-if)#frame-relay lmi-type ansi
FR(config-if)#frame-relay intf-type dce
FR(config-if)#frame-relay route 301 interface serial 1/0 103
FR(config-if)#exit
FR(config)#interface s1/3
FR(config-if)#no shut
FR(config-if)#en frame-relay
FR(config-if)#frame-relay lmi-type ansi
FR(config-if)#frame-relay intf-type dce
FR(config-if)#frame-relay route 401 interface serial 1/0 104
FR(config-if)#end
ROUTER1配置如下:
R1#
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface fa0/0
R1(config-if)#ip address 10.1.1.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#int s1/0
R1(config-if)#no ip address
R1(config-if)#no shut
R1(config-if)#encapsulation frame-relay
R1(config-if)#no frame-relay inverse-arp(关掉动态寻址功能)
R1(config-if)#frame-relay lmi-type ansi
R1(config-if)#exit
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface fa0/0
R1(config-if)#ip address 10.1.1.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#int s1/0
R1(config-if)#no ip address
R1(config-if)#no shut
R1(config-if)#encapsulation frame-relay
R1(config-if)#no frame-relay inverse-arp(关掉动态寻址功能)
R1(config-if)#frame-relay lmi-type ansi
R1(config-if)#exit
NOTE:当每个PVC都是一个独立的子网时使用点对点,当所有的PVC都使用相同的子网时使用多点
R1(config)#int s1/0.2 point-to-point(点到点)
R1(config-subif)#ip address 12.12.12.1 255.255.255.0
R1(config-subif)#frame-relay interface-dlci 102
R1(config-fr-dlci)#int s1/0.34 multipoint(点到多点)
R1(config-subif)#ip address 13.13.13.1 255.255.255.0
R1(config-subif)#no ip split-horizon(关掉水平分割功能,使R3/R4可以互通路由信息)
R1(config-subif)#frame-relay map ip 13.13.13.3 103 broadcast
R1(config-subif)#frame-relay map ip 13.13.13.4 104 broadcast
R1(config-subif)#exit
R1(config)#router rip
R1(config-router)#network 10.0.0.0
R1(config-router)#network 12.0.0.0
R1(config-router)#network 13.0.0.0
R1(config-router)#end
R1#
R1#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
R1(config)#int s1/0.2 point-to-point(点到点)
R1(config-subif)#ip address 12.12.12.1 255.255.255.0
R1(config-subif)#frame-relay interface-dlci 102
R1(config-fr-dlci)#int s1/0.34 multipoint(点到多点)
R1(config-subif)#ip address 13.13.13.1 255.255.255.0
R1(config-subif)#no ip split-horizon(关掉水平分割功能,使R3/R4可以互通路由信息)
R1(config-subif)#frame-relay map ip 13.13.13.3 103 broadcast
R1(config-subif)#frame-relay map ip 13.13.13.4 104 broadcast
R1(config-subif)#exit
R1(config)#router rip
R1(config-router)#network 10.0.0.0
R1(config-router)#network 12.0.0.0
R1(config-router)#network 13.0.0.0
R1(config-router)#end
R1#
R1#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
ROUTER2配置如下:
R2#
R2#
R2#en
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int f0/0
R2(config-if)#ip address 172.16.1.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#int s1/0
R2(config-if)#ip address 12.12.12.2 255.255.255.0
R2(config-if)#encap frame-relay
R2(config-if)#no shut
R2(config-if)#no frame-relay inverse-arp
R2(config-if)#frame-relay lmi-type ansi
R2(config-if)#exit
R2(config)#router rip
R2(config-router)#network 172.16.1.0
R2(config-router)#network 12.0.0.0
R2(config-router)#end
R2#
R2#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
R2#
R2#en
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#int f0/0
R2(config-if)#ip address 172.16.1.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#int s1/0
R2(config-if)#ip address 12.12.12.2 255.255.255.0
R2(config-if)#encap frame-relay
R2(config-if)#no shut
R2(config-if)#no frame-relay inverse-arp
R2(config-if)#frame-relay lmi-type ansi
R2(config-if)#exit
R2(config)#router rip
R2(config-router)#network 172.16.1.0
R2(config-router)#network 12.0.0.0
R2(config-router)#end
R2#
R2#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
ROUTER3配置如下:
R3#
R3#
R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#int f0/0
R3(config-if)#ip address 192.168.1.3 255.255.255.0
R3(config-if)#no shut
R3(config-if)#int s1/0
R3(config-if)#ip address 13.13.13.3 255.255.255.0
R3(config-if)#encap frame-relay
R3(config-if)#no shut
R3(config-if)#frame-relay map ip 13.13.13.1 301 broadcast
R3(config-if)#no frame-relay inverse-arp
R3(config-if)#frame-relay lmi-type ansi
R3(config-if)#exit
R3(config)#router rip
R3(config-router)#network 192.168.1.0
R3(config-router)#network 13.0.0.0
R3(config-router)#end
R3#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
R3#
R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#int f0/0
R3(config-if)#ip address 192.168.1.3 255.255.255.0
R3(config-if)#no shut
R3(config-if)#int s1/0
R3(config-if)#ip address 13.13.13.3 255.255.255.0
R3(config-if)#encap frame-relay
R3(config-if)#no shut
R3(config-if)#frame-relay map ip 13.13.13.1 301 broadcast
R3(config-if)#no frame-relay inverse-arp
R3(config-if)#frame-relay lmi-type ansi
R3(config-if)#exit
R3(config)#router rip
R3(config-router)#network 192.168.1.0
R3(config-router)#network 13.0.0.0
R3(config-router)#end
R3#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
ROUTER4配置如下:
R4#
R4#
R4#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R4(config)#int f0/0
R4(config-if)#ip address 192.168.2.4 255.255.255.0
R4(config-if)#no shut
R4(config-if)#int s1/0
R4(config-if)#ip address 13.13.13.4 255.255.255.0
R4(config-if)#encap frame-relay
R4(config-if)#no shut
R4(config-if)#frame-relay map ip 13.13.13.1 401 broad
R4(config-if)#no frame-relay inverse-arp
R4(config-if)#frame-relay lmi-type ansi
R4(config-if)#exit
R4(config)#router rip
R4(config-router)#network 192.168.2.0
R4(config-router)#network 13.0.0.0
R4(config-router)#end
R4#
R4#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R4(config)#int f0/0
R4(config-if)#ip address 192.168.2.4 255.255.255.0
R4(config-if)#no shut
R4(config-if)#int s1/0
R4(config-if)#ip address 13.13.13.4 255.255.255.0
R4(config-if)#encap frame-relay
R4(config-if)#no shut
R4(config-if)#frame-relay map ip 13.13.13.1 401 broad
R4(config-if)#no frame-relay inverse-arp
R4(config-if)#frame-relay lmi-type ansi
R4(config-if)#exit
R4(config)#router rip
R4(config-router)#network 192.168.2.0
R4(config-router)#network 13.0.0.0
R4(config-router)#end
FR中检验配置:
FR#show frame-relay route
Input Intf Input Dlci Output Intf Output Dlci Status
Serial1/0 102 Serial1/1 201 active
Serial1/0 103 Serial1/2 301 active
Serial1/0 104 Serial1/3 401 active
Serial1/1 201 Serial1/0 102 active
Serial1/2 301 Serial1/0 103 active
Serial1/3 401 Serial1/0 104 active
FR#
Input Intf Input Dlci Output Intf Output Dlci Status
Serial1/0 102 Serial1/1 201 active
Serial1/0 103 Serial1/2 301 active
Serial1/0 104 Serial1/3 401 active
Serial1/1 201 Serial1/0 102 active
Serial1/2 301 Serial1/0 103 active
Serial1/3 401 Serial1/0 104 active
FR#
- Dynamips-帧中继点到多点子接口实验
- CCNA实验三十 帧中继点到多点子接口
- 帧中继多点子接口上运行EIGRP_实验
- CCNA实验二十九 帧中继点到点子接口
- 在帧中继上运行rip协议(2)—多点对点子接口
- 帧中继实验
- 帧中继实验
- 实验十一:帧中继
- DHCP中继、子接口配置示例
- Dynamips实验索引
- Frame-relay 帧中继实验
- CCNA实验—帧中继
- 实验24:帧中继点对点实验
- 在帧中继上运行rip协议(3)—点对点子接口
- 中继点
- CCNA实验三十一 帧中继的Tunnel
- Linux下实现思科实验-模拟器使用[图文]-----GNS3----dynamips
- CCNA实验二十八 帧中继(Frame Relay)
- How to recognise a good programmer
- AJAX
- 在Fedora上安装及配置vsftp服务器
- 英语面试试题及答案中英文对照30题
- 常用排序算法
- Dynamips-帧中继点到多点子接口实验
- DOM方式读写XML文件
- 郁闷的日子1--关于XP和2003server双系统的问题
- J2SE学习笔记--多线程
- 2003server关闭关机原因
- flex3环境配置
- Vista系统安装优化备忘
- Lighttpd下的Wordpress FriendlyUrl(友好链接 永久链接)配置
- 高效率网页设计的十大军规