You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the dhcp_handler method, I determine the 53 bits of the pkt_dhcp.options.option_list, if the value is 1, it is DISCOVER , if the value is 3, it is REQUEST .
But when I test the information, I found that all the messages received are DISCOVER, is my judgment wrong?
The text was updated successfully, but these errors were encountered:
Another question, after my test, I entered h1 ifconfig and h2 ifconfig, there is no inet, netmask, broadcast information requested in the screenshot, because I did not successfully assign the ip?
Q1: I think the DHCPOFFER packet you created may not correct. You can monitor this network by wireshark if you are using the mininet VM. You can compare the packet you created with your classmates. Maybe it can help you.
Q2: If there is no the info in the screenshot, I think it could not be a success. In the final check, we will check the result only by ifconfig.
In the dhcp_handler method, I determine the 53 bits of the pkt_dhcp.options.option_list, if the value is 1, it is DISCOVER , if the value is 3, it is REQUEST .
But when I test the information, I found that all the messages received are DISCOVER, is my judgment wrong?
The text was updated successfully, but these errors were encountered: