The R1 router is configured to use NAT (src-nat / masquerade).
R1 has ether1 going to the internet, ether2 going to a switch which goes to R2
The R2 router: I am trying to avoid double-natting. It has no firewall rules and no nat rules.
R2 has ether1 going to ether2 on R1 via the switch, and ether2 going to the new LAN subnet
A small pdf drawing is attached of the setup if it helps visualize.
I have static routes for R1 to the LAN on R2 and vice versa.
I can ping internally across subnets, but I cannot ping anything public from R2
R1 Routes
Code: Select all
# DST-ADDRESS PREF-SRC GATEWAY-STATE GATEWAY DISTANCE INTERFACE
0 ADS 0.0.0.0/0 reachable XX.XX.XX.1 0 ether1
1 A S 10.10.10.0/24 reachable 192.168.1.3 1 ether2
2 ADC XX.XX.XX.0/24 XX.XX.XX.XXX 0 ether1
3 ADC 192.168.1.0/24 192.168.1.1 0 ether2
R2 Routes
Code: Select all
# DST-ADDRESS PREF-SRC GATEWAY-STATE GATEWAY DISTANCE INTERFACE
0 A S 0.0.0.0/32 reachable 192.168.1.1 1 ether1
1 ADC 10.10.10.0/24 10.10.10.1 0 ether2
2 ADC 192.168.1.0/24 192.168.1.3 0 ether1