¼ÆËã»úÍøÂç¿Î³ÌÉè¼Æ±¨¸æ--Ð£Ô°Íø¹¹½¨·½°¸µÄÉè¼ÆºÍʵÏÖ ÏÂÔØ±¾ÎÄ

logging synchronous line vty 0 4 login ! end

b.ÓëÐ£Çø¶þÏàÁ¬µÄ·ÓÉÆ÷Router2

Building configuration...

Current configuration : 825 bytes !

version 12.4

no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !

hostname Router !

no ip domain-lookup !

interface FastEthernet0/0

ip address 172.16.48.6 255.255.255.252 duplex auto speed auto !

interface FastEthernet0/1 no ip address duplex auto speed auto shutdown !

interface Serial0/0/0

ip address 172.16.48.25 255.255.255.252 !

interface Serial0/0/1

ip address 172.16.48.13 255.255.255.252 clock rate 4000000 !

interface Vlan1 no ip address shutdown !

router ospf 100

log-adjacency-changes

network 172.16.48.4 0.0.0.3 area 0

network 172.16.48.24 0.0.0.3 area 0 network 172.16.48.12 0.0.0.3 area 0 !

ip classless !

line con 0

exec-timeout 0 0 logging synchronous line vty 0 4 login ! end

c.ÓëÐ£ÇøÈýÏàÁ¬µÄ·ÓÉÆ÷Router3

Building configuration...

Current configuration : 806 bytes !

version 12.4

no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !

hostname Router !

no ip domain-lookup !

interface FastEthernet0/0

ip address 172.16.48.10 255.255.255.252 duplex auto speed auto !

interface FastEthernet0/1 no ip address duplex auto speed auto shutdown !

interface Serial0/0/0

ip address 172.16.48.17 255.255.255.252 !

interface Serial0/0/1

ip address 172.16.48.14 255.255.255.252 !

interface Vlan1

no ip address shutdown !

router ospf 100

log-adjacency-changes

network 172.16.48.8 0.0.0.3 area 0 network 172.16.48.12 0.0.0.3 area 0 network 172.16.48.16 0.0.0.3 area 0 !

ip classless !

line con 0

exec-timeout 0 0 logging synchronous line vty 0 4 login ! end

d.Ð£Ô°ÍøµÄ³ö¿Ú·ÓÉÆ÷Router4

Building configuration...

Current configuration : 1836 bytes !

version 12.4

no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption !

hostname Router !

no ip domain-lookup !

interface FastEthernet0/0

ip address 172.16.79.254 255.255.240.0 ip nat inside duplex auto speed auto !

interface FastEthernet0/1

ip address 172.16.48.29 255.255.255.252 ip nat inside duplex auto speed auto !

interface Serial0/0/0

ip address 172.16.48.18 255.255.255.252 ip nat inside

clock rate 4000000 !

interface Serial0/0/1

ip address 172.16.48.22 255.255.255.252 ip nat inside

clock rate 4000000 !

interface Serial0/2/0

ip address 222.191.1.1 255.255.255.0 ip nat outside clock rate 4000000 !

interface Serial0/2/1 no ip address !

interface Vlan1 no ip address shutdown !

router ospf 100

log-adjacency-changes

network 172.16.48.16 0.0.0.3 area 0 network 172.16.48.20 0.0.0.3 area 0 network 172.16.64.0 0.0.15.255 area 0 network 172.16.48.28 0.0.0.3 area 0 network 222.191.1.0 0.0.0.255 area 0 default-information originate !

ip nat pool Campus 222.191.1.3 222.191.1.251 netmask 255.255.255.0 ip nat pool Campus1 222.191.2.1 222.191.2.254 netmask 255.255.255.0 ip nat inside source list 1 pool Campus overload

ip nat inside source static 172.16.64.1 222.191.1.254 ip nat inside source static 172.16.64.2 222.191.1.253 ip nat inside source static 172.16.48.30 222.191.1.252 ip classless

ip route 0.0.0.0 0.0.0.0 222.191.1.2 !

access-list 1 permit 172.16.0.0 0.0.3.255 access-list 1 permit 172.16.4.0 0.0.3.255 access-list 1 permit any

access-list 1 permit 172.16.16.0 0.0.3.255