Temat: mwan3 dziwny problem z routingiem/DNS (w gl.inet)
witajcie.
Przychodzę z dziwnym przypadkiem. Nie widzę logicznego wyjaśnienia dlaczego tak się dzieje.. Wsparcie gl.inet poddało się - przestali się odzywać w tej sprawie.. ![]()
problem jest następujący.
jest sobie router z openwrt. ma podlączony modem mf823 do usb, który ma pracować jako failover.
jak modem nie jest zainicjowany - wszytko działa. jak tylko go zainicjuję to paczek już nie zaktualizuję, DNS idzie w kosmos..
przypadek, gdzie modem jest podłączony, ale nie zainicjowany:
root@GL-MT6000:~# ip r
default via xxx.xxx.xxx.xxx dev eth1 proto static metric 1
10.203.28.0/24 dev wgclient proto kernel scope link src 10.203.28.9
192.168.2.0/24 dev br-lan proto kernel scope link src 192.168.2.1
192.168.4.0/24 dev wgclient scope link
192.168.5.0/24 dev wgclient scope link
192.168.8.0/24 dev wgclient scope link
192.168.9.0/24 dev br-guest proto kernel scope link src 192.168.9.1
xxx.xxx.xxx.xxx/24 dev eth1 proto static scope link metric 1
root@GL-MT6000:~# ping onet.pl
PING onet.pl (13.227.146.64): 56 data bytes
64 bytes from 13.227.146.64: seq=0 ttl=249 time=9.380 ms
^C
--- onet.pl ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 9.380/9.380/9.380 ms
root@GL-MT6000:~# traceroute onet.pl
traceroute to onet.pl (13.227.146.64), 30 hops max, 46 byte packets
1 rev-xxx.xxx.xxx.xxx.atman.pl (xxx.xxx.xxx.xxx) 13.188 ms 8.760 ms 16.015 ms
2 172.18.1.1 (172.18.1.1) 9.054 ms 7.985 ms 10.216 ms
.
. (uciąłem następne hopy - generalnie wszystko działa jak powinno)inicjuję modem (jego podsieć to 192.168.10.0/24i mamy:
root@GL-MT6000:~# ip r
default via xxx.xxx.xxx.xxx dev eth1 proto static metric 1
default via 192.168.10.1 dev usb0 proto static src 192.168.10.193 metric 3
10.203.28.0/24 dev wgclient proto kernel scope link src 10.203.28.9
192.168.2.0/24 dev br-lan proto kernel scope link src 192.168.2.1
192.168.4.0/24 dev wgclient scope link
192.168.5.0/24 dev wgclient scope link
192.168.8.0/24 dev wgclient scope link
192.168.9.0/24 dev br-guest proto kernel scope link src 192.168.9.1
192.168.10.0/24 dev usb0 proto static scope link metric 3
xxx.xxx.xxx.xxx/24 dev eth1 proto static scope link metric 1
root@GL-MT6000:~# ping onet.pl
PING onet.pl (192.168.10.1): 56 data bytes
64 bytes from 192.168.10.1: seq=0 ttl=64 time=0.733 ms
^C
--- onet.pl ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 0.733/0.733/0.733 ms
root@GL-MT6000:~# traceroute onet.pl
traceroute to onet.pl (13.227.146.66), 30 hops max, 46 byte packets
1 xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx) 10.656 ms 13.328 ms 9.937 ms
2 172.18.1.1 (172.18.1.1) 8.685 ms 13.477 ms 14.105 ms
3 217.149.243.1 (217.149.243.1) 10.152 ms 12.625 ms 9.466 ms
4 217.17.39.249 (217.17.39.249) 13.653 ms 21.699 ms 11.734 ms
5 *^Cto mnie zastanawia.. o co tu chodzi?
root@GL-MT6000:~# ping onet.pl
PING onet.pl (192.168.10.1): 56 data bytes
64 bytes from 192.168.10.1: seq=0 ttl=64 time=0.733 msopkg update nie działa (tak zauważyłem ten problem)
root@GL-MT6000:~# opkg update
Downloading http://s3.us-east-2.amazonaws.com/download.gl-inet.com/releases/mt798x/kmod-4.5.7/aarch64_cortex-a53/mediatek/mt7986/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_core
Downloading https://fw.gl-inet.com/releases/mt798x/packages-4.5/aarch64_cortex-a53/glinet/Packages.gz
*** Failed to download the package list from https://fw.gl-inet.com/releases/mt798x/packages-4.5/aarch64_cortex-a53/glinet/Packages.gza wystarczy, że wyłącze modem i mamy:
root@GL-MT6000:~# opkg update
Downloading http://s3.us-east-2.amazonaws.com/download.gl-inet.com/releases/mt798x/kmod-4.5.7/aarch64_cortex-a53/mediatek/mt7986/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_core
Downloading https://fw.gl-inet.com/releases/mt798x/packages-4.5/aarch64_cortex-a53/glinet/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_gli_pub
Downloading https://fw.gl-inet.com/releases/mt798x/packages-4.5/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_gli_packages
Updating database.
Database update completed.konfiguracja routera całkiem prosta. z dodatków działających to wireguard client.
przy zainicjowanym modemie ruch sieciowy idzie na 99% przez główne łącze - na karcie nie ma dużo transferu i gdyby szło wszystko przez lte to transfer skończyłby się w 2 godziny.. ![]()