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; …“) |
|||
Zeile 6: | Zeile 6: | ||
== Konfiguration == | == Konfiguration == | ||
/etc/ | /etc/default/isc-dhcp-server: | ||
<pre> | |||
INTERFACES="uap0 " | |||
</pre> | |||
/etc/dhcp/dhcpd.conf: | |||
<pre> | <pre> | ||
interface eth0; | interface eth0; |
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