All,
outside of my other post, is there anyway to set the default gw to an internal LAN IP on a 7800DXL? I want to do this so I can point to a 4G dongle connected to another access point.
On previous busybox devices I have done this via the SSH interface with the route command (example below), however when I try the SSH connection disconnects but capturing the output gives:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2020.05.10 12:09:50 =~=~=~=~=~=~=~=~=~=~=~=
route add --net default --gw 192.168.1.222 --metric 15 --dev br0
Invalid destination IP address
Aiee, segfault! You should probably report this as a bug to the developer
Set default gateway to LAN IP
-
- Posts: 5398
- Joined: Tue Jul 19, 2011 4:30 pm
Re: Set default gateway to LAN IP
As far as I am aware you can only set the default gateway to the WAN connection eg EWAN >> IP over Ethernetwatcher60 wrote: ↑Sun May 10, 2020 12:14 pm All,
outside of my other post, is there anyway to set the default gw to an internal LAN IP on a 7800DXL? I want to do this so I can point to a 4G dongle connected to another access point.
On previous busybox devices I have done this via the SSH interface with the route command (example below), however when I try the SSH connection disconnects but capturing the output gives:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2020.05.10 12:09:50 =~=~=~=~=~=~=~=~=~=~=~=
route add --net default --gw 192.168.1.222 --metric 15 --dev br0
Invalid destination IP address
Aiee, segfault! You should probably report this as a bug to the developer
-
- Posts: 5
- Joined: Sun May 10, 2020 10:17 am
Re: Set default gateway to LAN IP
Thanks for the reply - that is unfortunate. I guess I could "hack it" by adding the 254 class A routes to work around it