Usually each of your PCs will register their hostname with the DHCP
server when they ask it for an IP. Your modem/router will probably have
a web page (look for status or somesuch) that will reveal the names, IP
address and MAC (ethernet) address it knows about. Often they also act
as a DNS and as such will also reveal the name to IP address mapping via
DNS. You can query this with the command "nslookup <hostname>
<router_ip>.

A lot of these router/modems even support WINS (the "old" Windows
dynamic name service), you can query this with "nmblookup -U <router_ip>
-R <hostname>".

BTW Almost certainly the IP allocated is not associated with the
physical port. Usually allocation is simply out of the next one
available in the pool of addresses for DHCP. 

Martin Visser ,CISSP
Network and Security Consultant 
Consulting & Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670    
Mobile: +61-411-254-513
Fax: +61-2-9022-1800     
E-mail: martin.visserAThp.com
 
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of bill
> Sent: Friday, 9 July 2004 2:44 PM
> To: [EMAIL PROTECTED]
> Subject: [SLUG] Home LAN IP details
> 
> 
> I have a home LAN  - 3 PC's networked via an ethernet switch 
> and connected to the 'Net via a modem/router.
> 
> The PC's IP's are generated by the modem/router via DHCP.
> 
> AS the IP assigned appears to depend on the socket on the 
> ethernet switch to which the PC is connected, and as  each PC 
> is running a different OS or Linux distro ( some of which are 
> lacking access to basic commands such as ifconfig), and 1 PC 
> is running without monitor/keyboard/mouse  and is accessed 
> via tightvnc, is there a command or a GUI that will give me 
> the hostnames and IP's of each PC connected to the LAN?
> 
> I have googled and read many networking/vnc howto's etc with no luck.
> 
> thanks in advance
> 
> BILL
> 
> --
> SLUG - Sydney Linux User's Group Mailing List - 
> http://slug.org.au/ Subscription info and FAQs: 
> http://slug.org.au/faq/mailinglists.html
> 
> 
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to