December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want certain hosts to have static address translation properties and all others to use dynamic translation.
In some cases you might need to use a combination of the two approaches. Some internal devices will always translate to specific external addresses, but others will use a dynamic pool. This is often the case when you have a few internal servers that need to be accessed from outside of the network, but other devices that will only make outbound connections:
Router#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router(config)#access-list15denyRouter(config)#192.168.1.15 0.0.0.0access-list15denyRouter(config)#192.168.1.16 0.0.0.0access-list15permitRouter(config)#192.168.0.0 0.0.255.255ip nat inside source staticRouter(config)#192.168.1.15 172.16.1.10ip nat inside source staticRouter(config)#192.168.1.16 172.16.1.11ip nat poolNATPOOL 172.16.1.100 172.16.1.150netmaskRouter(config)#255.255.255.0ip nat inside source list15poolNATPOOLoverloadRouter(config)#interfaceRouter(config-if)#FastEthernet0/0ip addressRouter(config-if)#192.168.1.1 255.255.255.0ip nat insideRouter(config-if)#exitRouter(config)#interfaceRouter(config-if)#FastEthernet0/1ip addressRouter(config-if)#192.168.2.1 255.255.255.0ip nat insideRouter(config-if)#exitRouter(config)#interfaceRouter(config-if)#Ethernet0/0ip addressRouter(config-if)#172.16.1.2 255.255.255.0
Read now
Unlock full access