Dhcp: Unterschied zwischen den Versionen

Aus Info-Theke
Zur Navigation springen Zur Suche springen
Zeile 8: Zeile 8:
/etc/default/isc-dhcp-server:
/etc/default/isc-dhcp-server:
<pre>
<pre>
INTERFACES="uap0 "
INTERFACES="uap0"
</pre>
</pre>
/etc/dhcp/dhcpd.conf:
/etc/dhcp/dhcpd.conf:

Version vom 26. Juli 2012, 22:04 Uhr

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