Most viewed recipes tagged "dhcp"http://code.activestate.com/recipes/tags/dhcp/views/2011-04-10T15:41:14-07:00ActiveState Code Recipesdhcp query (Python)
2011-04-10T15:41:14-07:00hassanehttp://code.activestate.com/recipes/users/4177610/http://code.activestate.com/recipes/577649-dhcp-query/
<p style="color: grey">
Python
recipe 577649
by <a href="/recipes/users/4177610/">hassane</a>
(<a href="/recipes/tags/dhcp/">dhcp</a>, <a href="/recipes/tags/ipv4/">ipv4</a>, <a href="/recipes/tags/network/">network</a>, <a href="/recipes/tags/query/">query</a>, <a href="/recipes/tags/querying_dhcp_for_free_ip_address/">querying_dhcp_for_free_ip_address</a>).
</p>
<p>a simple python script that sends a dhcp discover packet and recieves the dhcp offer that contains a suggested ip address, gateway, dns servers and displays them.</p>