Please provide a system topology diagram if the 2 subnets are not on the same router.
And let’s see the configs. There is no need to redact the rfc1918 addresses - please show them in their entirety to make it easier to understand.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
ubus call system board
cat /etc/config/network
cat /etc/config/firewall
Are those other routers connected to ports lan4 and lan5? Or do you want your router to provide those subnets on those ports? Currently, your router is not configured to do anything with those ports. Also, are those subnets Ethernet only or WiFi + Ethernet?
GM Peter,
yes, as you can see in my network.conf I use mwan3 Failover with 192.168.0.1 5G_Modem, Fiber and a Fritzbox using DECT Phones. I use the access for all devices for managing...
config interface 'WAN2_5G'
option proto 'dhcp'
option device 'lan2'
option metric '20'
config device
option type '8021q'
option ifname 'lan2'
option vid '2'
option name 'lan2.2'
config device
option type '8021q'
option ifname 'lan3'
option vid '7'
option name 'lan3.7'
config interface 'Glasfaser'
option proto 'pppoe'
option device 'lan3.7'
option username '***
option password '***'
option ipv6 '0'
option metric '15'
Neuro
Update:
After several hours I can access my first router WAN_5G - 192.168.0.1 connected via lan!!
So my idea is, to break out this lan interface which is connected to Fritzbox DECT Phones similar to WAN_5G router...@egc shows above/ @mk24 in his description
On the other hand I have Glasfaser/Fiber connected same as WAN_5G and I can't connect to 192.168.100.1...but it's PPPoE - do I need a routing or a NAT port forwarding?
There are still lots of things you have not yet answered… It would be helpful if you could be more descriptive/explicit in your responses so that we can reduce the ambiguity.
I think the answer to the above is “yes,” but I’m still not entirely certain.
If there are 3 routers in the network, it’s important for us to understand what we’re working with. This has not yet been answered.
This is also really important… there are many circumstances where one router can do the same job as 2 or 3 and the network topology can be simplified. But obviously there may be specific reasons that you want or need multiple routers in your environment. Can you address this question?
When OpenWrt acquires a DHCP address from the LTE modem/router, it sets up an IP in 192.168.0.0/24 for itself and also a route to it. This is why you can reach the LTE router admin interface without any special configuration.
That does not work for the fiber modem since it is not looking for its own IP inside the pppoe tunnel. You need to place an address directly on the port, outside the VLAN, outside the pppoe tunnel, and using regular ipoe instead.
Place this interface in the wan firewall zone. Note that since this necessarily involves tagged and untagged packets on the same port, it may not work on all hardware.
The Fritzbox in its default configuration expects its wan port to be connected to the Internet, so it intentionally blocks attempts to log in from that network. There are two ways around this:
Open the firewall in the Fritzbox, if possible
Configure Fritzbox as a lan device / bridged AP, if possible. The lan network is trusted so it will allow logins.
How to actually implement either of those options is outside the scope of this forum since the Fritzbox is not running OpenWrt.
If you put the glasfaser_a interface into the wan zone, it will be NATd.
Also you should always be able to ping the fiber modem from inside OpenWrt. The pings will go out from 192.168.100.2 directly. If you use a lan device ping / http it will be SNAT from a LAN IP to 192.168.100.2 in the process of being forwarded because everything in the wan zone gets NAT.
Make sure the modem subnet is 100 as earlier you said 150 and I wrote the configuration for that.