Page MenuHomeVyOS Platform

dhcp-relay: does not work with wireguard uplink
Confirmed, HighPublic

Description

Checked in VyOS 1.3.0
When Wireguard is specified as the uplink interface for dhcp-relay, isc-dhcp-relay cannot start. Consequently, dhcp-relay does not work.
To recreate:

set service dhcp-relay interface 'eth0'
set service dhcp-relay interface 'eth1'
set service dhcp-relay interface 'wg01'
set service dhcp-relay server '10.1.1.111'

ISC-DHCP-Relay seems to be the problem (Unsupported device type 65534 for "wg01"):

vyos@vyos# sudo /usr/sbin/dhcrelay -4 -pf /run/dhcp-relay/dhcrelay.pid -c 10 -a -i eth0 -i eth1 -i wg01 10.1.1.111
Requesting: eth0 as upstream: Y downstream: Y
Requesting: eth1 as upstream: Y downstream: Y
Requesting: wg01 as upstream: Y downstream: Y
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/
Listening on LPF/dum3/ce:18:4c:3b:c3:8e
Sending on   LPF/dum3/ce:18:4c:3b:c3:8e
Listening on LPF/eth3/50:04:00:03:00:03
Sending on   LPF/eth3/50:04:00:03:00:03
Listening on LPF/eth2/50:04:00:03:00:02
Sending on   LPF/eth2/50:04:00:03:00:02
Unsupported device type 65534 for "wg01"
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.
[edit]

Details

Difficulty level
Unknown (require assessment)
Version
1.3.0
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)