IP
地址
R1 S1/0 :199.99.1.1/24
R2 S1/0 :199.99.1.2/24
R3 S1/0 :199.99.1.3/24
R2 S1/1 :199.99.2.1/24
R3 S1/1 :199.99.2.2/24
R3 S1/2 :199.99.3.1/24
R4 S1/2 :199.99.3.2/24
R1 S1/1 :199.99.4.1/24
R4 S1/1 :199.99.4.2/24
具体配置看下面~
一、R1的配置
R1#sh run
Building configuration...
00:07:35: %SYS-5-CONFIG_I: Configured from console by console
Current configuration : 1041 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R1
!
enable password cisco
!
ip subnet-zero
ip cef
!
!
no ip domain-lookup
!
call rsvp-sync
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
ip address 199.99.1.1 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
frame-relay map ip 199.99.1.1 102 broadcast
frame-relay map ip 199.99.1.2 102 broadcast
frame-relay map ip 199.99.1.3 103 broadcast
no frame-relay inverse-arp
!
interface Serial1/1
ip address 199.99.4.1 255.255.255.0
serial restart-delay 0
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
ip classless
no ip http server
!
!
dial-peer cor custom
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
exec-timeout 0 0
logging synchronous
line vty 0 4
exec-timeout 0 0
password cisco
login
!
end
二、R2的配置
R2#sh run
Building configuration...
Current configuration : 1141 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R2
!
enable password cisco
!
ip subnet-zero
ip cef
!
!
no ip domain-lookup
!
call rsvp-sync
!
!
!
!
--More--
00:13:27: %SYS-5-CONFIG_I: Configured from console by console
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
ip address 199.99.1.2 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
frame-relay map ip 199.99.1.1 201 broadcast
frame-relay map ip 199.99.1.2 201 broadcast
no frame-relay inverse-arp
!
interface Serial1/1
ip address 199.99.2.1 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
frame-relay map ip 199.99.2.1 405 broadcast
frame-relay map ip 199.99.2.2 405 broadcast
no frame-relay inverse-arp
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
ip classless
no ip http server
!
!
dial-peer cor custom
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
exec-timeout 0 0
logging synchronous
line vty 0 4
exec-timeout 0 0
password cisco
login
!
end
三、R3
的配置
R3#show running-config
Building configuration...
Current configuration : 1298 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R3
!
enable password cisco
!
ip subnet-zero
ip cef
!
!
no ip domain-lookup
!
call rsvp-sync
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
ip address 199.99.1.3 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
frame-relay map ip 199.99.1.1 301 broadcast
frame-relay map ip 199.99.1.3 301 broadcast
no frame-relay inverse-arp
!
interface Serial1/1
ip address 199.99.2.2 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
frame-relay map ip 199.99.2.1 504 broadcast
frame-relay map ip 199.99.2.2 504 broadcast
no frame-relay inverse-arp
!
interface Serial1/2
ip address 199.99.3.1 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
frame-relay map ip 199.99.3.1 607 broadcast
frame-relay map ip 199.99.3.2 607 broadcast
no frame-relay inverse-arp
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
ip classless
no ip http server
!
!
dial-peer cor custom
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
exec-timeout 0 0
logging synchronous
line vty 0 4
exec-timeout 0 0
password cisco
login
!
End
四、R4
的配置
R4#sh run
Building configuration...
Current configuration : 986 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R4
!
enable password cisco
!
ip subnet-zero
ip cef
!
!
no ip domain-lookup
!
call rsvp-sync
!
!
!
!
--More--
00:17:21: %SYS-5-CONFIG_I: Configured from console by console
!
!
!
!
interface FastEthernet0/0
no ip address
duplex half
!
interface Serial1/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/1
ip address 199.99.4.2 255.255.255.0
serial restart-delay 0
!
interface Serial1/2
ip address 199.99.3.2 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
frame-relay map ip 199.99.3.1 706 broadcast
frame-relay map ip 199.99.3.2 706 broadcast
no frame-relay inverse-arp
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
ip classless
no ip http server
!
!
dial-peer cor custom
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
logging synchronous
line aux 0
exec-timeout 0 0
logging synchronous
line vty 0 4
exec-timeout 0 0
password cisco
login
!
end