cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
400
Views
5
Helpful
1
Replies

Port routing configuration

MnJK
Level 1
Level 1

I would like to route two addresses in range of ports 9000-9100

In single port command looks like:

ip nat inside source static tcp 192.168.1.1 9000 192.168.1.2 9000

but i dont know how to enter range of ports?

1 Reply 1

Hello


@MnJK wrote:

I would like to route two addresses in range of ports 9000-9100

In single port command looks like:

ip nat inside source static tcp 192.168.1.1 9000 192.168.1.2 9000

but i dont know how to enter range of ports?


Example:
access-list 100 permit tcp any any range 9000 9100
route-map ACL permit 10
match ip address 100

ip nat inside source static x.x.x.x y.y.y.y route-map ACL


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card