in reply to Re: Get External IP From Linksys Router
in thread Get External IP From Linksys Router

For what it's worth, my latest favorite method of obtaining my public IP from the command line is using a DNS query from the command line.

alias wanip='dig +short myip.opendns.com @resolver1.opendns.com'