cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
827
Views
0
Helpful
1
Replies

Port range for PAT on Cisco 2921 router

Mike Dang
Level 1
Level 1

Hi forum,

I try to set port range for NAT interface overload mapping on Cisco 2921 router running IOS version 15.5.  It doesn't seem to have feature to set it up.  Does anyone know other ways?  Should I upgrade the IOS to see new IOS will support port range set up?

Thanks in advance,

 

MikeD

1 Reply 1

Philip D'Ath
VIP Alumni
VIP Alumni

Try something like (this example is for two different servers):

 

POOL1 is the first internal server and ports 100 to 300 are NATed through.
POOL2 is a second server and ports 500 to 1000 are NATed through.

 

ip nat pool POOL1 192.168.1.1 192.168.1.1 netmask 255.255.255.0 type rotary
ip nat pool POOL2 192.168.1.2 192.168.1.2 netmask 255.255.255.0 type rotary
ip nat inside destination list 101 pool POOL1
ip nat inside destination list 102 pool POOL2
access-list 101 permit tcp any any range 100 300
access-list 102 permit tcp any any range 500 1000