Translate

Wednesday, March 10, 2021

Configuring dynamic NAT on router

Here is the concept and steps needed to configure dynamic routing on a Cisco router.  It's done in 4 steps and if you follow this guide in a lab, your results should be successful.

 

Step 1.

Enable NAT on 2 inside and 1 outside interface on NAT-ing router

conf t

int s0/0/0

description Outside Interface

ip nat outside

int g0/0

description Inside interface to S1

ip nat inside

int g0/1

description Inside interface to S2

ip nat inside

 

Step 2.

Create NAT pool for limited Outside  addresses given to us by Internet provider.  In this case it is 9 addresses from  24.186.149.2 to 24.186.149.10

conf t

ip nat pool DYN-NAT-POOL 24.186.149.2 24.186.149.10 netmask 255.255.255.0

 

Step 3.

Create access list to determine what inside addresses can be NATed

conf t

ip access-list standard INSIDE-NAT-ADDRESSES

permit  10.0.0.0 0.255.255.255

permit  12.0.0.0 0.255.255.255

 

Step 4.

Tie everything  together

ip nat inside source INSIDE-NAT-ADDRESSES pool DYN-NAT-POOL

 

And that aughta do it.  Enjoy your labbing.

No comments:

Post a Comment

Please be respectful when leaving comments. Only constructive commenting is allowed.