From: | "IMMO WETZEL" <IMMO.WETZEL@adtran.com> |
Date: | Mon, 29 Jan 2018 17:46:57 +0000 |
To: | "dhcp-bugs@isc.org" <dhcp-bugs@isc.org> |
Subject: | dhcrelay relays packages which are already handled from same host different relay |
Hi,
I do run dhcrelay inside a docker container attached to the host network. And I do it twice.
a) dhcrelay -4 -d -m discard -iu ens18 -id br_TB102_TMN 10.160.5.2
a) dhcrelay -4 -d -iu br_TB102_TMN -id br_TB102_DPU 10.160.50.18
both are up and listen
Requesting: ens18 as upstream: Y downstream: N
Requesting: br_TB102_TMN as upstream: N downstream: Y
Internet Systems Consortium DHCP Relay Agent 4.3.6
Copyright 2004-2017 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/br_TB102_TMN/7a:59:88:45:a6:23
Sending on LPF/br_TB102_TMN/7a:59:88:45:a6:23
Listening on LPF/ens18/36:78:14:96:53:13
Sending on LPF/ens18/36:78:14:96:53:13
Sending on Socket/fallback
Forwarded BOOTREQUEST for 00:19:92:c6:9d:b6 to 10.160.5.2
Forwarded BOOTREQUEST for 00:19:92:c6:9d:b6 to 10.160.5.2
Dropping request received on ens18
Dropping request received on ens18
Forwarded BOOTREQUEST for 00:19:92:c6:9d:b6 to 10.160.5.2
Forwarded BOOTREQUEST for 00:19:92:c6:9d:b6 to 10.160.5.2
Dropping request received on ens18
Dropping request received on ens18
Requesting: br_TB102_TMN as upstream: Y downstream: N
Requesting: br_TB102_DPU as upstream: N downstream: Y
Internet Systems Consortium DHCP Relay Agent 4.3.6
Copyright 2004-2017 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/br_TB102_DPU/42:b9:9b:1e:1c:c9
Sending on LPF/br_TB102_DPU/42:b9:9b:1e:1c:c9
Listening on LPF/br_TB102_TMN/7a:59:88:45:a6:23
Sending on LPF/br_TB102_TMN/7a:59:88:45:a6:23
Sending on Socket/fallback
Forwarded BOOTREQUEST for 00:19:92:c6:9d:b6 to 10.160.50.18
Forwarded BOOTREQUEST for 00:19:92:c6:9d:b6 to 10.160.50.18
But the frames which should be forwarded by relay b) only to 10.160.50.18
are also taken from the second dhcrelay a) and forwarded to 10.160.5.2
I don’t see the frames from server a) 10.160.50.18 at the relay b) downstream side.
So it has to do with the listen side.
How can I prevent this shit ?
Or how to setup a two relay linux router ?
Immo
This message has been classified General Business by IMMO WETZEL on Montag, 29. Januar 2018 at 18:44:37.