Linux DHCP Server Documentation

This document outlines the installation and configuration of a DHCP server on a Debian Sarge system.

Installation

apt-get install dhcp

Configuration

The following is an example configuration file

option domain-name "local.arnoth.net";
option domain-name-servers 68.87.75.194;

default-lease-time 600;
max-lease-time 7200;

subnet 10.0.1.0 netmask 255.255.255.0 {
  range 10.0.1.50 10.0.1.110;
  option broadcast-address 10.0.1.255;
  option routers 10.0.1.10;
}

host backupsvr {
  hardware ethernet 00:60:b0:7f:a9:26;
  fixed-address 10.0.1.100;
}

Start Up

The following command starts the dhcp service:

/etc/init.d/dhcp start  
 
techdocs/linux/dhcpserver.txt · Last modified: 2008/07/04 13:15 by earnoth
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki