免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2466 | 回复: 1
打印 上一主题 下一主题

cisco路由器帧中继桥接实验,留帖备忘 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-11-01 11:02 |只看该作者 |倒序浏览
本实验是在dynamips上做的,2台7200通过帧中继交换机互联,各自的F0/0连接VPC,2台VPC分别配置同一网段的地址,配置如下:
============网络配置============
[localhost]

    [[7200]]
    image = D:\IOS\C7200-IP.BIN
    npe = npe-400
    ram = 160
        
    [[ROUTER R1]]
    s1/0 = F1 1
    f0/0 = NIO_udp:22222:127.0.0.1:33333
    #udp 22222为 VPCS的rport,33333为lport
   
    [[router R2]]
    s1/0 = F1 2
    f0/0 = NIO_udp:22220:127.0.0.1:33330
    #udp 22220为 VPCS的rport,33330为lport

    [[FRSW F1]]
    1:102 = 2:201   
    # Tell the FRSW to switch from port 1, DLCI 102 to port 2, DLCI 201.

============虚拟PC配置===================
1
ip 192.168.1.11 192.168.1.1 24
conf rport 22222
conf lport 33333
2
ip 192.168.1.12 192.168.1.1 24
conf rport 22220
conf lport 33330
1

============路由器1配置========================
R1#sh run
Building configuration...

Current configuration : 1700 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
no ip routing
no ip cef
!
!
!
username admin privilege 15 secret 5 $1$CIFx$wDVjvrk5AKc6Owh28l5cq/
!
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
no ip route-cache
duplex auto
speed auto
bridge-group 1
!
interface FastEthernet0/1
no ip address
no ip route-cache
shutdown
duplex auto
speed auto
!
interface Serial1/0
no ip address
encapsulation frame-relay
no ip route-cache
serial restart-delay 0
bridge-group 1
!
interface Serial1/0.102 point-to-point
ip address 192.168.2.1 255.255.255.0
no ip route-cache
frame-relay interface-dlci 102
bridge-group 1
!
interface Serial1/1
no ip address
no ip route-cache
shutdown
serial restart-delay 0

.。。。。。。

interface Serial1/7
no ip address
no ip route-cache
shutdown
serial restart-delay 0
!
no ip http server
no ip http secure-server
!
!
logging alarm informational
!
!
!
control-plane
!
bridge 1 protocol ieee
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
line vty 0 4
login local
!
!
end
==================路由器2配置==========================

R2#sh run
Building configuration...

Current configuration : 1808 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
no ip routing
no ip cef
!
!
username admin privilege 15 secret 5 $1$5DOh$EAxMq7vCZPM6En1izX.id1
!
!
!
interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.0
no ip route-cache
duplex auto
speed auto
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet0/1
no ip address
no ip route-cache
shutdown
duplex auto
speed auto
!
interface Serial1/0
no ip address
encapsulation frame-relay
no ip route-cache
serial restart-delay 0
frame-relay lmi-type ansi
bridge-group 1
bridge-group 1 spanning-disabled
!
interface Serial1/0.201 point-to-point
ip address 192.168.2.2 255.255.255.252
no ip route-cache
frame-relay interface-dlci 201
bridge-group 1
bridge-group 1 spanning-disabled
!
interface Serial1/1
no ip address
no ip route-cache
shutdown
serial restart-delay 0

。。。。。。

interface Serial1/7
no ip address
no ip route-cache
shutdown
serial restart-delay 0
!
no ip http server
no ip http secure-server
!
!
logging alarm informational
!
!
!
control-plane
!
!
!
gatekeeper
shutdown
!
!
line con 0
stopbits 1
line aux 0
line vty 0 4
login local
!
!
end

2台路由器输入一样的配置命令但是出来的配置不一样,第2台自动生成了几条配置,不明白是什么原因。配好后2台VPC实现互相ping通。

论坛徽章:
0
2 [报告]
发表于 2010-11-02 23:35 |只看该作者
肯定有原因的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP