0

On a Debian multihomed server, both interfaces eth0, eth1 are configured for DHCP. When the second interface (eth1) is bought up after eth0 is active, the DHCP client is sending out DHCPDISCOVER packets on both eth0 and eth1 interfaces. How can I prevent this behaviour and force DHCP to only broadcast on its interface?

Note, the "invalid argument" error is because I am experimenting with post-up/down settings

Thanks

enter image description here

1

If you will always be bringing eth1 up manually at some point after anything automatic has happened during boot or network restart, then you could set the method on teh device to manual

auto eth1
iface eth1 inet manual

And then instead of ifup eth1 do dhclient -v eth1

1
  • Thanks Ivan, but being a server, I'd like to have this automated at start up
    – 300baud
    Apr 2 '17 at 23:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.