[Comm] dhcpd
Andriy Dobrovol's'kii
=?iso-8859-1?q?dobr_=CE=C1_iop=2Ekiev=2Eua?=
Пн Июл 14 11:41:53 MSD 2003
Прокопьев Евгений wrote:
> Здравствуйте!
>
Здравствуйте,
Евгений, Вы действительно хотите получить для какой-то машины 255
номер?! Или это просто описка?
> Не удается запустить dhcp-сервер. После старта и попытки одного из клиентов
> получить адрес в логах появляется следующее:
>
> Jul 10 19:29:41 athlon dhcpd: Internet Software Consortium DHCP Server
> V3.0.1rc10
> Jul 10 19:29:41 athlon dhcpd: Copyright 1995-2002 Internet Software
> Consortium.
> Jul 10 19:29:41 athlon dhcpd: All rights reserved.
> Jul 10 19:29:41 athlon dhcpd: For info, please visit
> http://www.isc.org/products/DHCP
> Jul 10 19:29:41 athlon dhcpd: Wrote 0 leases to leases file.
> Jul 10 19:29:41 athlon dhcpd: Internet Software Consortium DHCP Server
> V3.0.1rc10
> Jul 10 19:29:41 athlon dhcpd: Copyright 1995-2002 Internet Software
> Consortium.
> Jul 10 19:29:41 athlon dhcpd: All rights reserved.
> Jul 10 19:29:41 athlon dhcpd: For info, please visit
> http://www.isc.org/products/DHCP
> Jul 10 19:29:41 athlon dhcpd: Wrote 0 leases to leases file.
> Jul 10 19:29:41 athlon dhcpd: Listening on
> LPF/eth0/00:20:ed:46:85:bb/192.168.1.0/24
> Jul 10 19:29:41 athlon dhcpd: Sending on
> LPF/eth0/00:20:ed:46:85:bb/192.168.1.0/24
> Jul 10 19:29:41 athlon dhcpd: Sending on Socket/fallback/fallback-net
> Jul 10 19:29:41 athlon dhcpd: Listening on
> LPF/eth0/00:20:ed:46:85:bb/192.168.1.0/24
> Jul 10 19:29:41 athlon dhcpd: Sending on
> LPF/eth0/00:20:ed:46:85:bb/192.168.1.0/24
> Jul 10 19:29:41 athlon dhcpd: Sending on Socket/fallback/fallback-net
> Jul 10 19:29:41 athlon dhcpd: dhcpd startup succeeded
> Jul 10 19:30:35 athlon dhcpd: DHCPDISCOVER from 00:c0:26:31:6a:13 via eth0
> Jul 10 19:30:35 athlon dhcpd: icmp_echorequest 192.168.1.255: Permission
> denied
> Jul 10 19:30:36 athlon dhcpd: DHCPOFFER on 192.168.1.255 to
> 00:c0:26:31:6a:13 (LIDIYA) via eth0
> Jul 10 19:30:41 athlon dhcpd: DHCPDISCOVER from 00:c0:26:31:6a:13
> (LIDIYA) via eth0
> Jul 10 19:30:41 athlon dhcpd: DHCPOFFER on 192.168.1.255 to
> 00:c0:26:31:6a:13 (LIDIYA) via eth0
> Jul 10 19:30:47 athlon dhcpd: DHCPDISCOVER from 00:c0:26:31:6a:13
> (LIDIYA) via eth0
> Jul 10 19:30:47 athlon dhcpd: DHCPOFFER on 192.168.1.255 to
> 00:c0:26:31:6a:13 (LIDIYA) via eth0
> Jul 10 19:30:53 athlon dhcpd: DHCPDISCOVER from 00:c0:26:31:6a:13
> (LIDIYA) via eth0
> Jul 10 19:30:53 athlon dhcpd: DHCPOFFER on 192.168.1.255 to
> 00:c0:26:31:6a:13 (LIDIYA) via eth0
>
> Почему icmp_echorequest 192.168.1.255: Permission denied?
>
> В /etc/dhcpd.conf написано следующее:
>
> ddns-update-style none;
>
> subnet 192.168.1.0 netmask 255.255.255.0 {
> # --- default gateway
> option routers 192.168.1.1;
> option subnet-mask 255.255.255.0;
>
> option nis-domain "domain.org";
> option domain-name "domain.org";
> option domain-name-servers 192.168.1.1;
>
> option time-offset -5; # Eastern Standard Time
> # option ntp-servers 192.168.1.1;
> # option netbios-name-servers 192.168.1.1;
> # --- Selects point-to-point node (default is hybrid). Don't change this
> unless
> # -- you understand Netbios very well
> # option netbios-node-type 2;
>
> range dynamic-bootp 192.168.1.128 192.168.1.255;
> default-lease-time 21600;
> max-lease-time 43200;
>
> # we want the nameserver to appear at a fixed address
> #host ns {
> #next-server marvin.redhat.com;
> # hardware ethernet 00:50:56:c6:6b:ff;
> # fixed-address 192.168.1.129;
> #}
> }
>
--
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua Kyiv, Ukraine
Phone: (380-44) 265-7824 Department of Gas Electronics
Fax: (380-44) 265-2329 Institute of Physics of NASU
*********************************************************************
Подробная информация о списке рассылки community