I have a topology that runs a DHCP Server, Relay, and Client. im using isc-dhcp-server & isc-dhcp-relay.

enter image description here

Im using Debian 11 Bullseye on every server, I configure the service on each server. But when im trying to test it. the DHCP Relay says

dhcrelay[1019]: Discarding packet received on ens37 interface that has no IPv4 address assigned.

Here's the all configuration.

DHCP Server Interfaces & Configuration

auto ens36.20
iface ens36.20 inet static
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;

default-lease-time 600;
max-lease-time 7200;

ddns-update-style none;

subnet netmask {

subnet netmask {
  option domain-name-servers;
  option domain-name "itnsaskills.cloud";
  option routers;
  option broadcast-address;
  default-lease-time 600;
  max-lease-time 7200;

DHCP Relay Interfaces & Configuration

allow-hotplug ens37.20
iface ens37.20 inet static

allow-hotplug ens37.30
iface ens37.30 inet static

# sourced by /etc/init.d/isc-dhcp-relay
# installed at /etc/default/isc-dhcp-relay by the maintainer scripts

# This is a POSIX shell fragment

# What servers should the DHCP relay forward requests to?

# On what interfaces should the DHCP relay (dhrelay) serve DHCP requests?

# Additional options that are passed to the DHCP relay daemon?

DHCP Client /etc/network/interfaces

auto ens33.30 
iface ens33.30 inet dhcp

Please help me solve this error

Ps: sorry for my bad english

New contributor
LM. is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • You can use tcpdump and check if the packet received from the client or anywhere on the real interface is VLAN tagged as expected or is not a VLAN-tagged packet despite the configurations. (probably something like tcpdump -l -n -s0 -e -i ens37 not vlan).
    – A.B
    2 days ago


Your Answer

LM. is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.