06-27-2024 02:09 AM
06-27-2024 04:48 AM
this lab for you one router use flag and other not
see how R1 (local dhcp server) send offer and ACK
I show you column of IP and Mac
MHM
06-27-2024 07:31 AM
Thank you for your response, but the problem is still not clear, your picture is that R2's f0/0 sends broadcast, flag =1 and the address is broadcast, and on R3 f1/1 sends DHCP Discover broadcast, but dhcp offer is unicast (flag = 0) which is reasonable. As for my problem, as in the image I provided, DHCP offer set flag = 0 (u) but dhcp offer sends with broadcast address, is this unreasonable? If according to rfc, when flag = 0, ip and mac will be unicast.
06-27-2024 07:35 AM - edited 06-27-2024 07:42 AM
check above comment
MHM
06-27-2024 07:42 AM
I see where you are confuse
this flag send by client but the Server can accept it or not
in your case client send the flag but the server dont accept it
MHM
06-27-2024 07:53 AM
https://www.mist.com/documentation/microsoft-dhcp-servers-default-broadcast/
Check this link the server sometime follow RFC and some not follow it
MHM
06-27-2024 08:01 AM - edited 06-27-2024 08:03 AM
yes sir, I understand what you mean, it means that even though the client has set flag = 0 (unicast), the server does not accept it and will still respond to the broadcast, and when the offer message is responded to, The flag in the dhcp offer will still remain the same as when the client initially sent it, is that true?
06-27-2024 08:04 AM
I will check in my lab to see the flag send and receive between client and server in both cases
MHM
06-27-2024 10:11 PM - edited 06-27-2024 10:16 PM
dear sir, I tried testing again and capturing the dhcp message to check the flag field in those 2 cases. Here are the results:
Case 1, dhcp client sends dhcp discover and set flag = 0, then dhcp offer set flag = 0 (unicast), and the correct ip and mac addresses are unicast ip and unicast mac, as shown below:
Then I continued testing with the case of flag = 1 (broadcast), when dhcp discover set flag = 1, the dhcp offer also has flag = 1, and the ip address, and the mac of the dhcp offer is also shown as mac and ip broadcast, this is reasonable according to rfc, as shown below.
Going back to the problem I was asking initially, the dhcp offer message set flag = 0(unicast), however the ip and mac are broadcast, what does this mean, the server received flag = 0, however not accepted Receive and send unicast, still send broadcast and keep the client sending flag? It seems absurd compared to the above two cases. So what is the purpose of this flag when it can be rejected by the server, and why does the server refuse, when receiving flag = 0, and still send the message in broadcast style. I'm very confused, and feel unclear. The image below is of the switch core.
06-28-2024 03:30 AM
I check in lab the flag in DHCP offer match what use as source / destination
unicast or broadcast
it seem that your server ignore this flag, so it not cisco issue it DHCP server vendor issue
what is your DHCP server ?
06-29-2024 04:57 AM
dear Sir, my dhcp server is Alcatel Switch, it seems Alcatle is required to send broadcast
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide