DMS
en
conf t
ip routing
int f0/24
no sw
ip add 192.168.0.1 255.255.255.252
no shu
int f0/1
no sw
ip add 192.168.10.251 255.255.255.0
no shu
int f0/2
no sw
ip add 192.168.11.251 255.255.255.0
no shu
end
conf t
route ospf 1
network 192.168.0.0 255.255.255.252 area 0
net 192.168.10.0 255.255.255.0 area 0
net 192.168.11.0 255.255.255.0 area 0
MS1
en
conf t
ip routing
int f0/24
no sw
ip add 192.168.0.5 255.255.255.252
no shu
int f0/23
no sw
ip add 192.168.0.13 255.255.255.252
no shu
int f0/1
no sw
ip add 192.168.20.251 255.255.255.0
no shu
end
conf t
route ospf 1
net 192.168.0.12 255.255.255.252 area 0
net 192.168.0.16 255.255.255.252 area 0
net 192.168.20.0 255.255.255.0 area 0
MS2
en
conf t
ip routing
int f0/24
no sw
ip add 192.168.0.9 255.255.255.252
no shu
int f0/23
no sw
ip add 192.168.0.14 255.255.255.252
no shu
int f0/1
no sw
ip add 192.168.30.251 255.255.255.0
no shu
end
conf t
route ospf 1
net 192.168.0.8 255.255.255.252 area 0
net 192.168.0.12 255.255.255.252 area 0
net 192.168.30.0 255.255.255.0 area 0
end
conf t
int f0/1
ip helper-add 192.168.11.1
CoreSW
en
conf t
ip routing
int f0/1
no sw
ip add 192.168.0.2 255.255.255.252
no shu
int f0/3
no sw
ip add 192.168.0.6 255.255.255.252
no shu
int f0/4
no sw
ip add 192.168.0.10 255.255.255.252
no shu
int g0/1
no sw
ip add 192.168.0.18 255.255.255.252
no shu
end
conf t
route ospf 1
net 192.168.0.0 255.255.255.252 area 0
net 192.168.0.4 255.255.255.252 area 0
net 192.168.0.8 255.255.255.252 area 0
net 192.168.0.16 255.255.255.252 area 0
FR
en
conf t
int g0/0
ip add 192.168.0.17 255.255.255.252
no shu
end
conf t
route ospf 1
net 192.168.0.16 255.255.255.252 area 0
WR
en
conf t
//********************************
FR
en
conf t
ip nat pool NATPOOL 202.194.64.0 202.194.64.200 netmask 255.255.255.0
access-list 1 permit 192.168.0.0 0.0.255.255
access-list 1 deny 192.168.30.0 0.0.0.255
access-list 1 deny 192.168.10.0 0.0.0.255
ip nat inside source list 1 pool NATPOOL
ip nat inside source static 192.168.11.1 202.194.64.251
int g0/0
ip nat inside
int s0/0/0
ip nat outside
end
conf t
ip route 0.0.0.0 0.0.0.0 s0/0/0
router ospf 1
default-information originate
//
access-list 10 permit 192.168.11.0 0.0.0.255
int f0/1
ip access-g 10 out