Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] learning dhcpd


Alexander Samad wrote:
On Thu, Jul 08, 2004 at 12:14:23AM +1000, Simon Males wrote:

Alexander Samad wrote:

On Wed, Jul 07, 2004 at 07:34:23PM +1000, Simon Males wrote:


I am trying to serve dhcp out of eth2, eth0 is my optus internet connection. Can i specify in dhcp which interface to use?


  snip

}


If its debian look in /etc/defaults/dhcp3-server
other wise try man dhcpd

interfaces are supplied as an option



run this dpkg -l 'dhcp*' | grep ii

this is the output I get ii dhcp3-client 3.0+3.0.1rc14- DHCP Client
ii  dhcp3-common   3.0+3.0.1rc14- Common files used by all the dhcp3*
packages
ii  dhcp3-server   3.0+3.0.1rc14- DHCP server for automatic IP address
assignm

this is a copy of /etc/default/dhcp3-server
#       Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="br0 eth3 eth4"

$ dpkg -l 'dhcp*' | grep ii
ii dhcp 2.0pl5-19 DHCP server for automatic IP address assignm
ii  dhcp-client    2.0pl5-16.1    DHCP Client
ii dhcp3-common 3.0+3.0.1rc14- Common files used by all the dhcp3* packages

Both dhcp and dhcp-server in /etc/defaults have interfaces="eth2".

I think I am using a different version of dhcp (debian), as it is responding to /etc/defaults/dhcp, now it is basically asking me the same thing.

Jul  7 20:21:24 erupt dhcpd: No subnet declaration for eth2 (0.0.0.0).



--
Simon Males <sime@xxxxxxxxxx>
No More AOL CDs Australia - www.anticd.org