[SOLVED] How to get routing between subnets working?
Posted: Sat Dec 01, 2012 8:05 am
I recently upgraded my Buffalo WZR-HP-G300NH2 from DD-WRT (Buffalo build) to Gargoyle 1.5.8. I also have a DLink DIR-825 running DD-WRT.
The DLink acts as a router for a separate subnet (192.168.1.x) than the Buffalo which is the primary router for the 192.168.0.x subnet. The Dlink has a WAN IP of 192.168.0.200 so that it can provide connectivity for its subnet. Under DD-WRT, I would setup a static route as follows:
Metric:1
Destination: 192.168.1.0
Subnet: 255.255.255.0
Gateway: 192.168.0.200
Interface: LAN&WLAN
After this setup, I could ping hosts on both subnets. In Gargoyle, I tried to replicate the above as follows:
Destination: 192.168.1.0/255.255.255.0
Network: LAN
Gateway: 192.168.0.200
Once I saved these settings, I tried pinging the DLink on both 192.168.0.200 and 192.168.1.1 addresses but did not succeed.I noticed that the metric for the route was set to 0, which in DD-WRT is apparently incorrect. I then tried changing the metric via the uci command line (uci set network.route1.metric=10) but that did not help either.
Any suggestions on what to do next?
The DLink acts as a router for a separate subnet (192.168.1.x) than the Buffalo which is the primary router for the 192.168.0.x subnet. The Dlink has a WAN IP of 192.168.0.200 so that it can provide connectivity for its subnet. Under DD-WRT, I would setup a static route as follows:
Metric:1
Destination: 192.168.1.0
Subnet: 255.255.255.0
Gateway: 192.168.0.200
Interface: LAN&WLAN
After this setup, I could ping hosts on both subnets. In Gargoyle, I tried to replicate the above as follows:
Destination: 192.168.1.0/255.255.255.0
Network: LAN
Gateway: 192.168.0.200
Once I saved these settings, I tried pinging the DLink on both 192.168.0.200 and 192.168.1.1 addresses but did not succeed.I noticed that the metric for the route was set to 0, which in DD-WRT is apparently incorrect. I then tried changing the metric via the uci command line (uci set network.route1.metric=10) but that did not help either.
Any suggestions on what to do next?