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

version graph

Package: src:isc-dhcp; Maintainer for src:isc-dhcp is Debian ISC DHCP Maintainers <[email protected]>;

Reported by: Fabrice Lorrain <[email protected]>

Date: Thu, 16 Dec 2004 23:03:06 UTC

Severity: normal

Found in version isc-dhcp/3.0.1-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected] (Eloy A. Paris):
Bug#286016; Package dhcp3-relay. (full text, mbox, link).


Acknowledgement sent to Fabrice Lorrain <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected] (Eloy A. Paris). (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Fabrice Lorrain <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: dhcp3-relay: dhcrelay3 is also relaying packets on the interface of the dhcp server
Date: Thu, 16 Dec 2004 23:55:45 +0100
Package: dhcp3-relay
Version: 3.0.1-1
Severity: normal


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


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-arkhamN
Locale: LANG=fr, LC_CTYPE=ISO-8859-15 (charmap=ISO-8859-15) (ignored: LC_ALL set to fr_FR@euro)

Versions of packages dhcp3-relay depends on:
ii  debconf                     1.4.41       Debian configuration management sy
ii  debianutils                 2.11.0       Miscellaneous utilities specific t
ii  dhcp3-common                3.0.1-1      Common files used by all the dhcp3
ii  libc6                       2.3.2.ds1-19 GNU C Library: Shared libraries an

-- debconf information excluded



Information forwarded to [email protected], [email protected] (Eloy A. Paris):
Bug#286016; Package dhcp3-relay. (full text, mbox, link).


Acknowledgement sent to Marcus Schmidt <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected] (Eloy A. Paris). (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Marcus Schmidt <[email protected]>
To: [email protected]
Subject: dhcp3-relay
Date: Tue, 4 Jan 2005 17:55:55 +0100
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



Changed Bug submitter from Fabrice Lorrain <[email protected]> to Fabrice Lorrain <[email protected]>. Request was from Fabrice Lorrain <[email protected]> to [email protected]. (full text, mbox, link).


Bug reassigned from package 'dhcp3-relay' to 'src:isc-dhcp'. Request was from Andreas Beckmann <[email protected]> to [email protected]. (Sun, 10 Jul 2016 15:18:15 GMT) (full text, mbox, link).


No longer marked as found in versions 3.0.1-1. Request was from Andreas Beckmann <[email protected]> to [email protected]. (Sun, 10 Jul 2016 15:18:15 GMT) (full text, mbox, link).


Marked as found in versions isc-dhcp/3.0.1-1. Request was from Andreas Beckmann <[email protected]> to [email protected]. (Sun, 10 Jul 2016 15:18:16 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Fri May 16 09:33:35 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.