Page 1 of 1

Set default gateway to LAN IP

Posted: Sun May 10, 2020 12:14 pm
by watcher60
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

Re: Set default gateway to LAN IP

Posted: Mon May 11, 2020 9:13 am
by billion_fan
watcher60 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
As far as I am aware you can only set the default gateway to the WAN connection eg EWAN >> IP over Ethernet

Re: Set default gateway to LAN IP

Posted: Mon May 11, 2020 9:42 am
by watcher60
Thanks for the reply - that is unfortunate. I guess I could "hack it" by adding the 254 class A routes to work around it