Tuesday, 16 April 2013

Basic NAT

Static, Dynamic, and NAT overload

Objectives

  • Cable network
  • Assign IP addresses
  • Create default routes
  • Create static route from R2 to reach Dynamic NAT IPs
  • Configure Static NAT
  • Configure Dynamic NAT
  • Configure NAT overload
  • Verify configuration

 

Topology 

 

 

 

Configure Static NAT

R3(config)#ip nat inside source static 192.168.2.1 192.169.100.16
R3(config)#int s0/2/0
R3(config-if)#ip nat outside
R3(config-if)#int fa0/0
R3(config-if)#ip nat inside


Configure Dynamic NAT


R4(config)#ip nat pool NAT_POOL 192.169.100.3 192.169.100.6 netmask 255.255.255.248
R4(config)#ip access-list extended NAT
R4(config-ext-nacl)#permit ip 192.168.1.0 0.0.0.255 any
R4(config)#ip nat inside source list NAT pool NAT_POOL
R4(config)#int s0/3/0
R4(config-if)#ip nat outside
R4(config-if)#int fa0/0
R4(config-if)#ip nat inside


Configure NAT overload


R1(config)#ip access-list extended NAT
R1(config-ext-nacl)#permit ip 192.168.3.0 0.0.0.255 any
R1(config)#ip nat inside source list NAT interface s0/1/0 overload
R1(config)#int s0/1/0
R1(config-if)#ip nat outside
R1(config-if)#int fa0/0
R1(config-if)#ip nat outside


Verify configuration


R1






R3





R4





 

Complete

No comments:

Post a Comment