How to find IP address of a machine on network?

Karl F. Larsen klarsen1 at gmail.com
Sat Jan 17 02:21:09 UTC 2009


NoOp wrote:
> On 01/16/2009 05:00 PM, Derek Broughton wrote:
>   
>> NoOp wrote:
>>     
>
>   
>>> Cool! You uninstalled the repo's version first I presume?
>>>       
>> Shouldn't be necessary - alien creates a deb package which supercedes the 
>> current Ubuntu package, and a later Ubuntu package will superced the alien'd 
>> package.
>>
>>
>>
>>
>>     
>
> Yep... 4.76-1 works well after using alien. Interesting that the repo
> nstat version, when given the following command:
>
> $ nmap -T Aggressive -A -v 192.168.2.*
>
> shows (obfuscation apparent):
>
> Host 192.168.2.XXX appears to be up ... good.
> Interesting ports on 192.168.2.XXX:
> Not shown: 1712 closed ports
> PORT     STATE SERVICE     VERSION
> 139/tcp  open  netbios-ssn Samba smbd 3.X (workgroup: MSHOME)
> 445/tcp  open  netbios-ssn Samba smbd 3.X (workgroup: MSHOME)
> 5900/tcp open  vnc         VNC (protocol 3.7)
>
> The 4.76-1 version shows:
>
> Host <hostname> (192.168.2.XXX) appears to be up ... good.
> Interesting ports on <hostname> (192.168.2.XXX):
> Not shown: 996 closed ports
> PORT      STATE SERVICE     VERSION
> 139/tcp   open  netbios-ssn Samba smbd 3.X (workgroup: MSHOME)
> 445/tcp   open  netbios-ssn Samba smbd 3.X (workgroup: MSHOME)
> 5900/tcp  open  vnc         VNC (protocol 3.7)
> 16001/tcp open  tcpwrapped
>
> Host script results:
> |_ NBSTAT: NetBIOS name: <hostname>, NetBIOS MAC: X:X:X:X:X:X
> |  Discover OS Version over NetBIOS and SMB: Unix
> |_ Discover system time over SMB: 2009-01-16 17:02:58 UTC-8
>
> So the newer version adds some nice details.
>
>
>   
    You do not seem to have the actual address of your Internet. All the 
192.168.x.x are sub IP to the various users. I have an ActionTec DSL 
modem and router. To get my real IP address I got to http://192.168.0.1 
and it has a page that tells me all about it. I print that page and it 
is all there.

    This works on most small and some quite big routers. My Real IP is 
216.31.x.x which changes if I turn off. But I stay on for many days and 
it's good for that period. I can ping my IP and it is quite fast.



Karl


-- 

	Karl F. Larsen, AKA K5DI
	Linux User
	#450462   http://counter.li.org.
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7





More information about the ubuntu-users mailing list