Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. relay agent dhcrelay goes crazy (IMMO WETZEL)
   2. dhcrelay listen at all ifs but should only on dedicated ifs
      (IMMO WETZEL)
   3. Re: relay agent dhcrelay goes crazy (Patrick Cervicek)
   4. Re: dhcrelay listen at all ifs but should only on dedicated
      ifs (Patrick Cervicek)


----------------------------------------------------------------------

Message: 1
Date: Wed, 10 Jan 2018 20:21:54 +0000
From: IMMO WETZEL <immo.wet...@adtran.com>
To: "dhcp-users@lists.isc.org" <dhcp-users@lists.isc.org>
Subject: relay agent dhcrelay goes crazy
Message-ID:
        <f5452071f098e84b91d98fde02860faaf147f...@ex-mb1.corp.adtran.com>
Content-Type: text/plain; charset="windows-1252"

I do see a crazy behavior

Start relay with
    dhcrelay -4 -d -iu br_TB104_TMN  -id br_TB104_DUT 10.160.50.50

on the downstream interface I see
10.160.60.52      10.160.50.50      DHCP    346         DHCP Request  - 
Transaction ID 0x42cc161a
10.160.50.50      10.160.60.52      DHCP    346         DHCP ACK      - 
Transaction ID 0x42cc161a
10.160.60.49      10.160.60.52      DHCP    346         DHCP ACK      - 
Transaction ID 0x42cc161a

on the upstream interface I see
10.160.60.52      10.160.50.50      DHCP    346         DHCP Request  - 
Transaction ID 0x42cc161a
10.160.50.50      10.160.60.52      DHCP    346         DHCP ACK      - 
Transaction ID 0x42cc161a
10.160.50.49      10.160.50.50      DHCP    346         DHCP Request  - 
Transaction ID 0x42cc161a
10.160.50.50      10.160.60.49      DHCP    346         DHCP ACK      - 
Transaction ID 0x42cc161a
10.160.50.49      255.255.255.255               DHCP    346         DHCP NAK    
  - Transaction ID 0x42cc161a

It means first the dhcp request goes through the system and the answer handed 
over backward as well.
But relay agent ip is not filled in the frame

But than the relay agent sends out a further unicast with his own ip as source 
and with the relay agent ip set, towards the server . client mac address is 
still correct.
The response is than forwarded to the client with the source ip from the relay 
agent.

And finally I don't now why a NACK is send from the relay agent towards the 
dhcp server as broadcast without any NACK from a client.

Any suggestions ?

Mit freundlichen Gr??en / With kind regards

Immo Wetzel

ADTRAN GmbH
Siemensallee 1
17489 Greifswald
Germany

Phone: +49 3834 5352 823
Mobile: +49 151 147 29 225
Skype: immo_wetzel_adtran
immo.wet...@adtran.com<mailto:immo.wet...@adtran.com>   PGP-Fingerprint: 7313 
7E88 4E19 AACF 45E9 E74D EFF7 0480 F4CF 6426
http://www.adtran.com<http://www.adtran.com/>

Sitz der Gesellschaft: Berlin / Registered office: Berlin
Registergericht: Berlin / Commercial registry: Amtsgericht Charlottenburg, HRB 
135656 B
Gesch?ftsf?hrung / Managing Directors: Roger Shannon, James D. Wilson, Jr., Dr. 
Eduard Scheiterer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20180110/62bd5821/attachment-0001.html>

------------------------------

Message: 2
Date: Wed, 10 Jan 2018 19:33:18 +0000
From: IMMO WETZEL <immo.wet...@adtran.com>
To: "dhcp-users@lists.isc.org" <dhcp-users@lists.isc.org>
Subject: dhcrelay listen at all ifs but should only on dedicated ifs
Message-ID:
        <f5452071f098e84b91d98fde02860faaf147f...@ex-mb1.corp.adtran.com>
Content-Type: text/plain; charset=WINDOWS-1252

