shutdown !
interface Serial2/0 no ip address shutdown !
interface Serial3/0
ip address 222.184.232.2 255.255.255.240 clock rate 64000 !
interface FastEthernet4/0 no ip address shutdown !
interface FastEthernet5/0 no ip address shutdown !
ip classless
ip route 10.0.0.0 255.0.0.0 Serial3/0 !
line con 0 line vty 0 4 login ! end
? 边界路由 BORD#sh run
Building configuration...
Current configuration : 1644 bytes !
version 12.2
no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !
hostname BORD !
interface FastEthernet0/0
- 11 -
ip address 10.11.0.2 255.255.0.0 ip nat inside duplex auto speed auto !
interface FastEthernet1/0
ip address 10.13.0.2 255.255.0.0 ip nat inside duplex auto speed auto !
interface Serial2/0
ip address 10.17.0.1 255.255.0.0 ip nat inside clock rate 64000 !
interface Serial3/0
ip address 222.184.232.1 255.255.255.240 ip nat outside !
interface FastEthernet4/0 no ip address shutdown !
interface FastEthernet5/0 no ip address shutdown !
interface FastEthernet6/0
ip address 10.15.0.2 255.255.0.0 ip nat inside duplex auto speed auto !
interface FastEthernet7/0 no ip address duplex auto speed auto shutdown !
interface FastEthernet8/0
- 12 -
no ip address duplex auto speed auto shutdown !
interface FastEthernet9/0 no ip address duplex auto speed auto shutdown !
router ospf 1
log-adjacency-changes
network 10.11.0.0 0.0.255.255 area 0 network 10.13.0.0 0.0.255.255 area 0 network 10.15.0.0 0.0.255.255 area 0 network 10.17.0.0 0.0.255.255 area 0 default-information originate !
ip nat pool pol10 10.0.0.1 10.255.255.254 netmask 255.0.0.0 ip nat inside source list 10 interface Serial3/0 overload ip nat inside source static 10.18.0.3 222.184.232.3 ip nat inside source static 10.18.0.5 222.184.232.4 ip nat inside source static 10.18.0.6 222.184.232.5 ip classless
ip route 0.0.0.0 0.0.0.0 Serial3/0 ! !
access-list 10 permit 10.0.0.0 0.255.255.255 !
line con 0 line vty 0 4 login ! end
? 校外路由 COR1#sh run
Building configuration...
Current configuration : 1191 bytes !
- 13 -
version 12.2
no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !
hostname COR1 !
interface FastEthernet0/0
ip address 10.14.0.2 255.255.0.0 duplex auto speed auto !
interface FastEthernet1/0
ip address 10.16.0.2 255.255.0.0 duplex auto speed auto !
interface Serial2/0
ip address 10.17.0.2 255.255.0.0 !
interface Serial3/0 no ip address shutdown !
interface FastEthernet4/0 no ip address shutdown !
interface FastEthernet5/0 no ip address shutdown !
interface FastEthernet6/0
ip address 10.12.0.2 255.255.0.0 duplex auto speed auto !
interface FastEthernet7/0
ip address 10.18.0.1 255.255.0.0 duplex auto speed auto
- 14 -
!
interface FastEthernet8/0 no ip address duplex auto speed auto shutdown !
interface FastEthernet9/0 no ip address duplex auto speed auto shutdown !
router ospf 1
log-adjacency-changes
network 10.12.0.0 0.0.255.255 area 0 network 10.14.0.0 0.0.255.255 area 0 network 10.16.0.0 0.0.255.255 area 0 network 10.17.0.0 0.0.255.255 area 0 network 10.18.0.0 0.0.255.255 area 0 !
ip classless !
line con 0 line vty 0 4 login ! end
? 新校区教学核心 TEACHCORE#sh run
Building configuration...
Current configuration : 3623 bytes !
version 12.2
no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !
hostname TEACHCORE
- 15 -