dhcpd doesn't answer to DHCPv6 requests
Nejc Skoberne
nejc at viris.si
Wed Apr 21 12:58:57 UTC 2010
Dear list,
oh wait, there is also ip6tables. Nevermind.
Thanks,
Nejc
-----Original Message-----
From: dhcp-users-bounces+nejc=viris.si at lists.isc.org
[mailto:dhcp-users-bounces+nejc=viris.si at lists.isc.org] On Behalf Of Nejc
Skoberne
Sent: Wednesday, April 21, 2010 2:49 PM
To: dhcp-users at lists.isc.org
Subject: dhcpd doesn't answer to DHCPv6 requests
Dear list,
I have a virtualized test enviroment and I want to establish a IPv6-only
test LAN. The environment consists of a Linux (Fedora 10) gateway and a
Windows 7 and Ubuntu Linux clients.
My problem is, that dhcpd, which is running on Fedora gateway is not
replying to DHCPv6 requests. My configuration:
dhcpd6.conf:
---------------------------------------------------------------------
default-lease-time 1800;
max-lease-time 7200;
authoritative;
option dhcp.domain-search "domain.local"; option dhcp6.domain-search
"domain.local"; option dhcp6.name-servers 2001:470:1f0b:1002::1;
subnet6 2001:470:1f0b:1002::/64 {
allow unknown-clients;
default-lease-time 1800;
min-lease-time 4000;
max-lease-time 7200;
range6 2001:470:1f0b:1002::1:0/112;
}
# I have also tried to toggle this part
host win7 {
host-identifier option dhcp6.client-id
"00:01:00:01:13:3a:fe:84:00:0c:29:f1:34:dc";
fixed-address6 2001:470:1f0b:1002::2:1; }
---------------------------------------------------------------------
radvd.conf
---------------------------------------------------------------------
interface eth1
{
AdvSendAdvert on;
AdvLinkMTU 1280;
MinRtrAdvInterval 30;
MaxRtrAdvInterval 100;
# Also tried to toggle AdvOtherConfigFlag
AdvOtherConfigFlag on;
AdvManagedFlag on;
prefix 2001:470:1f0b:1002::/64
{
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr off;
};
};
---------------------------------------------------------------------
# ifconfig eth1
---------------------------------------------------------------------
eth1 Link encap:Ethernet HWaddr 00:0C:29:1F:7B:C3
inet6 addr: 2001:470:1f0b:1002::1/64 Scope:Global
inet6 addr: fe80::20c:29ff:fe1f:7bc3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:727 errors:0 dropped:0 overruns:0 frame:0
TX packets:123 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:87138 (85.0 KiB) TX bytes:17294 (16.8 KiB)
Interrupt:19 Base address:0x2080
---------------------------------------------------------------------
This is what I see if I do tcpdump on gateway when doing DHCPv6 client
requests on client machines:
---------------------------------------------------------------------
[root at nat64-gw dhcp]# tcpdump -n -i eth1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 65535 bytes
14:28:58.430008 IP6 fe80::20c:29ff:fef8:972f.dhcpv6-client >
ff02::1:2.dhcpv6-server: dhcp6 inf-req
14:29:00.508880 IP6 fe80::20c:29ff:fef8:972f.dhcpv6-client >
ff02::1:2.dhcpv6-server: dhcp6 inf-req
14:29:01.604012 IP6 fe80::20c:29ff:fef8:972f.dhcpv6-client >
ff02::1:2.dhcpv6-server: dhcp6 inf-req
---------------------------------------------------------------------
This is what dhcpd startup looks like:
---------------------------------------------------------------------
Apr 21 14:46:13 gw dhcpd: Internet Systems Consortium DHCP Server 4.1.1 Apr
21 14:46:13 gw dhcpd: Copyright 2004-2010 Internet Systems Consortium.
Apr 21 14:46:13 gw dhcpd: All rights reserved.
Apr 21 14:46:13 gw dhcpd: For info, please visit
https://www.isc.org/software/dhcp/
Apr 21 14:46:13 gw dhcpd: Not searching LDAP since ldap-server, ldap-port
and ldap-base-dn were not specified in the config file Apr 21 14:46:13 gw
dhcpd: Wrote 0 deleted host decls to leases file.
Apr 21 14:46:13 gw dhcpd: Wrote 0 new dynamic host decls to leases file.
Apr 21 14:46:13 gw dhcpd: Wrote 0 leases to leases file.
Apr 21 14:46:13 gw dhcpd: Bound to *:547 Apr 21 14:46:13 gw dhcpd: Listening
on Socket/5/eth1/2001:470:1f0b:1002::/64
Apr 21 14:46:13 gw dhcpd: Sending on Socket/5/eth1/2001:470:1f0b:1002::/64
Apr 21 14:46:13 gw dhcpd:
Apr 21 14:46:13 gw dhcpd: No subnet6 declaration for eth0
(fe80::20c:29ff:fe1f:7bb9).
Apr 21 14:46:13 gw dhcpd: ** Ignoring requests on eth0. If this is not what
Apr 21 14:46:13 gw dhcpd: you want, please write a subnet6 declaration
Apr 21 14:46:13 gw dhcpd: in your dhcpd.conf file for the network segment
Apr 21 14:46:13 gw dhcpd: to which interface eth0 is attached. **
Apr 21 14:46:13 gw dhcpd:
---------------------------------------------------------------------
There are no iptables rules and the default policy for all the tables is
ACCEPT. If I configure IPv4 DHCP, everything is OK, the machines get the
addresses and the parameters.
What could be the problem?
Thanks,
Nejc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3348 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100421/17ec8068/attachment.bin>
More information about the dhcp-users
mailing list