cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

459
Views
0
Helpful
1
Replies
Beginner

Port range for PAT on Cisco 2921 router

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
VIP Advisor

Re: Port range for PAT on Cisco 2921 router

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

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here