You are not logged in.
I have two interfaces eth0 and eth1 and eth0 id configured to use static ip address and eth1 configure to obtain ip lease.
When eth1 interface comes up dhcpc obtains ip addresses for both eth0 and eth1 and eth0 gets two ip addresses.
How I can stop dhcpc from obtaining ip address for eth0 and limit it to eth1. Do I need to switch interfaces around and start eth0 with dhcp and then eth1 with staic ip address or
is there comman I can add to netcfg config file to stop that behavior.
Offline
You can add either "allowinterfaces eth1" or "denyinterfaces eth0" to /etc/dhcpcd.conf, depending on whether you want a future hypothetical eth2 to be assigned an address by dhcpcd or not.
Offline