I'm running a fedora 17 box, which I was trying to setup dhcp6 daemon on to hand out IP addresses. I need it to be able to handle both Stateless Autoconfiguration (already done by radvd), and Stateful DHCP. The problem is that the DHCPv6 Solicitations come in to the server (verified by wireshark) but DHCPD never responds. Even if I start netcat to listen on port 547 for IPv6 packets, it reports nothing. Which is strange considering that wireshark doesn't miss a single one. Which leads me to believe that an IPv6 kernel setting is wrong? Anyway here are some config files, I appreciate any help.
/etc/sysconfig/network-scripts/ifcfg-eth0:
Code:
DEVICE=eth0
HWADDR=08:00:27:77:33:40
ONBOOT=yes
BOOTPROTO=none
TYPE=Ethernet
USERCTL=yes
IPADDR=192.168.0.63
NETMASK=255.255.255.0
DNS1=192.168.0.41
IPV6INIT=yes
IPV6ADDR=2001:db8:0:1:192:168:0:41/64
IPV6_AUTOCONF=no
IPV6_ROUTER=yes
PREFIX=24
/etc/radvd.conf:
Code:
interface eth0
{
AdvManagedFlag on;
AdvOtherConfigFlag on;
AdvSendAdvert on;
MinRtrAdvInterval 30;
MaxRtrAdvInterval 100;
prefix 2001:db8:0:1::/64
{
AdvOnLink on;
};
};
/etc/dhcp/dhcpd6.conf:
Code:
default-lease-time 600;
max-lease-time 7200;
subnet6 2001:db8:0:1::/64 {
range6 2001:db8:0:1::150 2001:db8:0:1::250;
# prefix6 2001:db8:0:100:: 2001:db8:0:f00:: /56;
}
$(ifconfig eth0):
Code:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.63 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 2001:db8:0:1:192:168:0:41 prefixlen 64 scopeid 0x0<global>
inet6 fe80::a00:27ff:fe77:3340 prefixlen 64 scopeid 0x20<link>
ether 08:00:27:77:33:40 txqueuelen 1000 (Ethernet)
RX packets 741 bytes 69275 (67.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 607 bytes 72358 (70.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
$(ps aux | grep -i radvd):
Code:
root 1463 0.0 0.0 2304 244 ? S 09:39 0:00 /usr/sbin/radvd -u radvd
radvd 1465 0.0 0.0 2304 528 ? S 09:39 0:00 /usr/sbin/radvd -u radvd
$(ps aux | grep -i dhcpd):
Code:
dhcpd 2940 0.0 0.5 15752 5840 ? Ss 10:07 0:00 /usr/sbin/dhcpd -f -6 -cf /etc/dhcp/dhcpd6.conf -user dhcpd -group dhcpd --no-pid eth0