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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux