OpenWrt Forum Archive

Topic: I have done something wrong with the default gateway

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Here is my setup

Internet (Adelphia) >>>>>  Linksys Router with default firmware Wifi is DHCP 192.168.2.1 >>>>> Computer 1 192.168.2.100 Connected by WIFI >>>> Computer 1 192.168.0.1 (Windows XP ICS running over Ethernet) >>>> Linksys WRT54GS OPENWRT RC4 connected to WAN IP 192.168.0.2 >>>>>>  OPENWRT Router New Wireless Network 192.168.1.1 


I can connect to the wireless. I can ping 192.168.1.1 and 192.168.0.2 but I can not ping 192.168.0.1 or anything beyond there.

If I SSH into the router I can sucessfully ping 192.168.0.1 but I can not ping 192.168.2.100

Here is how my gateway's are setup

wl0_gateway = 192.168.1.1
wan_gateway = 192.168.0.1

The wan port on Openwrt router is set to static 192.168.0.2 so it can work with Windows XP ICS

Been working on this for a couple days now. What did I forget?

Review your route table on the OpenWrt router and unset your wl0_gateway variable.

The discussion might have continued from here.