24 April, 2013

Configure NAT


#) Identify Inside and Outside Ports

configure terminal
  interface fastethernet 0/0
   ip nat inside
  interface fastethernet 0/1
   ip nat outside
 end

1) ACL - Extended List (From)

configure terminal
 ip access-list extended NAT-ADDRESSES
 permit ip 10.1.64.0 0.0.7.255 any log (Log Makes Syslog Messages)
end

2) NAT Pool (To)

configure terminal
 ip nat pool PUBLIC-NAT-IPS 192.168.2.80 192.168.2.85 netmask 255.255.255.0
end

3) NAT Configuration

configure terminal 
 ip nat inside source list NAT-ADDRESSES pool PUBLIC-NAT-IPS overload
end

------------------------------------------------------------

1) ACL - Configuration (From)

configure terminal
 ip access-list extended 150
 permit ip 10.1.64.0 0.0.255.255 any
end


2) NAT Configuration

configure terminal 
 ip nat inside source list 150 interface FastEthernet0/1 overload
end


3) NAT Static 

configure terminal
 ip nat inside source static 10.1.71.1 192.168.2.71
end