Popular recipes tagged "ip" but not "address"http://code.activestate.com/recipes/tags/ip-address/2016-07-07T17:52:15-07:00ActiveState Code RecipesIP Address (Python)
2012-07-02T22:34:13-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578182-ip-address/
<p style="color: grey">
Python
recipe 578182
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/archive/">archive</a>, <a href="/recipes/tags/cgi/">cgi</a>, <a href="/recipes/tags/ip/">ip</a>, <a href="/recipes/tags/old/">old</a>).
</p>
<p>The following was a CGI experiment for finding out the IP address of a connecting client. This is committed for archival to be run under Python 2.5 or later versions.</p>
IP and MAC addresses (Python)
2016-07-07T17:52:15-07:00Jean Brouwershttp://code.activestate.com/recipes/users/2984142/http://code.activestate.com/recipes/577191-ip-and-mac-addresses/
<p style="color: grey">
Python
recipe 577191
by <a href="/recipes/users/2984142/">Jean Brouwers</a>
(<a href="/recipes/tags/ios/">ios</a>, <a href="/recipes/tags/ip/">ip</a>, <a href="/recipes/tags/ipv4/">ipv4</a>, <a href="/recipes/tags/mac/">mac</a>, <a href="/recipes/tags/macos/">macos</a>, <a href="/recipes/tags/network/">network</a>, <a href="/recipes/tags/python2_4/">python2_4</a>, <a href="/recipes/tags/python3_5/">python3_5</a>, <a href="/recipes/tags/uuid/">uuid</a>, <a href="/recipes/tags/windows/">windows</a>).
Revision 3.
</p>
<p>This module collects all IP and MAC addresses from several available sources on the underlying system. See the module documentation for more details, supported Python releases and platforms.</p>
Convert Subnetmask from CIDR notation to dot.decimal form (Python)
2008-09-03T02:11:01-07:00gerontosepphttp://code.activestate.com/recipes/users/4166887/http://code.activestate.com/recipes/576483-convert-subnetmask-from-cidr-notation-to-dotdecima/
<p style="color: grey">
Python
recipe 576483
by <a href="/recipes/users/4166887/">gerontosepp</a>
(<a href="/recipes/tags/ip/">ip</a>, <a href="/recipes/tags/subnetmask/">subnetmask</a>, <a href="/recipes/tags/tcp/">tcp</a>).
Revision 2.
</p>
<p>How to convert the CIDR notation (192.168.0.0/24) of a subnetmask to the dotted decimal form (255.255.255.0).</p>