Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is it possible to assign a subnet to only a portion of the NAT pool?

Status
Not open for further replies.

GeneralDzur

Technical User
Jan 10, 2005
204
US
We have a public IP block, but it only gives us ten IP's. I need to have one subnet (internal) NAT'd (using PAT) onto two of the public IP addresses, and the rest used for NAT/PAT'ing the other subnet. Is it possible to assign one subnet a range of IP's it is allowed to use, out of the entire pool?

Thanks for any help...I'm stumped.
 
Hello
Try the below config,maybe you will need to tweak the subnet and wildcard mask.


ip nat pool natpool x.x.x.x x.x.x.x netmask 255.255.255.0
ip nat pool natpool2 x.x.x.x x.x.x.x netmask 255.255.255.0

ip nat inside source list 1 pool natpool overload
ip nat inside source list 2 pool natpool2 overload

access-list 1 permit 192.168.1.0 0.0.0.255
access-list 1 permit 10.10.10.0 0.0.0.255

Regards
 
Thank-you Minue.

Is it possible to assign just a portion of the pool to PAT'ing? I mean, instead of having two pools
 
Hello
It's possible!Just make the people with the needed addresses.

ip nat pool natpool 1.1.1.1 1.1.1.3 netmask 255.255.255.0

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top