络拓扑如下:
路由器配置如下:
香洲总部:
Current configuration
!
version 1.5.6
login telnet
enable password [_20.;5#6%0T*U'6=`RO:1!!
user cisco service-type exec password 0 cisco
hostname 2620
!
interface Aux0
async mode interactive
encapsulation ppp
!
interface Ethernet0
speed auto
duplex auto
no loopback
ip address 192.168.0.10 255.255.255.0
ip rip version 2 mcast
!
interface Serial0
clock-select DTECLK1
encapsulation frame-relay
ip rip version 2 mcast
!
interface Serial0.1 Point-to-Point
frame-relay interface-dlci 501
ip address 10.10.10.1 255.255.255.0
ip rip version 2 mcast
!
interface Serial0.2 Point-to-Point
frame-relay interface-dlci 502
ip address 10.10.20.1 255.255.255.0
ip rip version 2 mcast
!
interface Serial0.3 Point-to-Point
frame-relay interface-dlci 503
ip address 10.10.30.1 255.255.255.0
ip rip version 2 mcast
!
interface Serial0.4 Point-to-Point
frame-relay interface-dlci 504
ip address 10.10.40.1 255.255.255.0
ip rip version 2 mcast
!
interface Serial1
encapsulation ppp
!
exit
router rip
network 172.16.0.0
network 10.0.0.0
!
exit
ip route 172.16.1.0 255.255.255.0 10.10.10.2 preference 60
ip route 172.16.2.0 255.255.255.0 10.10.20.2 preference 60
ip route 172.16.3.0 255.255.255.0 10.10.30.2 preference 60
ip route 172.16.4.0 255.255.255.0 10.10.40.2 preference 60
!
end
拱北分部:
Current configuration
!
version 1.4.1
login telnet
enable password 4S`QCW^%C'^4*LB=JYA']1!!
user cisco service-type exec password 0 cisco
!
interface Ethernet0
ip address 172.16.2.1 255.255.255.0
ip rip version 2 mcast
!
interface Serial0
encapsulation frame-relay
frame-relay lmi-type ansi
frame-relay interface-dlci 502
ip address 10.10.20.2 255.255.255.0
ip rip version 2 mcast
!
interface Bri0
encapsulation ppp
dialer in-band
!
exit
router rip
network 172.16.0.0
network 10.0.0.0
network 192.168.0.0
!
exit
ip route 192.168.0.0 255.255.255.0 10.10.20.1 preference 60
!
end
唐家湾分部:
Current configuration
!
version 1.4.1
login telnet
enable password 4S`QCW^%C'^4*LB=JYA']1!!
user cisco service-type exec password 0 cisco
!
interface Ethernet0
ip address 172.16.3.1 255.255.255.0
ip rip version 2 mcast
!
interface Serial0
clock-select DTECLK1
encapsulation frame-relay
frame-relay lmi-type ansi
frame-relay interface-dlci 503
ip address 10.10.30.2 255.255.255.0
ip rip version 2 mcast
!
interface Bri0
encapsulation ppp
dialer in-band
!
exit
router rip
network 192.168.0.0
network 172.16.0.0
network 10.0.0.0
!
exit
ip route 192.168.0.0 255.255.255.0 10.10.30.1 preference 60
!
end
金顶分部:
Current configuration
!
version 1.4.1
login telnet
enable password 4S`QCW^%C'^4*LB=JYA']1!!
user cisco service-type exec password 0 cisco
!
interface Ethernet0
ip address 172.16.4.1 255.255.255.0
ip rip version 2 mcast
!
interface Serial0
clock-select DTECLK1
encapsulation frame-relay
frame-relay lmi-type ansi
frame-relay interface-dlci 504
ip address 10.10.40.2 255.255.255.0
ip rip version 2 mcast
!
interface Bri0
encapsulation ppp
dialer in-band
!
exit
router rip
network 192.168.0.0
network 172.16.0.0
network 10.0.0.0
!
exit
ip route 192.168.0.0 255.255.255.0 10.10.40.1 preference 60
!
end
南西分部:
Current configuration
!
version 1.4.1
login telnet
enable password 4S`QCW^%C'^4*LB=JYA']1!!
user cisco service-type exec password 0 cisco
!
interface Ethernet0
ip address 172.16.1.1 255.255.255.0
ip rip version 2 mcast
!
interface Serial0
encapsulation frame-relay
frame-relay lmi-type ansi
frame-relay interface-dlci 501
ip address 10.10.10.2 255.255.255.0
ip rip version 2 mcast
!
interface Bri0
encapsulation ppp
dialer in-band
!
exit
router rip
network 192.168.0.0
network 172.16.0.0
network 10.0.0.0
!
exit
ip route 192.168.0.0 255.255.255.0 10.10.10.1 preference 60
!
end