DHCP server (version 4) with an alias IP address

Simon Hobson dhcp1 at thehobsons.co.uk
Thu Sep 30 07:02:39 UTC 2010

Steven Shiau wrote:

>Is that possible to use an alias IP address to run the DHCP service 4?


>We have been used dhcp3 service with this method for a long time, 
>however, recently we switched to 4.1 or 4.2, and we hit an issue 
>that the dhcpd always complains "No subnet declaration for eth0 

Which is correct - you are missing a declaration for it. You need a 
shared network declaration, and a declaration for the other subnet :

shared-subnet "some-identifier" {
   subnet netmask {
     option subnet-mask;
     option routers;

     pool {
   subnet netmask {

Note. In this case shared-network is correct because 
and are both on the same broadcast domain. Not to be 
confused with VLANs etc.

Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.

More information about the dhcp-users mailing list