NAT+&+PAT

=Basic Configuration=

config# access-list 50 permit 192.168.1.0 0.0.0.255 config# ip nat pool WORD 209.50.1.3 205.50.1.254 255.255.255.0 config# ip nat inside source list 50 pool WORD [overload] (combine acl and pool) config-if# ip nat [inside|outside]

=Static=

one-to-one config# ip nat inside source static 10.1.1.2 200.1.1.2 (inside local, inside global)

=Dynamic (without PAT)=

one-to-one

=DHCP and Overloading=

config#ip nat inside source list 50 interface e0 overload (specifies an interface instead of ip address so dhcp can be used; uses overloading which involves ports)

=Translation from Outside to Inside (PAT)=

config# ip nat inside source static tcp 192.168.1.10 3389 interface e0 3389 (translates outside port to inside port)

=Embedded Address (with IP Phone)=

config# ip nat service skinny tcp port 2001 (skinny is the cisco ip phone protocol)

= View/Debug Commands = = = show ip nat translations debug ip nat clear ip nat translations *