Package: isc-dhcp-relay Version: 4.3.5-3+deb9u1 Severity: important Tags: ipv6, upstream Forwarded: https://gitlab.isc.org/isc-projects/dhcp/-/issues/204
Hi there,
I've been hitted by this bug on a machine running stretch, but it is
also present in the current version on sid (4.4.1-3).
dchrelay -6 doesn't start if there are interface aliases up in the
system:
# /usr/sbin/dhcrelay -6 -pf /var/run/dhcrelay6.pid -l vlan.881 -u
2001:db8:cafe::2%vlan.880
Internet Systems Consortium DHCP Relay Agent 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Bound to *:547
Listening on Socket/vlan.881:0
Sending on Socket/vlan.881:0
Listening on Socket/vlan.880:0
Sending on Socket/vlan.880:0
Listening on Socket/vlan
Sending on Socket/vlan
setsockopt: IPV6_JOIN_GROUP: Address already in use
If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging.
exiting.
The above error can be reproduced with inside a container with the
following /etc/network/interfaces:
auto lo
iface lo inet loopback
auto vlan
iface vlan inet dhcp
auto vlan.880
auto vlan.880:0
iface vlan.880 inet static
address 192.168.133.1/24
iface vlan.880 inet6 static
address 2001:db8:cafe::1/64
iface vlan.880:0 inet static
address 10.0.133.1/16
auto vlan.881
auto vlan.881:0
iface vlan.881 inet static
address 192.168.131.1/24
iface vlan.881 inet6 static
address 2001:db8:cafe:1::1/64
iface vlan.881:0 inet static
address 10.1.131.1/16
Just removing (or commenting out) the interface aliases entries makes
dchrelay -6 happy again.
Please note the -l and -u filters do not work. But that's another bug.
Cheers,
-- Santiago
-- System Information:
Debian Release: 11.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500,
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=es_CO.UTF-8, LC_CTYPE=es_CO.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages isc-dhcp-relay depends on:
ii debconf [debconf-2.0] 1.5.77
ii debianutils 4.11.2
ii libc6 2.31-13
ii libdns-export1104 1:9.11.5.P4+dfsg-5.1+deb10u5
ii libdns-export1110 1:9.11.19+dfsg-2.1
pn libdns-export162 <none>
pn libirs-export141 <none>
ii libirs-export161 1:9.11.19+dfsg-2.1
ii libisc-export1100 1:9.11.5.P4+dfsg-5.1+deb10u5
ii libisc-export1105 1:9.11.19+dfsg-2.1
pn libisc-export160 <none>
ii lsb-base 11.1.0
Versions of packages isc-dhcp-relay recommends:
ii isc-dhcp-common 4.4.1-2.3
isc-dhcp-relay suggests no packages.
signature.asc
Description: PGP signature

