I’m trying to setup a second subnet that will have internet access and be accessible from the outside via RDP.
I have the following:
Cable modem >>>>>> Linksys E1500 >>>>>>>>>>>>>>>>>>>>>>> WAN port of WRT-54G
DD-WRT (Sp2) DD-wrt (V24-SP1)
192.168.1.1 192.168.2.1
If I leave the WRT-54G set to Gateway mode I can get to the internet but nothing from outside (RDP) can get in. I changed the mode to router on the WRT and set it to a fixed IP:
WAN IP 192.168.1.2
Subnet 255.255.255.0
Gateway 192.168.1.1
DNS 192.168.1.1
Dropped the firewall on both routers. What I don’t understand is how to specify the next hop for the WRT-54G. I can’t get on the net in router mode only Gateway mode. I can’t ping 192.168.1.1 from 192.168.2.144 (just some workstation).
In the E1500 I have created a route that looks like:
Destination LAN Net 192.168.2.0
Subnet mask 255.255.255.0
Gateway 192.168.1.2
I’ve tried to follow the instructions in
http://www.dd-wrt.com/wiki/index.php/Linking_Subnets_with_Static_Routes but just can’t get communication with the WRT-54G in router mode.
So the question: How do I tell 192.168.2.1 to use 192.168.1.1 as its next hop?