newbie - dhcpd

BuySell newbie at pbxsoftwares.com
Thu Jan 24 08:58:19 UTC 2008


Yes, I typed eth0:1 .. and this is virtual ethernet .. my dhcp server still
not give ip address to my users, did I miss something? ..

----- Original Message -----
From: "Simon Hobson" <dhcp1 at thehobsons.co.uk>
To: <dhcp-users at isc.org>
Sent: Thursday, January 24, 2008 3:10 PM
Subject: Re: newbie - dhcpd


> BuySell wrote:
>
> >But we want is to set the dhcp users only on 172.16.253.1 -
172.16.253-254
> >what should I configured for my eth0 (172.16.1.74) and eth1 172.16.1.168?
> >
> >below what I had:
> >
> >ddns-update-style none;
> >default-lease-time 21600;
> >max-lease-time 43200;
> >
> >option subnet-mask 255.255.255.0;
> >option domain-name-servers 172.16.1.3;
> >option domain-name "lippogeneral.com";
> >
> ># LGI DHCP
> >subnet 172.16.253.0 netmask 255.255.255.0 {
> >         option routers 172.16.1.5;
> >         option broadcast-address 172.16.253.255;
> >         range 172.16.253.1 172.16.253.254;
> >         }
>
> Normally there are two ways around this :
>
>
> 1) Provide empty subnet declarations like this
>
> subnet 172.16.1.0 netmask 255.255.255.0 {
>    ignore booting ;
> }
> or
> subnet 172.16.1.0 netmask 255.255.255.0 { }
>
> You can leave out the ignore booting, it just means that requests
> from that subnet will create "no free leases" messages in the logs.
>
>
> 2) Configure the dhcp server to only serve one interface. The 'raw'
> mathod is to start dhcpd with a list of interfaces (eg 'dhcpd eth2'),
> but usually the distribution provides a method to put this in a
> config file (on Debian it's added to /etc/default/dhcp3-server).
>
> In your case you only need to serve eth0.1 - can you confirm that
> this is a VLAN and you've not just mistyped eth0:1 ?
>



More information about the dhcp-users mailing list