Listen-address not configured on any interface

I’m trying to set up a dhcp server on an interface (dummy interface) within a VRF to listen from DHCP requests from clients. All the DHCP requests are going to be made through dhcp relay agents. So when I run the command:

set service dhcp-server listen-address

with the IP address of the dummy interface I want to use as a listener:
dummy dum2 {
description DHCP-SERVICE
vrf VLAN3

But when I try to commit, I’m getting the following error:

vyos@vyos# commit
listen-address “” not configured on any interface
[[service dhcp-server]] failed
Commit failed

It is weird because when configuring the listener ip address one of the ip address available is that one:

*vyos@vyos# set service dhcp-server listen-address *
Possible completions:

  • <x.x.x.x> IPv4 address to listen for incoming connections*
  • *
  • *
  • *
  • *

I’m using the following code version:

vyos@vyos# run show ver
Version: VyOS 1.4-rolling-202209200218
Release train: sagitta
Built by:
Built on: Tue 20 Sep 2022 02:18 UTC
Build UUID: c5f80431-721b-4195-85e5-b5142c5e1175
Build commit ID: 719013886df2a3
Architecture: x86_64
Boot via: installed image
System type: KVM guest
Hardware vendor: QEMU
Hardware model: Standard PC (i440FX + PIIX, 1996)
*Hardware S/N: *
Hardware UUID: 88a2a776-5a5b-43a5-add3-8387f52403f4
Copyright: VyOS maintainers and contributors

This is the DHCP server config I’m trying to commit (the IP address is reachable and advertised through BGP):

+dhcp-server {
+ listen-address
+ shared-network-name PROV1 {
+ subnet {
+ default-router
+ static-mapping cust_rk07_p3 {
+ ip-address
+ mac-address 00:50:09:00:14:00
+ }
+ }
+ }

I’m wondering if I’m doing something wrong or if the config I’m trying to apply is not supported by the Dhcp-server (I’m not allowed to attach the whole config file of the device for your reference). Can anybody help me with this configuration?

Hello @jcarbonell,

We have created a bug report on the phabricator: