Is there a way to NAT multiple ports for a single inside IP address using one outside IP address and also do it twice (because I want to do failover to another isp)?
Scenario:
ISP 1 Public IP: 1.1.1.1
ISP 2 Public IP: 2.2.2.2
Local IP: 192.168.1.10
Local IP: 192.168.1.11
192.168.1.10 Ports 40152-40190
192.168.1.11 Ports 40191-40200
I need to NAT 192.168.1.10 (49152-49190) to 1.1.1.1
and
I need to NAT 192.168.1.11 (49191-49200) to 1.1.1.1
Also
I need to NAT 192.168.1.10 (49152-49190) to 2.2.2.2
and
I need to NAT 192.168.1.11 (49191-49200) to 2.2.2.2
If ISP 1 fails I need the NAT to failover to ISP 2.
I know I can do a 1:1 NAT for each port but that is alot of entries.
I want to combine the ports so I can do fewer entries (similar to network objects in an ASA).
Example:
Route-MAP ISP1 permit 10
interface fa0/0
Route-MAP ISP2 permit 10
interface fa0/1
ip nat inside source static tcp 192.168.1.10 49152 1.1.1.1 49152 route-map ISP1
ip nat inside source static tcp 192.168.1.10 49152 2.2.2.2 49152 route-map ISP2
I can't figure a way of not having to do this with all the ports for each ISP.
Scenario:
ISP 1 Public IP: 1.1.1.1
ISP 2 Public IP: 2.2.2.2
Local IP: 192.168.1.10
Local IP: 192.168.1.11
192.168.1.10 Ports 40152-40190
192.168.1.11 Ports 40191-40200
I need to NAT 192.168.1.10 (49152-49190) to 1.1.1.1
and
I need to NAT 192.168.1.11 (49191-49200) to 1.1.1.1
Also
I need to NAT 192.168.1.10 (49152-49190) to 2.2.2.2
and
I need to NAT 192.168.1.11 (49191-49200) to 2.2.2.2
If ISP 1 fails I need the NAT to failover to ISP 2.
I know I can do a 1:1 NAT for each port but that is alot of entries.
I want to combine the ports so I can do fewer entries (similar to network objects in an ASA).
Example:
Route-MAP ISP1 permit 10
interface fa0/0
Route-MAP ISP2 permit 10
interface fa0/1
ip nat inside source static tcp 192.168.1.10 49152 1.1.1.1 49152 route-map ISP1
ip nat inside source static tcp 192.168.1.10 49152 2.2.2.2 49152 route-map ISP2
I can't figure a way of not having to do this with all the ports for each ISP.