Sample Header Ad - 728x90

How to join two subnets (on different interfaces) into one network managed by ISP router

0 votes
1 answer
122 views
I am very new with Linux networking. I have the following network topology: enter image description here I have WiFi router connected to ISP. "Host 1" and Debian 12 server are connected to the router (and Internet) via WiFi. WiFi connection on Debian server uses 'wlo1' interface configured to have static IP address. Here is it's NetworkManager config: enter image description here Debian server has the second ethernet interface 'enp2s0' to which the "Host 2" is connected. I created the following bridge in NetworkManager: enter image description here And added to the bridge ethernet connection based on 'enp2s0' interface: enter image description here Now I have "Network 2" subnet 10.42.0.0/24. The "Host 2" automatically got IP address 10.42.0.139. Here is the output of 'nmcli connection' command: enter image description here From inside Debian server I can successfully ping all devices in "Network 1" and in "Network 2". But I can not ping "Host 2" from "Host 1" and vice versa. So my task is how to configure Debian server to make devices in "Network 2" visible to devices in "Network 1" and vice versa. Ideally I want that "Network 2" to be managed by WiFi router to have the IP addresses 192.168.1.0/24. In other words I want to join "Network 1" and "Network 2" into a single network managed by WiFi router. How can I do that?
Asked by Sergey (101 rep)
Jun 14, 2024, 06:23 PM
Last activity: Jun 15, 2024, 02:44 AM