playing with IP's

Langa Kentane LangaK at discoveryhealth.co.za
Fri Mar 2 06:22:40 EST 2001


Greetings.
Here is what I wanna do:
Given a network number and mask ie:
192.168.1.0/26
I want to create a list with all the valid hosts on that range.
Problem is I don't know how to play with binary

Where would I start.. any sample code?
Thanks

_________________________________________________________
Langa Kentane		|	Tel:	[011] 290 3218
Security Administrator	|	Cell:	082 606 1515
[CNA MCSE CCSA CCNA]	|	www.discoveryhealth.co.za
_________________________________________________________




More information about the Python-list mailing list