Re: How to tell IP address of remote machine?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom H wrote:

> Emailing yourself the (truncated to the first lines) output of a
> "traceroute -n google.com" on your box should be enough to give you
> the modem's external IP address. It will be the first external address
> (and the first address if you do not have a router between it and your
> box).

Thanks.
That seems to be the simplest method suggested so far:
----------------------------------------
[tim@althea ~]$ traceroute -n google.com
traceroute to google.com (74.125.45.100), 30 hops max, 40 byte packets
 1  192.168.1.1  1.049 ms  1.279 ms  1.566 ms
 2  192.168.100.1  27.415 ms  30.226 ms  32.609 ms
 3  88.45.2.33  36.093 ms  38.530 ms  41.458 ms
----------------------------------------
[tim@rose ~]$ ping -c2 88.45.2.33
PING 88.45.2.33 (88.45.2.33) 56(84) bytes of data.
64 bytes from 88.45.2.33: icmp_seq=1 ttl=238 time=102 ms
----------------------------------------
Seems to work too ...

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux