配置: R2(部分):
interface Multilink1
ip address 23.1.1.2 255.255.255.0
ppp chap hostname ruijie
ppp chap password 7 104D000A0618
ppp multilink
ppp multilink group 1
!
interface FastEthernet0/0
ip address 12.1.1.2 255.255.255.0
duplex half
!
interface Serial1/0
no ip address
encapsulation ppp
serial restart-delay 0
ppp multilink
ppp multilink group 1
!
interface Serial1/1
no ip address
encapsulation ppp
serial restart-delay 0
ppp multilink
ppp multilink group 1
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
network 12.1.1.0 0.0.0.255 area 0
network 23.1.1.0 0.0.0.255 area 0
!
R3(部分):
username ruijie password 7 030752180500
interface Multilink1
ip address 23.1.1.3 255.255.255.0
ppp authentication chap
ppp multilink
ppp multilink group 1
!
interface Serial1/0
no ip address
encapsulation ppp
serial restart-delay 0
ppp multilink
ppp multilink group 1
!
interface Serial1/1
no ip address
encapsulation ppp
serial restart-delay 0
ppp multilink
ppp multilink group 1
!
interface Serial1/2
ip address 35.1.1.3 255.255.255.0
encapsulation frame-relay
ip ospf network point-to-point
serial restart-delay 0
no arp frame-relay
frame-relay map ip 35.1.1.5 305 broadcast
no frame-relay inverse-arp
!
router ospf 1
router-id 3.3.3.3
log-adjacency-changes
network 23.1.1.0 0.0.0.255 area 0
network 35.1.1.0 0.0.0.255 area 0
R4(部分):
no ip routing
frame-relay switching
!
interface Serial1/0
no ip address
encapsulation frame-relay
no ip route-cache
serial restart-delay 0
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 503 interface Serial1/2 305
!
interface Serial1/1
no ip address
no ip route-cache
shutdown
serial restart-delay 0
!
interface Serial1/2
no ip address
encapsulation frame-relay
no ip route-cache
serial restart-delay 0
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 305 interface Serial1/0 503
!
R5(部分):
interface Serial1/0
ip address 35.1.1.5 255.255.255.0
encapsulation frame-relay
ip ospf network point-to-point
serial restart-delay 0
no arp frame-relay
frame-relay map ip 35.1.1.3 503 broadcast
no frame-relay inverse-arp
!
router ospf 1
router-id 5.5.5.5
log-adjacency-changes
network 35.1.1.0 0.0.0.255 area 0
network 56.1.1.0 0.0.0.255 area 0