Hello all,
Using bullseye lite (terminal only) and DHCP (dhclient) I'm trying to configure two network interfaces, connected to different networks with their own routers.
I would like to configure one or both of the eth? interfaces as a LAN only connection, meaning without a "default gateway" and/or DNS server adresses and such.
I've found some information about what to edit in /etc/dhcp/dhclient.conf, but after rebooting and checking the output of "route" I still see a "gateway" entry for eth1.
Does anybody know what to add/remove/change in that dhclient.conf file to get it to work ?
Remark: I've also seen suggestions to just give eth1 a high metric (so the eth0 gateway is considered first), but that doesn't work for me as eth0 might not be always available.
Regards, Rudy Wieser