ldean DD-WRT Novice
Joined: 09 Sep 2013 Posts: 6
|
Posted: Wed Sep 11, 2013 20:35 Post subject: default gateway disappearing |
|
Trying to figure out why my linksys E2500 running dd-wrt is consistently losing the default gateway settings.
I have the WAN connection type set to static IP, and have my gateway set there. If I go into a terminal window, and run route, I see there is no default gateway:
Code: |
root@DD-WRT:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
207.*.*.64 * 255.255.255.224 U 0 0 0 vlan2
192.168.1.0 * 255.255.255.0 U 0 0 0 br0
169.254.0.0 * 255.255.0.0 U 0 0 0 br0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
|
I can add a default route manually, and then traffic starts flowing to the internet again:
Code: | root@DD-WRT:~# route add default gw 207.*.*.65
root@DD-WRT:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
207.*.*.64 * 255.255.255.224 U 0 0 0 vlan2
192.168.1.0 * 255.255.255.0 U 0 0 0 br0
169.254.0.0 * 255.255.0.0 U 0 0 0 br0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 207.*.*.65.p 0.0.0.0 UG 0 0 0 vlan2
root@DD-WRT:~# ping 4.2.2.2
PING 4.2.2.2 (4.2.2.2): 56 data bytes
64 bytes from 4.2.2.2: seq=0 ttl=58 time=3.729 ms
64 bytes from 4.2.2.2: seq=1 ttl=58 time=3.883 ms
--- 4.2.2.2 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 3.729/3.806/3.883 ms
root@DD-WRT:~# |
but once I reboot, it disappears again. I think it may have something to do with the fact that I was testing a L2TP tunnel from this device, as every time it would attempt to connect to the L2TP, I would get disconnected locally, and my default gateway would be gone once I got reconnected, but even when I'm not configured as an L2TP connection type, I'm still having this issue of the gateway disappearing.
Seems bizarre to me that you can't create a L2TP tunnel while also specifying static IP info, but it seems to be using the static IP info previously entered after I switch to L2TP mode. I haven't been able to get the tunnel to establish so far though. My bigger concern is this gateway issue however. Any suggestions?
Thanks! |
|