Here is an issue I have stumbled uppon a couple of times and for which I still have no solution.
I have a NetworkManager managed box with two interfaces. Let's call them *eth0* and *eth1*.
Both NEED to get ip over dhcp, and they both add their default gateway.
What I would like is to have one of them not applying the default gw.
In the last iteration of this situation I learned that NetworkManager creates a
*/var/lib/NetworkManager/dhclient-eth0.conf* from */etc/dhcp/dhclient.conf*.
Is this a missing feature of NetworkManager or I should try to create a new *dhclient.conf* that contains dhcp request information for each iface with different request sections?
Asked by Dolapevich
(164 rep)
Oct 22, 2017, 07:37 AM
Last activity: Feb 2, 2023, 08:35 AM
Last activity: Feb 2, 2023, 08:35 AM