Tags

, , , , ,

Dynamic NAT

# conf t
# ip access-list standard NAT_ADDRESS
# permit 192.168.1.0 0.0.0.255
# deny any
# exit
#
# int f0/1
# ip nat inside
# exit
#
# int f0/0
# ip nat outside
# exit
#
# ip nat inside source list NAT_ADDRESS interface f0/0 overload

 

Static NAT

Lets say we have a server in the internal network with a network address of 192.168.1.100 and we want it to have a static global ip address of 8.8.8.8 so that other people in the internet can have access to the server.

# conf t
# ip nat inside source static 192.168.1.100 8.8.8.8

 

 

Advertisements