雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 2263|回复: 5

帧中继配置(使用tunnel)

[复制链接]
发表于 2009-9-24 00:56:25 | 显示全部楼层 |阅读模式

拓扑如图,暂时目的就是全网能ping通
使用 小凡模拟器
FR1 FR2 中间用tunnel

问题:R1和R2都能ping通自己,且都能ping通对方。但是不能ping通R3,R3也不能ping 通R1,R2

每个router 上面 的show run

R1

R1#sh run
Building configuration...
Current configuration : 953 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R1
!
ip subnet-zero
!
ip audit notify log
ip audit po max-events 100
!
fax interface-type fax-mail
mta receive maximum-recipients 0
!
interface Serial0/0
ip address 172.16.1.1 255.255.255.0
encapsulation frame-relay
serial restart_delay 0
clockrate 64000
frame-relay map ip 172.16.1.3 103 broadcast
frame-relay map ip 172.16.1.1 102 broadcast
frame-relay map ip 172.16.1.2 102 broadcast
no frame-relay inverse-arp
!
interface Serial0/1
no ip address
shutdown
serial restart_delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart_delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart_delay 0
!
ip classless
ip http server
ip pim bidir-enable
!
call rsvp-sync
!
!
mgcp profile default
!
dial-peer cor custom
!
line con 0
line aux 0
line vty 0 4
!
end

FR1
FR1#sh run
Building configuration...
Current configuration : 1011 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname FR1
!
ip subnet-zero
!
ip audit notify log
ip audit po max-events 100
frame-relay switching
!
fax interface-type fax-mail
mta receive maximum-recipients 0
!
interface Tunnel0
no ip address
tunnel source Serial0/2
tunnel destination 12.12.12.2
!
interface Serial0/0
no ip address
encapsulation frame-relay
serial restart_delay 0
clockrate 64000
frame-relay intf-type dce
frame-relay route 102 interface Tunnel0 100
frame-relay route 103 interface Tunnel0 101
!
interface Serial0/1
no ip address
shutdown
serial restart_delay 0
!
interface Serial0/2
ip address 12.12.12.1 255.255.255.0
serial restart_delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart_delay 0
!
ip classless
ip http server
ip pim bidir-enable
!
call rsvp-sync
!
mgcp profile default
!         
dial-peer cor custom
!
line con 0
line aux 0
line vty 0 4
!
end

FR2
FR2#  sh run
Building configuration...
Current configuration : 1000 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname FR2
!
ip subnet-zero
!
ip audit notify log
ip audit po max-events 100
frame-relay switching
!      
fax interface-type fax-mail
mta receive maximum-recipients 0
!
interface Tunnel0
no ip address
tunnel source Serial0/2
tunnel destination 12.12.12.1
!
interface Serial0/0
no ip address
encapsulation frame-relay
clockrate 64000
frame-relay intf-type dce
frame-relay route 201 interface Tunnel0 100
!
interface Serial0/1
no ip address
shutdown
serial restart_delay 0
!         
interface Serial0/2
ip address 12.12.12.2 255.255.255.0
!
interface Serial0/3
no ip address
encapsulation frame-relay
clockrate 64000
frame-relay intf-type dce
frame-relay route 301 interface Tunnel0 101
!

ip classless
ip http server
ip pim bidir-enable
!
call rsvp-sync
!
mgcp profile default
!
dial-peer cor custom
!         
line con 0
line aux 0
line vty 0 4
!
end

R2
R2#sh run
Building configuration...
Current configuration : 943 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R2
!
ip subnet-zero
!
ip audit notify log
ip audit po max-events 100
!
fax interface-type fax-mail
mta receive maximum-recipients 0
!
interface Serial0/0
ip address 172.16.1.2 255.255.255.0
encapsulation frame-relay
serial restart_delay 0
clockrate 64000
frame-relay map ip 172.16.1.3 201 broadcast
frame-relay map ip 172.16.1.1 201 broadcast
frame-relay map ip 172.16.1.2 201 broadcast
no frame-relay inverse-arp

!
interface Serial0/1
no ip address
shutdown
serial restart_delay 0
!
interface Serial0/2
no ip address
serial restart_delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart_delay 0
!
ip classless
ip http server
ip pim bidir-enable
!
call rsvp-sync
!
mgcp profile default
!
dial-peer cor custom
!
line con 0
line aux 0
line vty 0 4
!

R3
R3#sh run
Building configuration...
Current configuration : 929 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R3
!
ip subnet-zero
!
ip audit notify log
ip audit po max-events 100
!
fax interface-type fax-mail
mta receive maximum-recipients 0
!
interface Serial0/0
ip address 172.16.1.3 255.255.255.0
encapsulation frame-relay
clockrate 64000
frame-relay map ip 172.16.1.3 301 broadcast
frame-relay map ip 172.16.1.1 301 broadcast
frame-relay map ip 172.16.1.2 301 broadcast
no frame-relay inverse-arp
!

interface Serial0/1
no ip address
shutdown
serial restart_delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart_delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart_delay 0
!
ip classless
ip http server
ip pim bidir-enable
!
call rsvp-sync
!
mgcp profile default
!
dial-peer cor custom
!  
line con 0
line aux 0
line vty 0 4
!
end

R1 show FRame map
R1# sh frame map
Serial0/0 (up): ip 172.16.1.3 dlci 103(0x67,0x1870), static,
              broadcast,
              CISCO, status defined, inactive
Serial0/0 (up): ip 0.0.0.0 dlci 103(0x67,0x1870)
              broadcast,
              CISCO, status defined, inactive
Serial0/0 (up): ip 0.0.0.0 dlci 102(0x66,0x1860)
              broadcast,
              CISCO, status defined, active
Serial0/0 (up): ip 172.16.1.1 dlci 102(0x66,0x1860), static,
              broadcast,
              CISCO, status defined, active
Serial0/0 (up): ip 172.16.1.2 dlci 102(0x66,0x1860), static,
              broadcast,
              CISCO, status defined, active



R2
R2#sh frame map
Serial0/0 (up): ip 172.16.1.3 dlci 201(0xC9,0x3090), static,
              broadcast,
              CISCO, status defined, active
Serial0/0 (up): ip 172.16.1.1 dlci 201(0xC9,0x3090), static,
              broadcast,
              CISCO, status defined, active
Serial0/0 (up): ip 172.16.1.2 dlci 201(0xC9,0x3090), static,
              broadcast,
              CISCO, status defined, active


R3#sh frame map
Serial0/0 (up): ip 172.16.1.3 dlci 301(0x12D,0x48D0), static,
              broadcast,
              CISCO, status deleted
Serial0/0 (up): ip 172.16.1.1 dlci 301(0x12D,0x48D0), static,
              broadcast,
              CISCO, status deleted
Serial0/0 (up): ip 172.16.1.2 dlci 301(0x12D,0x48D0), static,
              broadcast,
              CISCO, status deleted

看这个输出应该是R3 有问题,可以自己也没有找到,找人帮忙看了,也没找到错误!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
发表于 2009-9-24 13:06:45 | 显示全部楼层
...................
发表于 2009-9-24 18:50:59 | 显示全部楼层
thank you !!!!!!!!!!!!!!!!!!!!!!
发表于 2009-9-25 00:37:47 | 显示全部楼层
有点久没有配置FR的tunnel了,明天帮你看看,先休息了~
发表于 2009-9-25 01:03:01 | 显示全部楼层
本帖最后由 task 于 2009-9-25 10:24 编辑

interface Tunnel0/ O' F$ M' K2 P. w$ A: j0 {& n
no ip address, |1 M# y& a3 R3 Y* g1 G( d
tunnel source Serial0/2* {) w" P) `5 F9 @
tunnel destination 12.12.12.2


在做tunnel的时候,FR之间应该使用的是以太网链路。

而且,你R1、R2、R3上,不必要配时钟频率,帧中继交换机配就可以了。

发表于 2009-9-25 10:05:11 | 显示全部楼层
做tunnel,应该用以太网链路。即两台FR,不能用串行接口相连。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-11-22 18:54 , Processed in 0.079948 second(s), 19 queries , Gzip On.

快速回复 返回顶部 返回列表