Помогите разобраться с настройкой dhcp сервера, не идет раздача IP адресов.. :?Конфиг:
option domain-name "lcduikt-oa.dyndns.org";
option domain-name-servers 195.5.29.11;default-lease-time 600;
max-lease-time 7200;authoritative;
ddns-update-style none;
log-facility local7;
# This is a very basic subnet declaration.subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.34 192.168.1.60;
option broadcast-address 192.168.1.255;
option routers 192.168.1.17;
option domain-name-servers 195.5.29.11;
}Запускаю :
/usr/local/etc/rc.d/isc-dhcpd start
Starting dhcpd.
Internet Systems Consortium DHCP Server V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 leases to leases file.
Listening on Socket/nfe0/192.168.1/24
Sending on Socket/nfe0/192.168.1/24
DHCPDISCOVER from 00:16:d4:d0:1c:d6 via rl0
DHCPOFFER on 192.168.1.34 to 00:16:d4:d0:1c:d6 (laptop) via rl0
и клиент не подключается...
>[оверквотинг удален]
>All rights reserved.
>For info, please visit https://www.isc.org/software/dhcp/
>Wrote 0 leases to leases file.
>Listening on Socket/nfe0/192.168.1/24
>Sending on Socket/nfe0/192.168.1/24
>DHCPDISCOVER from 00:16:d4:d0:1c:d6 via rl0
>DHCPOFFER on 192.168.1.34 to 00:16:d4:d0:1c:d6 (laptop) via rl0
>
>
>и клиент не подключается...а обращение к нему есть?
да, клиент обращается но ip получать отказывается
запускаю DHCP:
/usr/local/etc/rc.d/isc-dhcpd restart
dhcpd not running? (check /var/run/dhcpd/dhcpd.pid).
Starting dhcpd.
Internet Systems Consortium DHCP Server V3.0.7
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on Socket/nfe0/192.168.1/24
Sending on Socket/nfe0/192.168.1/24
DHCPDISCOVER from 00:00:6c:59:9b:56 via nfe0
DHCPOFFER on 192.168.1.200 to 00:00:6c:59:9b:56 via nfe0
DHCPDISCOVER from 00:00:6c:59:9b:56 via nfe0
DHCPOFFER on 192.168.1.200 to 00:00:6c:59:9b:56 via nfe0
>[оверквотинг удален]
>For info, please visit http://www.isc.org/sw/dhcp/
>Wrote 0 deleted host decls to leases file.
>Wrote 0 new dynamic host decls to leases file.
>Wrote 0 leases to leases file.
>Listening on Socket/nfe0/192.168.1/24
>Sending on Socket/nfe0/192.168.1/24
>DHCPDISCOVER from 00:00:6c:59:9b:56 via nfe0
>DHCPOFFER on 192.168.1.200 to 00:00:6c:59:9b:56 via nfe0
>DHCPDISCOVER from 00:00:6c:59:9b:56 via nfe0
>DHCPOFFER on 192.168.1.200 to 00:00:6c:59:9b:56 via nfe0а у клиента при этом что?
может еще есть DHCP сервера?
клиент некоторое время подключается и выдает ошибку...
больше серверов нету
фервол отключил... а tcpdump вот что показывает, посмотрите пожалуйсто:[root@localhost ~]# tcpdump -vv
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
16:20:37.078165 IP6 (hlim 1, next-header Options (0) payload length: 36) :: > ff02::16: HBH (rtalert: 0x0000) (padn)[icmp6 sum ok] ICMP6, multicast listener report v2, length 28, 1 group record(s) [gaddr ff02::1:ff8f:1300 to_ex { }]
16:20:37.238145 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) :: > ff02::1:ff8f:1300: [icmp6 sum ok] ICMP6, neighbor solicitation, length 24, who has fe80::2c8d:ebff:fe8f:1300
16:20:38.238154 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 16) fe80::2c8d:ebff:fe8f:1300 > ff02::2: [icmp6 sum ok] ICMP6, router solicitation, length 16
source link-address option (1), length 8 (1): 2e:8d:eb:8f:13:00
0x0000: 2e8d eb8f 1300
16:20:38.658126 IP6 (hlim 1, next-header Options (0) payload length: 36) fe80::2c8d:ebff:fe8f:1300 > ff02::16: HBH (rtalert: 0x0000) (padn)[icmp6 sum ok] ICMP6, multicast listener report v2, length 28, 1 group record(s) [gaddr ff02::1:ff8f:1300 to_ex { }]
16:20:42.238119 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 16) fe80::2c8d:ebff:fe8f:1300 > ff02::2: [icmp6 sum ok] ICMP6, router solicitation, length 16
source link-address option (1), length 8 (1): 2e:8d:eb:8f:13:00
0x0000: 2e8d eb8f 1300
16:20:46.238139 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 16) fe80::2c8d:ebff:fe8f:1300 > ff02::2: [icmp6 sum ok] ICMP6, router solicitation, length 16
source link-address option (1), length 8 (1): 2e:8d:eb:8f:13:00
0x0000: 2e8d eb8f 1300
>[оверквотинг удален]
>16:20:38.238154 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 16) fe80::2c8d:ebff:fe8f:1300 > ff02::2: [icmp6 sum ok] ICMP6, router solicitation, length 16
>source link-address option (1), length 8 (1): 2e:8d:eb:8f:13:00
>0x0000: 2e8d eb8f 1300
>16:20:38.658126 IP6 (hlim 1, next-header Options (0) payload length: 36) fe80::2c8d:ebff:fe8f:1300 > ff02::16: HBH (rtalert: 0x0000) (padn)[icmp6 sum ok] ICMP6, multicast listener report v2, length 28, 1 group record(s) [gaddr ff02::1:ff8f:1300 to_ex { }]
>16:20:42.238119 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 16) fe80::2c8d:ebff:fe8f:1300 > ff02::2: [icmp6 sum ok] ICMP6, router solicitation, length 16
>source link-address option (1), length 8 (1): 2e:8d:eb:8f:13:00
>0x0000: 2e8d eb8f 1300
>16:20:46.238139 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 16) fe80::2c8d:ebff:fe8f:1300 > ff02::2: [icmp6 sum ok] ICMP6, router solicitation, length 16
>source link-address option (1), length 8 (1): 2e:8d:eb:8f:13:00
>0x0000: 2e8d eb8f 1300а если выключить использование ip версии 6, ваш DHCP работает с ip версии 4
а как её выключить? я вроде и не включал... просто установил и всё...
>а как её выключить? я вроде и не включал... просто установил и
>всё...описание на клиентскую ОС смотрите
IPv.6 отключил... нет толку
>tcpdump: WARNING: eth0: no IPv4 address assignedЭто на сервере? Может, присвоить адрес?
и на сервере и на клиенте отключил
все тоже самое:
Wrote 0 leases to leases file.
Listening on Socket/nfe0/192.168.1/24
Sending on Socket/nfe0/192.168.1/24
DHCPDISCOVER from 00:16:d4:d0:1c:d6 via rl0
DHCPOFFER on 192.168.1.34 to 00:16:d4:d0:1c:d6 (laptop) via rl0DHCPOFFER не доходит до клиента...