Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I want to be able to go in to the network remotely and find
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
gentoonu-b
Tux's lil' helper
Tux's lil' helper


Joined: 05 Aug 2005
Posts: 75

PostPosted: Wed Jan 11, 2006 7:27 pm    Post subject: I want to be able to go in to the network remotely and find Reply with quote

Is there a tool /util that will allow me to find all the IP's on a given network?
For instance I was attempting to connect to my PC's at home but one of the PC's IP address changed because DHCP was enabled, so once it rebooted it grabbed a new IP I didn't know. I have several devices on my small network and I wanted to isolate a particular PC. But first I needed to I needed to find the IP, then determine the Host.

So I want to be able to go in to the network remotely and find all devices connected.
Can I set the PC's to automatically advertise there IP's within the network?
Thnx.
Reply With Quote

Resolved


Last edited by gentoonu-b on Wed Feb 01, 2006 5:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
jjasghar
Guru
Guru


Joined: 07 Mar 2004
Posts: 342
Location: $HOME=/usa/tx/austin

PostPosted: Wed Jan 11, 2006 7:50 pm    Post subject: Reply with quote

go into your dhcp server check the leases table and look at the mac addies. then you can figure out the machines that you are looking for.
_________________
#include <LinuxUser #324070>
main()
{
printf("and i'm sorry my spellign sucs.");
}
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Wed Jan 11, 2006 9:18 pm    Post subject: Reply with quote

I normally run

nmap -sP 192.168.7.0/24

That pings all the available IPs on the subnet and shows me the responders. It gives MAC address and some details of the NIC.

Code:

Starting nmap 3.83.DC13 ( http://www.insecure.org/nmap/ ) at 2006-01-11 21:13 GMT
Host 192.168.7.1 appears to be up.
MAC Address: 00:0F:B5:B5:BF:77 (Netgear)
Host 192.168.7.4 appears to be up.
MAC Address: 00:0D:0B:74:15:77 (Melco)
Host xp (192.168.7.100) appears to be up.
MAC Address: 00:20:ED:74:5E:77 (Giga-byte Technology CO.)
Host server (192.168.7.106) appears to be up.
Nmap finished: 256 IP addresses (4 hosts up) scanned in 5.421 seconds


If you know your hardware you'll be able to recognise.

For Windows stuff and Samba you can run

nmblookup -A 192.168.7.100

and get a hostname and often a workgroup. You can cut straight to this bit if you know it's Windows or running Samba. It runs a Netbios query over the LAN.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum