Alcatel IK41VE1 USB LTE Modem failing routing

I plug the USB modem to openWrt device.
and then, I check the USB modem status(activated), and assigned the dhcp ip address(192.168.1.164) from openWrt device.

I expect data service thru USB modem.
but, It's not working.

Please let me know what do I to check.

Detail configuration of USB modem and openWrt device as below.

  • OpenWrt : OpenWrt 19.07-SNAPSHOT - r11278-8055e38794
  • USB modem : Alcatel IK41VE1

// LTE USB Modem is activated

root@openWrt:~# echo at+cgact? | socat - /dev/ttyUSB0,crnl

**+CGACT: 1,1**
+CGACT: 2,0
+CGACT: 3,0

OK

// LTE USB Modem was assigned from mobile network

root@openWrt:~# echo at+cgpaddr | socat - /dev/ttyUSB0,crnl

**+CGPADDR: 1,10.128.54.75**
+CGPADDR: 2,0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0
+CGPADDR: 3,0.0.0.0,0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0

OK

// Device list

root@openWrt:~# ll /dev/ttyU*
crw-rw----    1 root     dialout   188,   0 Jan  1 00:16 /dev/ttyUSB0
crw-rw----    1 root     dialout   188,   1 Jan  1 00:16 /dev/ttyUSB1

**// check the usbmode**
root@openWrt:~# echo at+usbmode? | socat - /dev/ttyUSB0,crnl

+USBMODE:0

OK

// USB drvices

root@openWrt:~# lsusb
Bus 003 Device 006: ID 1bbb:01aa T & A Mobile Phones 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

// USB drvices tree

root@openWrt:~# lsusb -t
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-brcm/1p, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-brcm/1p, 480M
    |__ Port 1: Dev 6, If 0, Class=Wireless, Driver=rndis_host, 480M
    |__ Port 1: Dev 6, If 1, Class=CDC Data, Driver=rndis_host, 480M
    |__ Port 1: Dev 6, If 2, Class=Vendor Specific Class, Driver=option, 480M
    |__ Port 1: Dev 6, If 3, Class=Vendor Specific Class, Driver=option, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-brcm/1p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-brcm/0p, 480M

// runnging the udhcpc

root@openWrt:~# ps -ef | grep dhcp
root      8607  5530  0 00:17 ?        00:00:00 udhcpc -p /var/run/udhcpc-usb0.pid -s /lib/netifd/dhcp.script -f -T 4 -t 5 -A 60 -i usb0 -x hostname:openWrt -C -O 121

// Network configuration

root@openWrt:~# ip a s
27: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group 2 qlen 1000
    link/ether 00:00:00:56:34:12 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.164/24 brd 192.168.1.255 scope global usb0
       valid_lft forever preferred_lft forever
    inet6 fe80::9a77:e7ff:fe33:1738/64 scope link 
       valid_lft forever preferred_lft forever

// Interface configuration

root@openWrt:~# ifconfig usb0
usb0      Link encap:Ethernet  HWaddr 00:00:00:56:34:12  
          inet addr:192.168.1.164  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::9a77:e7ff:fe33:1738/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:111463 errors:0 dropped:0 overruns:0 frame:0
          TX packets:113932 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:8870974 (8.4 MiB)  TX bytes:16145852 (15.3 MiB)
root@openWrt:~# ip route
default via 192.168.1.1 dev usb0 proto static src 192.168.1.164 
172.31.255.0/24 dev privbr proto kernel scope link src 172.31.255.20 
192.168.0.0/24 dev br0 proto kernel scope link src 192.168.0.1 
192.168.1.0/24 dev usb0 proto kernel scope link src 192.168.1.164 
192.168.100.1 dev privbr proto static scope link 
192.168.170.0/24 dev br2 proto kernel scope link src 192.168.170.1 linkdown 
192.168.178.0/24 dev br3 proto kernel scope link src 192.168.178.1 linkdown 
root@openWrt:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 usb0
172.31.255.0    0.0.0.0         255.255.255.0   U     0      0        0 privbr
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 br0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 usb0
192.168.100.1   0.0.0.0         255.255.255.255 UH    0      0        0 privbr
192.168.170.0   0.0.0.0         255.255.255.0   U     0      0        0 br2
192.168.178.0   0.0.0.0         255.255.255.0   U     0      0        0 br3

// Successful ping to 192.168.1.1

root@openWrt:~# ping 192.168.1.1 -c 3
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: seq=0 ttl=64 time=1.517 ms
64 bytes from 192.168.1.1: seq=1 ttl=64 time=1.284 ms
64 bytes from 192.168.1.1: seq=2 ttl=64 time=2.812 ms

--- 192.168.1.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.284/1.871/2.812 ms

// Fail ping 8.8.8.8

root@openWrt:~# ping 8.8.8.8 -c 3
PING 8.8.8.8 (8.8.8.8): 56 data bytes

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss

// uci value of network

root@openWrt:~# uci show network | grep .wan
network.wan=interface
network.wan.proto='dhcp'
network.wan.ifname='usb0'
network.wan6=interface
network.wan6.proto='dhcpv6'
network.wan6.ifname='usb0'

Not clear to me who's got what IP.

If your routers LAN IP is 192.168.1.1, and the usb modem assigns the router 192.168.1.164,
it won't work.
The WAN and LAN subnets can't be the same.

You have to move one of the subnets, so it isn't 192.168.1

uci set network.lan.ipaddr='192.168.2.1'
uci commit network
/etc/init.d/network restart

I also assume the modem interface is assigned to the wan firewall zone ?

Thank you for your comment.

The lan configuration was as below.

root@openWrt:/# uci get network.lan.ipaddr
192.168.0.1

BTW,
I have another LTE USB dongle made by ZTE.
It is the MF833U1.
When using the ZTE dongle, the device can use LTE data normally.
When I check in the Windows 10 environment, the difference between Alcatel and ZTE is whether or not they have their own NAT configuration.
Alcatel uses the IP address assigned from the mobile network as it is.
I think this difference in configuration might be the root cause of the problem.

// Windows 10

// ZTE
Ethernet adapter Ethernet 5:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::2834:bde6:4fc0:cc9e%18
   IPv4 Address. . . . . . . . . . . : **192.168.0.178**
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.0.1
   

// Alcatel IK41
Mobile Broadband adapter Cellular 4:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : fe80::89c3:ae5e:a28f:b9e6%24
   IPv4 Address. . . . . . . . . . . : **10.19.166.172**
   Subnet Mask . . . . . . . . . . . : 255.255.255.248
   Default Gateway . . . . . . . . . : 10.19.166.173