newbie - dhcpd

BuySell newbie at pbxsoftwares.com
Thu Jan 24 08:22:44 UTC 2008


Hello,

Yes, I created it .. but it does not work (dhcpd does not give ip address to my users) .. did I miss something?

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, 172.16.253.3;
option domain-name "lippogeneral.com";

subnet 172.16.1.0 netmask 255.255.255.0 {
        option routers 172.16.1.5;
        option broadcast-address 172.16.1.255;
        }

subnet 172.16.253.0 netmask 255.255.255.0 {
        option routers 172.16.253.5;
        option broadcast-address 172.16.253.255;
        pool {
                range 172.16.253.1 172.16.253.254;
                }
        }


  ----- Original Message ----- 
  From: rhynx rhynx 
  To: dhcp-users at isc.org 
  Sent: Thursday, January 24, 2008 2:57 PM
  Subject: Re: newbie - dhcpd



  just create an empty subnet declarations for those interface. 



  ----- Original Message ----
  From: BuySell <newbie at pbxsoftwares.com>
  To: dhcp-users at isc.org
  Sent: Thursday, January 24, 2008 3:57:37 PM
  Subject: Re: newbie - dhcpd


  Hello,

  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;
          }

  pls help

  TIA
  Winanjaya

    ----- Original Message ----- 
    From: rhynx rhynx 
    To: dhcp-users at isc.org 
    Sent: Thursday, January 24, 2008 2:38 PM
    Subject: Re: newbie - dhcpd


    hello,

    you also have to declare a subnet for each interface you have with range inside:

    subnet 172.16.a.b netmask 255.255.255.0 {
        option routers x.x.x.x;
        range 172.16.c.d 172.16.e.f;
    }


    romskie


    ----- Original Message ----
    From: BuySell <newbie at pbxsoftwares.com>
    To: dhcp-users at isc.org
    Sent: Thursday, January 24, 2008 3:27:16 PM
    Subject: newbie - dhcpd


    Dear All,

    I have 3 IPs on my CentOS 5 box, they are as follow:

    Eth0 -> 172.16.1.3
    Eth0.1 -> 172.16.253.3

    Eth1 -> 172.16.1.168

    I have configured /etc/dhcpd.conf as follow:

    ddns-update-style ad-hoc;
    default-lease-time 21600;
    max-lease-time 43200;

    option subnet-mask 255.255.255.0;
    option routers 172.16.253.5;
    option domain-name-servers 172.16.253.3;

    my problem is, my dhcp server does not give IP to my users? ... please help

    thanks & regards
    Winanjaya




----------------------------------------------------------------------------
    Never miss a thing. Make Yahoo your homepage. 




------------------------------------------------------------------------------
  Never miss a thing. Make Yahoo your homepage. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20080124/08add785/attachment.html>


More information about the dhcp-users mailing list