[NCLUG] RE:DHCP Help (fixed)

Kyle Haefner Kyle.Haefner at colostate.edu
Fri May 30 08:01:01 MDT 2008


Hey all,

It was the shared network statement that was breaking things. 

Kyle



Hello all,

I am trying to set up a dhcp server to serve multiple subnets from the same 
physical interface.  We have the routers proxy the DHCP request from the 
various subnets to this interface (10.174.0.11).  

The problem is that the DHCP server seems to ignore which subnet the request 
arrives from and seemingly haphazardly picks a subnet with which to service 
the request. 

If a request arrives via 10.174.44.1 it is given an IP such as
10.174.201.253. I can reserve IP address by MAC and it works, but is more 
overhead than this should be.

Any ideas what I am doing wrong?

Thanks!

Kyle


shared-network voip{

#if I don't have this 'dummy' subnet dchpd fails to start
subnet 10.174.0.11 netmask 255.255.255.255 {
}


subnet 10.174.44.0 netmask 255.255.255.0 {
  range 10.174.44.12 10.174.44.254;
  option subnet-mask 255.255.255.0;
  option broadcast-address 10.174.44.255;
  option routers 10.174.44.1;
  option domain-name-servers 10.174.0.11, 10.174.0.12;
  default-lease-time 86400;
  max-lease-time 86400;
  option tftp-server-name "10.174.0.11";

}
subnet 10.174.201.0 netmask 255.255.255.0 {
  range 10.174.201.12 10.174.201.254;
  option subnet-mask 255.255.255.0;
  option broadcast-address 10.174.201.255;
  option routers 10.174.201.1;
  option domain-name-servers 10.174.0.11, 10.174.0.12;
  default-lease-time 86400;
  max-lease-time 86400;
  option tftp-server-name "10.174.0.11";

}

}



More information about the NCLUG mailing list