Difference between revisions of "Cluster der kan alt/DHCP server"
From Teknologisk videncenter
(→Konfigurer dhcpd.conf) |
(→Konfigurer dhcpd.conf) |
||
Line 30: | Line 30: | ||
| | | | ||
| | | | ||
− | + | ||
|} | |} |
Revision as of 12:11, 18 April 2012
Installation af DHCP-server
Følgende skal skrives for at installer DHCP-server på LINUX
sudo apt-get install dhcp3-server
Konfigurer dhcpd.conf
Nedenstående linjer skal tilføjes til dhcpd.conf
# <-- 'Author' 'date' .
option domain-name-server "10.0.0.1";
default-lease-time 600;
max-lease-time 7200;
subnet "10.0.0.0" netmask "255.255.255.0"; {
option subnet-mask "255.255.255.0";
option broadcast-address "10.0.0.255":
option routers "10.0.0.1";
range "10.0.0.10 - 10.0.0.254";
}
|