#286016 dhcp3-relay: dhcrelay3 is also relaying packets on the interface of the dhcp server

#286016#5
Date:
2004-12-16 22:55:45 UTC
From:
To:
Hello,

Playing with dhcrelay3 at work this afternoon, I discover that it was
also relaying dhcp packets in the VLAN were the dhcp server was. So the
server was receving and logging two packets for each client request in
this VLAN.

This comportement seems suboptimal as the dhcp server already recieves
all the request on its VLANs.


The configuration was the following :
dhcrelay3 running on a debian pre-sarge router (10.17.0.1) with
/usr/sbin/dhcrelay3 -q -i eth3 -i eth5 10.17.0.15

The client to relay where behind eth3 and were receving there lease
correctly.

But on eth5 is a shared network with several subnets including hundreds
of workstations. As soon as I started dhcprelay3 on the router I started
to have redundant lines in dhcp log file like the following :

Dec 16 23:54:00 buster dhcpd: DHCPREQUEST for 10.17.33.18 from
00:06:5b:25:76:aa via eth1
Dec 16 23:54:00 buster dhcpd: DHCPACK on 10.17.33.18 to 00:06:5b:25:76:aa
via eth1
Dec 16 23:54:00 buster dhcpd: DHCPREQUEST for 10.17.33.18 from
00:06:5b:25:76:aa via 10.17.0.1
Dec 16 23:54:00 buster dhcpd: DHCPACK on 10.17.33.18 to 00:06:5b:25:76:aa
via 10.17.0.1

@+,

	Fab

#286016#10
Date:
2005-01-04 16:55:55 UTC
From:
To:
Hello,

my scenario:
- VLAN A with a dhcp server on an windows box
- VLAN B with some Windows boxes and without dhcp. The VLAN configuration allows
no connection to the dhcp in VLAN A
- a linux box running Debian stable with dhcp3-relay connected to VLAN A via
eth0 and connected to VLAN B via eth1

problem:
the dhcp3-relay should forward dhcp requests in VLAN B to the dhcp in VLAN A

first setup configuration:
# Defaults for dhcp3-relay initscript
# sourced by /etc/init.d/dhcp3-relay
# installed at /etc/default/dhcp3-relay by the maintainer scripts

#
# This is a POSIX shell fragment
#

# What servers should the DHCP relay forward requests to?
SERVERS="aaa.bbb.ccc.ddd"

# On what interfaces should the DHCP relay (dhrelay) serve DHCP requests?
INTERFACES="eth1"

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

-> does not work for machines in VLAN B

second setup configuration:
# Defaults for dhcp3-relay initscript
# sourced by /etc/init.d/dhcp3-relay
# installed at /etc/default/dhcp3-relay by the maintainer scripts

#
# This is a POSIX shell fragment
#

# What servers should the DHCP relay forward requests to?
SERVERS="aaa.bbb.ccc.ddd"

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

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

-> with empty param INTERFACES
-> works for the machines in VLAN B, but the dhcp server gets duplicate dhcp
requests for the machines in VLAN A

Do I misunderstand the configuration of the dhcp3-relay? Or is my configuration
right and the dhcp3-relay is not working properly?

Best Regards,
Marcus

#286016#23
Date:
2026-08-05 17:31:09 UTC
From:
To:
Dear submitter,

as the package isc-dhcp has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1143544

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)