Guest Posted September 28, 2020 Posted September 28, 2020 Hello everyone, I have a nanopi r2s running the latest minimal focal image, and I'm having trouble with the network configuration. Context: I have an intranet connected to the LAN port (lan0), and my home network connected to the WAN port (eth0). The intranet does not connect to the internet, and both networks have functional DHCP servers on different IP ranges. For some reason the system thinks it should try to access the internet via my intranet, which is definitely not going to work. Suppose the intranet is 10.0.0.0/24, how can I tell the system to use this interface if and only if I'm accessing addresses that falls under this address space, and route everything else to the other interface? I've tired "nmcli c mod $CONNECTION ipv4.never-default true" but it only gave me an error: "Error: Failed to modify connection 'Ifupdown (lan0)': failed to update connection: settings plugin does not support modifying connections".
gnasch Posted September 29, 2020 Posted September 29, 2020 Please verify the configuration of the DHCP servers. The "intranet" one should offer the correct address range and subnet mask for "intranet" but it must "not" offer a default gateway. The home one should offer the correct default gateway for reaching the internet. hth, gnasch
Recommended Posts