Cisco - Spanning Tree Protocol Tutorial
February 7, 2008
1-6 The appropriate static routes on HQ and ISP
HQ: ip route 0.0.0.0 0.0.0.0 s0
ISP: ip route 203.170.56.96 255.255.255.248 s0
7-15
The ISP has allocated HQ the IP adddress rnage, 203.170.56.96/28. The firs ten are set aside for the server’s use. The first are statically
ip nat inside source static 172.22.6.2 203.170.56.97
ip nat inside source static 172.22.8.2 203.170.56.98
int e0
ip nat in
int e1
ip nat in
int s0
ip nat out
16-28
ip nat pool nat-pool 203.170.56.107 203.170.56.110 prefix 28
access-list 1 permit 172.22.6.0 0.0.1.255
ip nat inside source list 1 pool nat-pool overload
int e1
ip nat in
int s0
ip nat out
January 31, 2008
An ISP has given the company the network block 200.200.100.32/27
Write down the command lines to configure the ff. NAT tasks on Orion:
(1) The web server from the Orion Ethernet network must be statically assigned the first global address.
ip nat inside source static 172.16.0.2 200.200.100.33
int e0
ip nat in
int s1
ip nat out
(2)The next five addresses are reserved for others servers while the remaining addresses should be dynamically assigned to all the WSs from the Andromeda Ehternet network, which should be allowed to simultaneously use the Internet.
ip nat pool Andromeda 200.200.100.39 200.200.100.62 prefix 27
access-list 1 permit 172.16.0.128 0.0.0.127
ip nat inside source list 1 pool Andromeda overload
int s1
ip nat out
int s0
ip nat in
(3) It was later decided that instead of the remaining global address pool, the address of the Serial1 interface of the Orion router will be used by all the users from the Andromeda Ethernet network
clear ip nat trans *
no ip nat pool Andromeda
no ip nat inside source list
ip nat inside source list 1 int s1 overload
January 3, 2008
Switch Configuration
config t
hostname switch 1
enable password level 15 cisco
enable secret class
ip add 192.168.1.2 255.255.255.0
ip default-gateway 192.168.1.1
interface e0/4
port secure
port secure max 1
before coming to class on tuesday, know the commands applicable to the switch 2900