relay agent dhcrelay goes crazy

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

relay agent dhcrelay goes crazy

IMMO WETZEL

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

[hidden email]   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

 


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: relay agent dhcrelay goes crazy

Patrick Cervicek
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?

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

RE: relay agent dhcrelay goes crazy

IMMO WETZEL

I see behaviour  which I dont expect.

 

1.       Why frames are forwarded and recreated ?

2.       Why do I get a NACK ? Do store the dhcrelay any assigned IP addresses and handle his own lease times ?
this could explain the nack. Cos if the IP is already assigned and stored in a table the relay is not allowed to distribute… may be…

 

https://turl.ca/nxso

There are both parallel created tcpdumps  TMN side and DUT side.

 

Immo

 

From: dhcp-users [mailto:[hidden email]] On Behalf Of Patrick Cervicek
Sent: Thursday, January 11, 2018 12:28 AM
To: Users of ISC DHCP
Subject: Re: relay agent dhcrelay goes crazy

 

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?


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

RE: relay agent dhcrelay goes crazy

Patrick Cervicek

> 2.       Why do I get a NACK ?

look inside the NACKS - you get them only from DHCP Server Identifier:
"10.160.5.2"

The DHCP Server Identifier: 10.160.50.50 works good


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users
Reply | Threaded
Open this post in threaded view
|

Re: relay agent dhcrelay goes crazy

IMMO WETZEL
OK nackt from a server which requested but  is not stated as server at the call of dhcrelay.

Sent from Mobile

-------- Original message --------
From: Patrick Cervicek
Date:11/01/2018 17:08 (GMT+01:00)
To: Users of ISC DHCP
Subject: RE: relay agent dhcrelay goes crazy


> 2. Why do I get a NACK ?

look inside the NACKS - you get them only from DHCP Server Identifier:
"10.160.5.2"

The DHCP Server Identifier: 10.160.50.50 works good


_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users

_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users