Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate
***
Hi,
I was wondering why the DHCP server still binds to the IPv6 address,
too.
I have two internal IPv4 addresses on the eth0 and eth0:0 interface and
one IPv6 address.
------------
root@pdns:/etc/default# cat /etc/default/isc-dhcp-server
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/isc-dhcp-server by the maintainer scripts
#
# This is a POSIX shell fragment
#
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACESv4="eth0 eth0:0"
OPTIONS="-4"
-------------------
root@pdns:/etc/default# lsof -i -P|grep dhcp
dhcpd 1479 root 8u IPv4 20538 0t0 UDP *:67
dhcpd 1479 root 20u IPv4 20522 0t0 UDP *:59311
dhcpd 1479 root 21u IPv6 20523 0t0 UDP *:61725
*** End of the template - remove these template lines ***
---------
Why does it bind to the IPv6 address. And why does it need a second IPv4
binding to Port 59311
---------
root@pdns:/etc/default# ps awux|grep dhcpd
root 1479 0.0 0.2 14212 9708 ? Ss 18:30 0:00
/usr/sbin/dhcpd -q -4 -cf /etc/dhcp/dhcpd.conf -pf /var/run/dhcpd.pid
---------
I am little bit puzzled about that behavior. Is it a bug or a 'feature'
i didn't recognize in the man pages.
Greetings and thanks,
Tobias