Problem to set up DHCP for ipv6 - subnet_number():inet.c:45: Addr/mask length mismatch

Glenn Satchell glenn.satchell at uniq.com.au
Fri May 27 10:46:01 UTC 2016


On Fri, May 27, 2016 5:51 pm, Bjørn Mork wrote:
> Reed Xia <huaqin2005 at gmail.com> writes:
>
>> /root/dhcp-4.3.4/srver/dhcpd* -6* -cf dhcpd.conf eth0
>> /root/dhcp-4.3.4/server/dhcpd -cf dhcpd.conf eth0
>
> See the difference?  Eliminate all the unnecessary ones.
>
> (I don't think it is advisable to use random file names as command line
> options....)

Hi Reed

I think it would be better to create two separate config files, one for
ipv4 and one for ipv6, eg:

/root/dhcp-4.3.4/server/dhcpd -6 -cf /etc/dhcpd6.conf eth0

/root/dhcp-4.3.4/server/dhcpd -cf /etc/dhcpd.conf eth0

regards,
-glenn



More information about the dhcp-users mailing list