Dhcp: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K (→Konfiguration) |
|||
Zeile 12: | Zeile 12: | ||
/etc/dhcp/dhcpd.conf: | /etc/dhcp/dhcpd.conf: | ||
<pre> | <pre> | ||
default-lease-time 600; | default-lease-time 600; | ||
max-lease-time 99999999; | max-lease-time 99999999; | ||
authoritative; | authoritative; | ||
option domain-name "regina.lx"; | |||
subnet 192.168.1.0 netmask 255.255.255.0 { | |||
range 192.168.1.30 192.168.1.200; | range 192.168.1.30 192.168.1.200; | ||
} | } |
Aktuelle Version vom 26. Juli 2012, 22:05 Uhr
Installation[Bearbeiten]
apt-get install isc-dhcp-server
Konfiguration[Bearbeiten]
/etc/default/isc-dhcp-server:
INTERFACES="uap0"
/etc/dhcp/dhcpd.conf:
default-lease-time 600; max-lease-time 99999999; authoritative; option domain-name "regina.lx"; subnet 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[Bearbeiten]
/etc/init.d/isc-dhcp-server start