Testinstall: Unterschied zwischen den Versionen

Aus Vosp.info
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: „ apt-get install isc-dhcp-server vim /etc/default/isc-dhcp-server Ersetze INTERFACES="" gegen INTERFACES="eth1"“)
 
Zeile 6: Zeile 6:
 
gegen
 
gegen
 
  INTERFACES="eth1"
 
  INTERFACES="eth1"
 +
 +
vim /etc/dhcp/dhcpd.conf
 +
 +
 +
ddns-update-style none;
 +
option domain-name "test.local";
 +
option domain-name-servers 10.78.20.10;
 +
default-lease-time 600;
 +
max-lease-time 7200;
 +
log-facility local7;
 +
 +
 +
subnet 10.78.20.0 netmask 255.255.255.224 {
 +
  range 10.78.20.100 10.78.20.200;
 +
  option routers 10.78.20.10;
 +
}

Version vom 11. März 2015, 17:18 Uhr

apt-get install isc-dhcp-server
vim /etc/default/isc-dhcp-server

Ersetze

INTERFACES=""

gegen

INTERFACES="eth1"
vim /etc/dhcp/dhcpd.conf


ddns-update-style none;
option domain-name "test.local";
option domain-name-servers 10.78.20.10;
default-lease-time 600;
max-lease-time 7200;
log-facility local7;


subnet 10.78.20.0 netmask 255.255.255.224 {
  range 10.78.20.100 10.78.20.200;
  option routers 10.78.20.10;
}