Bug #4572
closeddhcrely ipv6 uses invalid network name
0%
Description
Hi,
i tried to setup dhcrelay für IPV6, but it didn't start.
The dhcp server in my case is outside the WAN interface (currently until we move all networks from our old firewall)
the reason: it got the name of the interface incorrectly:
Mar 18 15:07:08 gar-sv-fw01 dhcrelay: Internet Systems Consortium DHCP Relay Agent 4.2.6
Mar 18 15:07:08 gar-sv-fw01 dhcrelay: Copyright 2004-2014 Internet Systems Consortium.
Mar 18 15:07:08 gar-sv-fw01 dhcrelay: All rights reserved.
Mar 18 15:07:08 gar-sv-fw01 dhcrelay: For info, please visit https://www.isc.org/software/dhcp/
Mar 18 15:07:08 gar-sv-fw01 dhcrelay: Bound to *:547
Mar 18 15:07:08 gar-sv-fw01 dhcrelay: No interface called 'wan'
Mar 18 15:07:08 gar-sv-fw01 dhcrelay:
the system tried to start dhcrelay with this command:
/usr/local/sbin/dhcrelay -6 -pf /var/run/dhcrelay6.pid -l ix1_vlan2357 -u 2001:4ca0:4103:200:10:153:239:248%wan
The correct name for the interface is ix01, so my workaround was to start the daemon by hand:
/usr/local/sbin/dhcrelay -6 -pf /var/run/dhcrelay6.pid -l ix1_vlan2357 -u 2001:4ca0:4103:200:10:153:239:248%ix0