Zdravim, mam mensi problem s nastavenim dhcpd v gentoo. Vsechno funguje jak ma, ale dhcpd se nepousti pri startu. Skonci s nasledujicim vypisem
Kód:
No subnet declaration for eth1 (0.0.0.0).
Aug 16 07:52:32 [dhcpd] ** Ignoring requests on eth1. If this is not what
Aug 16 07:52:32 [dhcpd] you want, please write a subnet declaration
Aug 16 07:52:32 [dhcpd] in your dhcpd.conf file for the network segment
Aug 16 07:52:32 [dhcpd] to which interface eth1 is attached. **
Aug 16 07:52:32 [dhcpd] Not configured to listen on any interfaces!
Aug 16 07:52:32 [dhcpd] exiting.
ale jsem ho schopnej pak zpustit rucne (pak funguje normalne)
v /etc/conf.d/dhcpd mam:
Kód:
DHCPD_CONF="/etc/dhcp/dhcpd.conf"
DHCPD_IFACE="eth0"
tak nechapu, proc mi povida, ze nema recenou device, na ktery ma poslouchat
/etc/dhcp/dhcpd.conf
Kód:
option domain-name "mydomain";
option routers 10.0.0.1;
local-address 10.0.0.10;
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
log-facility local7;
subnet 10.0.0.0 netmask 255.255.255.0 {
range 10.0.0.11 10.0.0.254;
}
host nema {
hardware ethernet 00:00:00:00:00:00;
fixed-address 10.0.0.4;
}