Re: [SLUG] How do you make Linux provide dhcp for NT network?

From: Matt Miller (mmiller1@mptotalcare.com)
Date: Mon Sep 16 2002 - 15:59:29 EDT


On Mon, 2002-09-16 at 15:17, John Clay wrote:
> I'd like to use a Linux dhcp server on my NT network.
>
> - Is it simply a matter of configuring /etc/dhcpd.conf with the desired
> netmask, IP range and so on, and then just connecting it to the network
> and issuing release/renew commands on the workstations? Or, is there a
> wee bit more to it than that?
>

Pretty much. Reduce the lease time on the current DHCP server to make
the transition more expeditious. Obviously, you only want one DHCP
server issuing IP addresses per any subnet to avoid conflicts. So, you
would want to stop the DHCP service on the existing server, and then
initiate the DHCP service on the new server.

Here is pretty basic example of a dhcp.conf file:

default-lease-time 10600;
max-lease-time 10600;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option domain-name "domain.com";
option domain-name-servers 192.168.1.1, 192.168.1.2;
option netbios-name-servers 192.168.1.1;
option netbios-dd-server 192.168.1.1;
option netbios-node-type 8;
option netbios-scope "";

subnet 192.168.1.0 netmask 255.255.255.0 {
        range 192.168.1.10 192.168.1.100;
}

-- 
Matt Miller
Systems Administrator
MP TotalCare
gpg public key id: 
08BC7B06




This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:38:58 EDT