Reply to Re: Finding out IP Address behind NAT

Your name:

Reply:


Posted by Toby A Inkster on 11/01/48 12:00

The Natural Philosopher wrote:
> Toby A Inkster wrote:
>
>> Only if they use NAT.
>
> Look at the title of this post, numbskull. "Finding out IP Address
> behind NAT"

Yeah, I only noticed the title of the thread after posting. The body of
the OP's message didn't mention NAT at all.

Nonetheless the technique which you snipped is fairly useful for people
who need to determine the IP address of a machine where NAT is not a
consideration:

/sbin/ifconfig eth0 | grep -o "inet addr:[0-9\.]*" | sed 's/[^0-9\.]//g'

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 17 days, 23:28.]

Gnocchi all'Amatriciana al Forno
http://tobyinkster.co.uk/blog/2008/01/15/gnocchi-allamatriciana/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация