[Comm] dhcpd and systemd

Anton Gorlov stalker на altlinux.ru
Пн Июн 22 20:36:59 MSK 2015


p7.
При загрузке не хочет запускаться dhcpd автоматом, в журнал пишет лишь

Jun 22 20:26:36 stlk dhcpd[1133]: Internet Systems Consortium DHCP
Server 4.2.5-P1
Jun 22 20:26:36 stlk dhcpd[1133]: Copyright 2004-2013 Internet Systems
Consortium.
Jun 22 20:26:36 stlk dhcpd[1133]: All rights reserved.
Jun 22 20:26:36 stlk dhcpd[1133]: For info, please visit
https://www.isc.org/software/dhcp/
Jun 22 20:26:36 stlk dhcpd[1133]: WARNING: Host declarations are
global.  They are not limited to the scope you declared them in.
Jun 22 20:26:36 stlk dhcpd[1133]: No subnet declaration for eth0 (no
IPv4 addresses).
Jun 22 20:26:36 stlk dhcpd[1133]: ** Ignoring requests on eth0.  If this
is not what
Jun 22 20:26:36 stlk dhcpd[1133]: you want, please write a subnet
declaration
Jun 22 20:26:36 stlk dhcpd[1133]: in your dhcpd.conf file for the
network segment
Jun 22 20:26:36 stlk dhcpd[1133]: to which interface eth0 is attached. **
Jun 22 20:26:36 stlk dhcpd[1133]: Not configured to listen on any
interfaces!
Jun 22 20:26:36 stlk dhcpd[1133]: Please note the following before
requesting help:
Jun 22 20:26:36 stlk dhcpd[1133]: This software is a part of the
Internet Software Consortium's DHCP suite
Jun 22 20:26:36 stlk dhcpd[1133]: with modifications for ALT Linux.
Jun 22 20:26:36 stlk dhcpd[1133]: The ISC folks quite reasonably require
that you do not bother them with
Jun 22 20:26:36 stlk dhcpd[1133]: questions on software that includes
third-party modifications and might
Jun 22 20:26:36 stlk dhcpd[1133]: not be based off their latest code. 
Hence, please direct any questions
Jun 22 20:26:36 stlk dhcpd[1133]: to the community@ mailing list
instead; the subscription instructions
Jun 22 20:26:36 stlk dhcpd[1133]: are given at
http://lists.altlinux.org/mailman/listinfo/community .
Jun 22 20:26:36 stlk dhcpd[1133]: Please also read the SUPPORT section
on the README about
Jun 22 20:26:36 stlk dhcpd[1133]: submitting bug reports and requests
for help.
Jun 22 20:26:36 stlk dhcpd[1133]: exiting.
Jun 22 20:26:36 stlk systemd[1]: dhcpd.service: main process exited,
code=exited, status=1/FAILURE
Jun 22 20:26:36 stlk systemd[1]: Unit dhcpd.service entered failed state


ddns-update-style none;
authoritative;

subnet 172.25.38.0 netmask 255.255.255.0 {
        option routers                  172.25.38.13;
        option subnet-mask              255.255.255.0;

        option domain-name-servers      172.25.38.13;

        range 172.25.38.128 172.25.38.254;
        default-lease-time 21600;
        max-lease-time 43200;

host android-b51a0adc474429e1 {
  hardware ethernet 00:eb:2d:13:d1:22;
  fixed-address 172.25.38.8;
}

host stalker {
  hardware ethernet 00:eb:2d:14:8b:4e;
  fixed-address 172.25.38.6;
}

}


cat /etc/net/ifaces/eth1/ipv4address
172.25.37.13/24

cat /etc/net/ifaces/eth1/options
ONBOOT=yes
TYPE=eth



Подробная информация о списке рассылки community