RE: [SLUG] Home LAN IP details

2004-07-08 Thread Visser, Martin
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 
.

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

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


Re: [SLUG] Home LAN IP details

2004-07-08 Thread Stuart Guthrie
ping -b 192.168.1.255 will show you replies from each attached computer
on that subnet.

HTH

Stu

On Fri, 2004-07-09 at 14:51, Brett Fenton wrote:
> nmap -sP xxx.xxx.xxx.0/24
> 
> where the xxx's are your subnet. typically it will be something like 
> 192.168.0.0/24 or 10.1.1.0/24
> 
> this is assuming your machines are responding to pings
> 
> b
> 
> On Fri, 9 Jul 2004 02:44 pm, bill wrote:
> > 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


Re: [SLUG] Home LAN IP details

2004-07-08 Thread Brett Fenton

nmap -sP xxx.xxx.xxx.0/24

where the xxx's are your subnet. typically it will be something like 
192.168.0.0/24 or 10.1.1.0/24

this is assuming your machines are responding to pings

b

On Fri, 9 Jul 2004 02:44 pm, bill wrote:
> 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


Re: [SLUG] Home LAN IP details

2004-07-08 Thread Dean Hamstead
your modem/router shoul dbe able to tell you leases
or 'arp -a' will tell you what your computer knows about
Dean
bill wrote:
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] Home LAN IP details

2004-07-08 Thread bill
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