Hello, i recently bought a Huawei E3372 Hi-Link LTE Dongle and got a data simcard from work to provide 4G failover at home.
So far im able to get a Ethernet interface out of the dongle (plug and play no magic) i get my VyOS router to have 192.168.8.2/24 as IP and the dongle has 192.168.8.1/24 as IP, and when i ping the dongle IP it seems to vary a lot in response times ( as if im pinging the 4G cell tower) so that is a good start. Also i have tested the modem on my laptop without configuring it beforehand and it auto connects to the Internet so it is autoconfigured.
My own minor problem is that since the modem is a router in it self and it means it is a double nat configuration which i cant seem to find a reliable source for. This prevents me from pinging 1.1.1.1 and reach the overall outside Internet via the 4G connection.
Config used:
set protocols static route 0.0.0.0/0 next-hop XXXX (Fiber line static route)
set protocols static interface-route 0.0.0.0/0 next-hop-interface eth5 distance ‘255’
set interfaces ethernet eth5 address ‘192.168.8.2/24’
set interfaces ethernet eth5 description ‘4G Failover’
set interfaces ethernet eth5 duplex ‘auto’
set interfaces ethernet eth5 hw-id ‘0c:5b:8f:27:XX:XX’
set interfaces ethernet eth5 smp-affinity ‘auto’
set interfaces ethernet eth5 speed ‘auto’
Commands used:
fma@glos1ce1dk:~$ ping 1.1.1.1 interface eth5
PING 1.1.1.1 (1.1.1.1) from 192.168.8.2 eth5: 56(84) bytes of data.
From 192.168.8.2 icmp_seq=1 Destination Host Unreachable
From 192.168.8.2 icmp_seq=2 Destination Host Unreachable
From 192.168.8.2 icmp_seq=3 Destination Host Unreachable
fma@glos1ce1dk:~$ ping 192.168.8.1 interface eth5
PING 192.168.8.1 (192.168.8.1) from 192.168.8.2 eth5: 56(84) bytes of data.
64 bytes from 192.168.8.1: icmp_seq=1 ttl=64 time=58.1 ms
64 bytes from 192.168.8.1: icmp_seq=2 ttl=64 time=16.7 ms
64 bytes from 192.168.8.1: icmp_seq=3 ttl=64 time=14.7 ms
fma@glos1ce1dk:~$ show ip route
Codes: K - kernel route, C - connected, S - static, R - RIP,
O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP,
F - PBR, f - OpenFabric,
> - selected route, * - FIB route, q - queued route, r - rejected route
S>* 0.0.0.0/0 [1/0] via XXX.XXX.XXX.XXX, bond0.200, 00:12:54
S 0.0.0.0/0 [255/0] is directly connected, eth5, 00:17:27
S 10.0.0.0/8 [254/0] unreachable (blackhole), 00:22:55
S>* 10.0.0.0/8 [1/0] is directly connected, wg3, 00:22:56
C>* 10.0.1.0/24 is directly connected, bond0.101, 00:23:02
S>* 10.0.90.0/24 [1/0] is directly connected, wg3, 00:22:56
C>* 10.0.100.0/24 is directly connected, wg3, 00:22:57
C>* XXX.XXX.XXX.XXX/XX is directly connected, bond0.200, 00:15:35
S>* 172.16.0.0/12 [254/0] unreachable (blackhole), 00:22:56
S>* 192.168.0.0/16 [254/0] unreachable (blackhole), 00:22:56
C>* 192.168.8.0/24 is directly connected, eth5, 00:23:14
C>* 198.18.0.1/32 is directly connected, dum0, 00:23:17
Can anyone help ?
Currently i have looked at forum posts here and on OpenWRT to get a general idea.