Having both dhcp3 server and dhcp3 relay on the same host

Laurent CARON lcaron at unix-scripts.info
Wed Mar 21 18:45:24 UTC 2007

Simon Hobson wrote:
> You can run a relay agent and a server on the same subnet, in the 
> same way as you can run two servers on the same subnet*. However, you 
> MUST take steps to avoid conflicts and it is generally inadvisable 
> unless the two servers are running as a failover pair.


I think i'll have a "real" dhcp server and a dhcp relay on this subnet.

Here is how the network is built:

Would having this kind of config on my dhcp server located on the subnet be sufficient if i install a dhcp relay on the subnet ?

subnet netmask {
  option domain-name-servers,;
  option subnet-mask;
  option routers;
  option netbios-name-servers;
  option tftp-server-name "";
  option time-servers;
  option time-offset 3600;
  default-lease-time 84600;
  max-lease-time 604800;

How the clients on the subnet will get
class adresses instead of getting addresses?



More information about the dhcp-users mailing list