Check my IP
This page was last updated on July 10, 2014.
Internal (LAN) IP
-
To check your internal (LAN) IP, type this command in a terminal window:
ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'
External (WAN) IP
-
To check your external (WAN) IP, type this command in a terminal window:
wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
Obligatory Happy Ending
And they all lived happily ever after. The end.
Comment: