On Thu, Jul 08, 2004 at 10:25:26PM +1000, Simon Males wrote: > 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". is that interfaces or INTERFACES its case sensative. apart from that
> > >>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). This says eth2 doesn't have an address so can't associate a dchp zone with it ? > >> > > > -- > Simon Males <[EMAIL PROTECTED]> > No More AOL CDs Australia - www.anticd.org > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html >
signature.asc
Description: Digital signature
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
