5.6 Configure, verify, and troubleshoot inside source NAT c.PAT

PAT is the same as dynamic nat (Pool). Except there is the “overload” command added.
R1 config:
!
ip dhcp excluded-address 10.0.0.100 10.0.0.254
!
ip dhcp pool vlan100
network 10.0.100.0 255.255.255.0
default-router 10.0.100.100
dns-server 10.0.100.100
!
ip dhcp pool vlan200
network 10.0.200.0 255.255.255.0
default-router 10.0.200.100
dns-server 10.0.200.100
!
interface FastEthernet0/0
no ip address
duplex half
!
interface FastEthernet0/0.100
encapsulation dot1Q 100
ip address 10.0.100.100 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface FastEthernet0/0.200
encapsulation dot1Q 200
ip address 10.0.200.100 255.255.255.0
ip nat inside
ip virtual-reassembly
!
!
interface Ethernet6/0
ip address 1.1.1.1 255.255.255.0
ip nat outside
ip virtual-reassembly
ip ospf 1 area 0
duplex half
!
router ospf 1
log-adjacency-changes
network 1.1.1.0 0.0.0.255 area 0
network 10.0.100.0 0.0.0.255 area 0
network 10.0.200.0 0.0.0.255 area 0
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip nat inside source list 1 interface Ethernet6/0 overload
!
access-list 1 permit any
ip paytScreenshot from 2018-01-11 14-03-47
ip pat stati

Leave a comment

Your email address will not be published. Required fields are marked *