拓扑如图,暂时目的就是全网能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 有问题,可以自己也没有找到,找人帮忙看了,也没找到错误! |