Dhcp: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „Kategorie:ServerApplikation == Installation == <pre> apt-get install isc-dhcp-server </pre> == Konfiguration == /etc/dhcp3/dhcpd.conf: <pre> interface eth0; …“) |
|||
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 6: | Zeile 6: | ||
== Konfiguration == | == Konfiguration == | ||
/etc/ | /etc/default/isc-dhcp-server: | ||
<pre> | |||
INTERFACES="uap0" | |||
</pre> | |||
/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