实验来源:工大瑞普Cisco网络技术论坛


说明:本实验是用dynamips模拟的,配置完成后各台路由器无法ping通,R4的接口都是down状态的,起初怀疑配置有问题,经查询资料和把配置发送给高手查验后,基本确定配置没有问题,怀疑是模拟器的问题。(中间莫名其妙的全部接口起来一次,然后又莫名其妙的down掉),先把配置发上来,如果有知道问题处在什么地方的朋友,请留言相告!

R1配置:
Router#show run
Building configuration...

Current configuration : 1115 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
!
ip subnet-zero
!
!
!
!
!
!
!
!
!
!
fax interface-type fax-mail
mta receive maximum-recipients 0
!
!
!
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial1/0
 no ip address
 shutdown
 serial restart_delay 0
!
interface Serial1/1
 no ip address
 shutdown
 serial restart_delay 0
!
interface Serial1/2
 no ip address
 encapsulation frame-relay
 serial restart_delay 0
 frame-relay lmi-type ansi
!
interface Serial1/2.100 point-to-point
 ip address 172.16.1.1 255.255.255.0
 frame-relay interface-dlci 100   
!
interface Serial1/2.200 point-to-point
 ip address 172.16.2.1 255.255.255.0
 frame-relay interface-dlci 200   
!
interface Serial1/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

R2配置:
Router#show run
Building configuration...

Current configuration : 978 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
!
ip subnet-zero
!
!
!
!
!
!
!
!
!
!
fax interface-type fax-mail
mta receive maximum-recipients 0
!
!
!
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial1/0
 no ip address
 shutdown
 serial restart_delay 0
!
interface Serial1/1
 no ip address
 shutdown
 serial restart_delay 0
!
interface Serial1/2
 ip address 172.16.1.2 255.255.255.0
 encapsulation frame-relay
 serial restart_delay 0
 frame-relay map ip 172.16.1.1 101
 frame-relay interface-dlci 101
 frame-relay lmi-type ansi
!
interface Serial1/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

R3配置:
Router#show run
Building configuration...

Current configuration : 988 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
!
ip subnet-zero
!
!
!
!
!
!
!
!
!
!
fax interface-type fax-mail
mta receive maximum-recipients 0
!
!
!
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial1/0
 no ip address
 shutdown
 serial restart_delay 0
!
interface Serial1/1
 no ip address
 shutdown
 serial restart_delay 0
!
interface Serial1/2
 ip address 172.16.2.2 255.255.255.0
 encapsulation frame-relay
 serial restart_delay 0
 frame-relay map ip 172.16.2.1 201 broadcast
 frame-relay interface-dlci 201
 frame-relay lmi-type ansi
!
interface Serial1/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

R4配置:
FrSw#show run
Building configuration...

Current configuration : 1317 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname FrSw
!
!
ip subnet-zero
!
!
!
frame-relay switching
!
!
!
!
!
!
!
fax interface-type fax-mail
mta receive maximum-recipients 0
!
!
!
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface Serial1/0
 no ip address
 encapsulation frame-relay
 serial restart_delay 0
 clockrate 64000
 frame-relay lmi-type ansi
 frame-relay intf-type dce
 frame-relay route 100 interface Serial1/1 101
 frame-relay route 200 interface Serial1/2 201
!
interface Serial1/1
 no ip address
 encapsulation frame-relay
 serial restart_delay 0
 clockrate 64000
 frame-relay lmi-type ansi
 frame-relay intf-type dce
 frame-relay route 101 interface Serial1/0 100
!
interface Serial1/2
 no ip address
 encapsulation frame-relay
 serial restart_delay 0
 clockrate 64000
 frame-relay lmi-type ansi
 frame-relay intf-type dce
 frame-relay route 201 interface Serial1/0 200
!
interface Serial1/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

以上为全部配置。