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

NAT routing to an interface

mwtillman
Level 1
Level 1

I am trying to route all incoming traffic for tcp ports 9000 to 15000 on Cellular 0/0 to GigabitEthernet1 and all incoming traffic for tcp ports 9000 to 15000 on Cellular 1/0 to GigabitEthernet2.

 

Everything I am finding shows how to route to an IP address. Is there a way to route interface-specific traffic to specific interfaces?

 

TIA

Mike

1 Reply 1

Francesco Molino
VIP Alumni
VIP Alumni
Hi

What do you mean by nat routing in your title?

Based on your description you want to for to specific interfaces based on tcp ports for inbound traffic on your cellular interfaces. This can be achieved using PBR (policy based routing).
The goal with PBR is to define an acl, and based on that all (using a route-map) you'll tell the router to go to a specific outside interface or a specific next hop ip.

I won't type all commands because there is a great post done to explain each steps:
https://community.cisco.com/t5/networking-documents/how-to-configure-pbr/ta-p/3122774

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question