Как настроить DHCP ?DHCP ?
1. slapt-get --list | grep dhcp
slapt-get --install dhcp-xx....
2. nano /etc/dhcpd.conf
dhcpd -d &
Пример dhcpd.conf :
1. slapt-get --list | grep dhcp
slapt-get --install dhcp-xx....
2. nano /etc/dhcpd.conf
dhcpd -d &
Пример dhcpd.conf :
Код:
option domain-name "mydomain.com";
option domain-name-servers 10.0.0.2, 10.0.0.3;
default-lease-time 14440;
ddns-update-style none;
deny bootp;
shared-network NetworkName {
subnet 10.0.0.0 netmask 255.255.255.0 {
option routers 10.0.0.1;
option subnet-mask 255.255.255.0;
pool {
range 10.0.0.10 10.0.0.20;
}
}
}