Page MenuHomeVyOS Platform

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

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)

Event Timeline

Unknown Object (User) created this task.Mar 2 2022, 9:14 AM
Unknown Object (User) changed the task status from Open to Confirmed.
Unknown Object (User) created this object in space S1 VyOS Public.
HollyGurza changed the subtype of this task from "Task" to "Bug".Tue, Sep 24, 1:26 PM

i retested this issue
actual for:
Version: VyOS 1.3-stable-202409270542 (DHCP Relay Agent 4.4.1)

do not reproduce on:
Version: VyOS 1.4-stable-202409170309 (DHCP Relay Agent 4.4.3-P1)
Version: VyOS 1.5-rolling-202409160007 (DHCP Relay Agent 4.4.3-P1)