I have been trying to configure the isc-dhcp-server package to assign ip addresses to devices connected to my eth1 adapter.

Current Configuration interfaces:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static


ddns-update-style none;
subnet netmask {
    option domain-name "Network 1";
    option domain-name-servers,;
    option routers;
    default-lease-time 42300;
    max-lease-time 84600;
log-facility local7;

After rebooting the server and ensuring that the isc-dhcp-server is running I plug my Win7 machine into eth1, however it fails to identify the network and get the assigned values from the server.

The only thing I can think of that does not match the standard configuration is that I have 3 ethernet interfaces in total eth0, eth1, eth2 (I am only using eth0 & eth1 currently) and eth0 is connected to a seperate network.

Can anyone tell me why I cannot get the isc-dhcp-server package working?


# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/isc-dhcp-server by the maintainer scripts

# This is a POSIX shell fragment

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
#   Separate multiple interfaces with spaces, e.g. "eth0 eth1".
  • What do you have in the file /etc/default/isc-dhcp-server? – Zoredache Aug 11 '12 at 5:42
  • Updated the question with it. – Alex Hope O'Connor Aug 12 '12 at 7:32
  • 1
    Is the typo eht1 part of it? – Alan Curry Aug 12 '12 at 7:48
  • Yeah the type.... so silly of me to miss that. Thanks heaps. – Alex Hope O'Connor Aug 12 '12 at 10:13

You may need the following line in your dhcpd.conf in the subnet block.

interface eth1;

This helps the dhcp server to bind and respond on this specific interface.

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.