External ip address from the commandline made simple: 'curl ip.appspot.com' Done.