Skip to content

Instantly share code, notes, and snippets.

@silageman
Created September 26, 2017 20:21
Show Gist options
  • Save silageman/87284368c4aced79fb8855cc838c3c38 to your computer and use it in GitHub Desktop.
Save silageman/87284368c4aced79fb8855cc838c3c38 to your computer and use it in GitHub Desktop.
NAT
!
!
interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 172.35.10.2 255.255.255.0
ip nat outside
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip nat pool overload 172.35.10.2 172.35.10.2 netmask 255.255.255.0
ip nat inside source list 7 pool overload overload
ip classless
!
ip flow-export version 9
!
!
access-list 7 permit 192.168.1.0 0.0.0.255
!
!
!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment