| 2.6.1 |
Static
NAT:
Router(config)# ip
nat inside source static ip-add-local
ip-add-global
LAN interface:
Router(config-if)# ip nat inside
WAN interface:
Router(config-if)# ip
nat outside
|
| 2.6.2 |
Dynamic
NAT:
Router(config)# ip nat pool
pool-name start-ip-add end-ip-add netmask mask
Router(config)# access-list number permit
network-address wildcard-mask
Router(config)# ip nat inside source list number
pool pool-name
LAN interface:
Router(config-if)# ip nat inside
WAN interface:
Router(config-if)# ip nat outside
|
| 2.6.3 |
NAT
Overloading
Router(config)# ip
nat pool pool-name start-ip-add end-ip-add
netmask mask
Router(config)# access-list number permit network-address
wildcard-mask
Router(config)# ip nat inside source list number pool
pool-name overload
LAN interface:
Router(config-if)# ip nat
inside
WAN interface:
Router(config-if)# ip nat
outside
|
| 2.6.3 |
TCP Load
Distribution (Round-Robin or Rotary)
Router(config)# ip nat pool
pool-name start-ip-add end-ip-add prefix-length bits
type rotary Router(config)# access-list acl-number permit
ip-add-virtual-host
Router(config)# ip nat inside
destination list acl-number pool pool-name
LAN interface:
Router(config-if)# ip nat inside
WAN interface:
Router(config-if)# ip nat outside
|
| 2.6.3 |
Show
commands
Router# show ip nat
translations
Router# show ip nat statistics
|
| 2.6.3 |
Miscellaneous
commands
Router(config)# ip nat
translation timeout seconds
Router(config)# ip nat translation [tcp, udp, dns]-timeout seconds
|
2.7.2
2.7.3 |
Usually
Serial Interface
Router(config-if)# ip
unnumbered interface
|
| 2.8.1 |
Configuring
DHCP Pool
Router(config)# ip dhcp pool
pool-name
Router(dhcp-config)# network
network-address /bits-borrowed-or-mask
Router(dhcp-config)# default-router default-gateway-address
|
| 2.8.1 |
Excluding
Specific Addresses
Router(config)# ip dhcp
excluded-address start-ip-add end-ip-add
|
| 2.9.3 |
On the
client's router
Router(config-if)# ip
helper-address ip-add-dhcp-server
|