I have the following configuration:
- A raspberry pi under OpenWRT (ROOter), eth0 connected to the WAN port of my Edgerouter (Router, 192.168.1.1)
- An USB-LAN adapter installed on the Pi, eth1 with an IP on a different subnet as eth0. It's currently the management interface that allows me to access OpenWRT.
- An M.2 LTE modem connected to the Pi, wwan0
What I want, is that Openwrt bridges the internet connection, in other words, that the Edgerouter on the other end gets the public internet IP.
Now, when I bridge eth0 and wwan0, but let the DHCP server on, on the LAN (eth0) interface, I have internet connectivity. The Edgerouter, of course gets a private IP address (192.168.3.1).
But when I turn the DHCP server off on LAN (eth0) interface, I loose the internet connectivity. The router doesn't get an IP, and more curiously, the LTE modem looses it's internet connectivity too.
So, what's wrong with the configuration??? I thought that if I disable the DHCP server, OpenWRT would bridge the internet connection. But it's not.
What have I done wrong?
When I bridge eth0 and wwan0, should I set it up on the eth0 interface configuration page, on the wwan0 configuration page, or both???