I?m running dhcrelay 4.3.5

My start line is 
# dhcrelay -4 -d -iu br_TB104_TMN  -id br_TB104_DUT 10.160.50.50
But dhcrelay is listen  on all if?s like I specified nothing specific
    
    Requesting: br_TB104_TMN as upstream: Y downstream: N
    Requesting: br_TB104_DUT as upstream: N downstream: Y
    Internet Systems Consortium DHCP Relay Agent 4.3.5
    Copyright 2004-2016 Internet Systems Consortium.
    All rights reserved.
    For info, please visit https://www.isc.org/software/dhcp/
    Listening on LPF/docker0/02:42:38:0e:27:5a
    Sending on   LPF/docker0/02:42:38:0e:27:5a
    Listening on LPF/br_TB991_DUT/42:b9:9b:1e:1c:c9
    Sending on   LPF/br_TB991_DUT/42:b9:9b:1e:1c:c9
    Listening on LPF/br_TB104_DUT/42:b9:9b:1e:1c:c9
    Sending on   LPF/br_TB104_DUT/42:b9:9b:1e:1c:c9
    Listening on LPF/br_TB104_TMN/7a:59:88:45:a6:23
    Sending on   LPF/br_TB104_TMN/7a:59:88:45:a6:23
    Listening on LPF/br_TB104_TMN/7a:59:88:45:a6:23
    Sending on   LPF/br_TB104_TMN/7a:59:88:45:a6:23
    .
    A lot more coming here
    .
    Sending on   Socket/fallback
    Discarding packet received on ens19.2002.4090 interface that has no IPv4 
address assigned.
    Dropping request received on br_TB102_DUT
    Discarding packet received on ens20.1002 interface that has no IPv4 address 
assigned.
    .

Whats is wrong here with the start line ? 


Mit freundlichen Gr??en / With kind regards

Immo Wetzel

ADTRAN GmbH
Siemensallee 1
17489 Greifswald
Germany

Phone: +49 3834 5352 823
Mobile: +49 151 147 29 225
Skype: immo_wetzel_adtran
immo.wet...@adtran.com   PGP-Fingerprint: 7313 7E88 4E19 AACF 45E9 E74D EFF7 
0480 F4CF 6426
http://www.adtran.com

Sitz der Gesellschaft: Berlin / Registered office: Berlin
Registergericht: Berlin / Commercial registry: Amtsgericht Charlottenburg, HRB 
135656 B
Gesch?ftsf?hrung / Managing Directors: Roger Shannon, James D. Wilson, Jr., Dr. 
Eduard Scheiterer



------------------------------

Message: 3
Date: Thu, 11 Jan 2018 00:27:41 +0100
From: Patrick Cervicek
        <patr...@freifunk-stuttgart.spamtrap.hs-esslingen.de>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: relay agent dhcrelay goes crazy
Message-ID:
        
<6ae6eff1-1b13-44e0-a9ae-6574386ed...@freifunk-stuttgart.spamtrap.hs-esslingen.de>
        
Content-Type: text/plain; charset="utf-8"

Do you have problems in your setup or are you just curios about the NACK?
Tcpdump traces would be nice. Could you please put them on a web server?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20180111/a1d6794f/attachment-0001.html>

------------------------------

Message: 4
Date: Thu, 11 Jan 2018 00:23:16 +0100
From: Patrick Cervicek
        <patr...@freifunk-stuttgart.spamtrap.hs-esslingen.de>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Re: dhcrelay listen at all ifs but should only on dedicated
        ifs
Message-ID:
        
<84ef98cf-1fb2-444f-be1c-8783e9736...@freifunk-stuttgart.spamtrap.hs-esslingen.de>
        
Content-Type: text/plain; charset="utf-8"

It looks like your bridge interface has no IP address

Please provide:
brctl show
ip addr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20180111/a99ccd0d/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users

------------------------------

End of dhcp-users Digest, Vol 111, Issue 11
*******************************************

Reply via email to