GL-X750 Wifi repeater routing issue

I have a GL-X750 (on 3.215) which works fine over 4G through its internal modem. However I can’t get it to run it as a repeater for a local wifi service. It connects and logs in to the wifi network but I don’t think it is routing to the correct upstream router:

root@Nerdvana_GW:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.128.63.254   0.0.0.0         UG    20     0        0 wlan-sta
10.128.48.0     0.0.0.0         255.255.240.0   U     20     0        0 wlan-sta
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 br-lan
root@Nerdvana_GW:~# traceroute 1.1.1.1
traceroute to 1.1.1.1 (1.1.1.1), 30 hops max, 38 byte packets
 1  10.128.48.1 (10.128.48.1)  2.671 ms  3.132 ms  5.342 ms
 2  10.128.48.1 (10.128.48.1)  4.764 ms !A  2.497 ms !A  8.509 ms !A
root@Nerdvana_GW:~# 

I don’t understand how or why the first hop goes to 10.128.48.1, instead of to 10.128.63.254.

This behaviour is consistent, either with mwan3 running or not.

Any and all suggestions welcome!
Cheers

can you show info about ifconfig?

It seems that the wifi network you connect to advertise gateway as 10.128.63.254

Hi Alzhao !!

I’m including the full ifconfig below. Yes: I think 10.128.63.254 is the correct gateway and I can’t understand how or why anything goes to 10.128.48.1. I suspect it’s something to do with the /20 address space instead of the more common /24. But I cant’ guess why it happens (only?) in this case.

root@Nerdvana_GW:/etc# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.128.63.254   0.0.0.0         UG    20     0        0 wlan-sta
10.128.48.0     0.0.0.0         255.255.240.0   U     20     0        0 wlan-sta
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        0 br-lan
root@Nerdvana_GW:/etc# ifconfig
br-lan    Link encap:Ethernet  HWaddr 94:83:C4:00:0B:39  
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4738967 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6334374 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:874049880 (833.5 MiB)  TX bytes:2716476778 (2.5 GiB)

eth1      Link encap:Ethernet  HWaddr 94:83:C4:00:0B:39  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4551799 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6213030 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:924283174 (881.4 MiB)  TX bytes:2712370005 (2.5 GiB)
          Interrupt:5 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:2604 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2604 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:224746 (219.4 KiB)  TX bytes:224746 (219.4 KiB)

wlan-sta  Link encap:Ethernet  HWaddr 94:83:C4:00:0B:3A  
          inet addr:10.128.56.195  Bcast:10.128.63.255  Mask:255.255.240.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:394 errors:0 dropped:0 overruns:0 frame:0
          TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:44102 (43.0 KiB)  TX bytes:9009 (8.7 KiB)

wlan1-1   Link encap:Ethernet  HWaddr 96:83:C4:00:0B:3A  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:698 (698.0 B)

root@Nerdvana_GW:/etc# 

So the problem now is that you have no internet via repeater?

Maybe just a captive portal is there.