Difference between revisions of "Cluster der kan alt/DHCP server"
From Teknologisk videncenter
(→Installation af DHCP-server) |
(→Konfigurer dhcpd.conf) |
||
Line 15: | Line 15: | ||
# <-- 'Author' 'date' . | # <-- 'Author' 'date' . | ||
− | option domain-name-server " | + | option domain-name-server "10.0.0.1"; |
default-lease-time 600; | default-lease-time 600; | ||
max-lease-time 7200; | max-lease-time 7200; | ||
− | subnet " | + | subnet "10.0.0.0" netmask "255.255.255.0"; { |
− | option subnet-mask " | + | option subnet-mask "255.255.255.0"; |
− | option broadcast-address " | + | option broadcast-address "10.0.0.255": |
− | option routers " | + | option routers "10.0.0.1"; |
− | range " | + | range "10.0.0.10 - 10.0.0.254"; |
} | } | ||
+ | |||
</source> | </source> |
Revision as of 12:10, 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";
}
|