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