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?
>
> syslog:
> Jul 7 18:18:01 erupt dhcpd: No subnet declaration for eth0
> (211.30.175.xxx).
> Jul 7 18:18:01 erupt dhcpd: Please write a subnet declaration in your
> dhcpd.con
> f file for the
> Jul 7 18:18:01 erupt dhcpd: network segment to which interface eth0 is
> attached
> .
> Jul 7 18:18:01 erupt dhcpd: exiting.
>
> # more /etc/network/interfaces
> auto lo
> iface lo inet loopback
> auto eth0
> iface eth0 inet dhcp
> auto eth2
> iface eth2 inet static
> address 192.168.6.1
> netmask 255.255.255.0
>
> # more /etc/dhcpd.conf
> option subnet-mask 255.255.255.0;
> default-lease-time 600;
> max-lease-time 7200;
>
> subnet 192.168.6.0 netmask 255.255.255.0 {
> range 192.168.6.10 192.168.6.20;
>
> }
>
If its debian look in /etc/defaults/dhcp3-server other wise try man dhcpd interfaces are supplied as an option > -- > 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
