Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Software > How to get the IP address of devices having the same name in network????

Reply
Thread Tools

How to get the IP address of devices having the same name in network????

 
 
Manikandan Manikandan is offline
Junior Member
Join Date: Jan 2008
Posts: 4
 
      02-01-2008
Hai,
Is there is any option to get the list of IP address of all the devices having the same name in the network Using python or other language......

(e.g) I have two devices having same name "Terminal - 1" but with different IP address. I wants to get the ip address of both the devices. I tried with

>>>socket.gethostbyname_ex('Terminal-1') #it gives
>>>('TR-Terminal-1.scmmicro.co.in', [], ['10.151.50.78'])
>>>socket.gethostbyname('Terminal-1')
>>>'10.151.50.78'

But I have another device with ip address 10.151.50.43 how can I get both at a time with single command.......

I know giving same name for two devices will produce conflict. But during manufacture they manufacture with same name. I am in such that situation........

Give me a sugession please.........

Mani..........
 

Last edited by Manikandan; 02-01-2008 at 06:39 AM..
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Same external IP Address for two devices theitman Cisco 7 03-01-2007 09:00 PM
Functions having same name return different type values in subclasses. syang8 C++ 1 11-01-2006 07:43 AM
Can security devices harm DVDs and electronic devices? curious@nospam.com DVD Video 12 03-02-2005 06:57 AM
"Windows CE Devices and Palm Devices Help Needed" Naveen Vaila ASP .Net Mobile 1 06-23-2004 10:12 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57