Dhcp

Aus Info-Theke
Zur Navigation springen Zur Suche springen

Installation

apt-get install isc-dhcp-server

Konfiguration

/etc/default/isc-dhcp-server:

INTERFACES="uap0 "

/etc/dhcp/dhcpd.conf:

interface eth0;
default-lease-time 600;
max-lease-time 99999999;
authoritative;


hostsubnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.30 192.168.1.200;
}

hawk {
  hardware ethernet 64:27:37:1a:17:a5;
  fixed-address 192.168.1.9;
  server-name "hawk.regina.lx";
}

Start Dienst

/etc/init.d/isc-dhcp-server start