This is a discussion on How a costomized DHCP paket can be sent form 0.0.0.0 to 255.255.255.255? - Network ; Hello: I need to simulate the process of DHCP client, by following steps: 1. Excute ipconfig /release 2. Send a costomized DISCOVER packet(which is totally equal to the packet from ipconfig command ) from 0.0.0.0 to 255.255.255.255 3. Language : ...
Hello:
I need to simulate the process of DHCP client, by following steps:
1. Excute ipconfig /release
2. Send a costomized DISCOVER packet(which is totally equal to the
packet from ipconfig command ) from 0.0.0.0 to 255.255.255.255
3. Language : C# , call System.Net.Socket.UdpClient to send the
packet.
Error: Host Unreachable. But the packet form ipconfig can be sent to the
network.
If I set a magic IP address 192.168.0.23 before step2, my packet can be sent
and the OFFER form DHCP Server can be received.
Did I miss something or made some mistakes?
Thank you very much!
Terence