LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 08-04-2011, 09:43 AM   #16
Skaperen
Senior Member
 
Registered: May 2009
Location: WV, USA
Distribution: Slackware, Debian, EasyPeasy, Ubuntu, Fedora, Timesys, Linux From Scratch
Posts: 1,432
Blog Entries: 10

Rep: Reputation: 98

I think it is amazing how complicated some people can make a simple problem with a simple solution.

FYI, I tried whatismyip.org with wget command shown for icanhazip.com. The difference is with icanhazip.com there was a newline after the IP, whereas with whatismyip.org there was not (that's the way the respective servers send it). Either should work fine in a script capture.
 
Old 02-28-2012, 09:09 AM   #17
Mikhus
LQ Newbie
 
Registered: Feb 2012
Posts: 2

Rep: Reputation: Disabled
Here is another one:

curl smart-ip.net/myip

Also works fine with IPv6!

Last edited by Mikhus; 02-28-2012 at 12:39 PM.
 
Old 02-28-2012, 10:10 AM   #18
redir
Member
 
Registered: May 2004
Location: Virginia USA
Distribution: Debian_Ubuntu_FreeBSD
Posts: 107

Rep: Reputation: 15
Quote:
Originally Posted by Skaperen View Post
I think it is amazing how complicated some people can make a simple problem with a simple solution.

FYI, I tried whatismyip.org with wget command shown for icanhazip.com. The difference is with icanhazip.com there was a newline after the IP, whereas with whatismyip.org there was not (that's the way the respective servers send it). Either should work fine in a script capture.
Sometimes less is more, sometimes more is less. I am the king of all make simple things difficult. BUt it's great way to learn
 
Old 04-01-2012, 04:00 PM   #19
orko
Member
 
Registered: Nov 2003
Location: Chittagong, Bangladesh
Distribution: RHEL 5
Posts: 63

Rep: Reputation: 19
when the router is forced to use a proxy (transparent proxy) all of the suggested command/script is showing the proxy address . not the router's external ip address.
 
Old 04-13-2012, 05:32 PM   #20
JohnBola
LQ Newbie
 
Registered: Apr 2012
Posts: 1

Rep: Reputation: Disabled
Here's another one: ipecho.net

I like this one because it provides a plain version as well, for programming. You can use that one from the command line like this:

wget -qO- ipecho.net/plain

Hope this helps
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Configuring Address Restricted Nat cipherscrux Linux - Networking 1 06-22-2006 01:52 AM
blocking mac address and NAT com90185 Linux - Security 6 03-07-2005 06:37 PM
How to detect IP address via NAT server jerrytw Linux - Networking 7 11-08-2004 04:42 AM
how to use my Ip address if having a NAT router poeta_boy Linux - Networking 5 04-17-2004 06:10 PM
public ip address from behind nat mrtwice Linux - Networking 3 11-20-2003 05:57 PM


All times are GMT -5. The time now is 05:36 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration