Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2000 13:07:24 -0500
From:      Mark Conway Wirt <mark@intrepid.net>
To:        Andrey Novikov <novikov@webclub.ru>
Subject:   Re: isc-dhcpd
Message-ID:  <20000211130724.K7592@intrepid.net>
In-Reply-To: <00021019401800.05473@newbee.web2000.ru>; from novikov@webclub.ru on Thu, Feb 10, 2000 at 07:39:06PM +0300
References:  <00021019401800.05473@newbee.web2000.ru>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, Feb 10, 2000 at 07:39:06PM +0300, Andrey Novikov wrote:
> Hello,
> 
> can somebody please share the sample dhcpd.conf?
> Thanks in advance.

Here's one I use on my home netowrk.  I assigen a static IP to my machine
and my wife's machine:

subnet 209.190.164.0 netmask 255.255.255.0 {
  option routers 209.190.164.1;
  option domain-name-servers freya.intrepid.net;
  max-lease-time 72000;
  default-lease-time 72000;

  host traci {
    hardware ethernet 00:C0:E3:26:11:18;
    fixed-address traci.intrepid.net;
    option host-name "traci";
  }

  host elvis {
    hardware ethernet 00:00:86:0f:64:fa;
    fixed-address elvis.intrepid.net;
    option host-name "elvis";
  }

}

Here's one I use at the office -- it assigns dynamic IP's.

shared-network OVERALL {
  option routers 206.102.77.1;
  option domain-name-servers freya.intrepid.net;

  subnet 206.102.77.0 netmask 255.255.255.0 {
    range 206.102.77.32 206.102.77.47;
  }
}


Note that some BSD releases put the config in /etc, some in /usr/local/etc.

--Mark


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20000211130724.K7592>