all ip addresses of machines in the local network

Amit Khemka khemkaamit at gmail.com
Thu Aug 24 06:28:42 EDT 2006


On 23 Aug 2006 21:46:21 -0700, damacy <wegein at gmail.com> wrote:
> hi, sandra.
>
> no, it's not as complicated as that. all i want to do is to load a
> database onto different machines residing in the same network. i hope
> there is a way doing it. or perhaps i have a poor understanding of how
> networks work.
>

I expect that you would know the IP range for your network. Then you
can simply 'ping' each IP in the range to find wether its alive.
Moreover by your description I guess you would actually want to find
all machines in your network that run a particular network service, to
allow you to "distribute the database". In such case you can use
"nmap" with -p option, to find all the machines which are listening on
the particular port.

hth,
amit.


----
Amit Khemka -- onyomo.com
Home Page: www.cse.iitd.ernet.in/~csd00377
Endless the world's turn, endless the sun's Spinning, Endless the quest;
I turn again, back to my own beginning, And here, find rest.



More information about the Python-list mailing list