Check your Local and Public IP address

Your Local IP address is:

Above is your local/private IP address(es) assigned to your internal hardware or virtual network card on your computer. Depending on your LAN configuration the above IP addresses may be static or dynamic.

In case you can’t find any address above, to check your internal IP address manually on Linux with ifconfig or ip command execute:

# ifconfig | grep -w inet | awk '{ print $2}'
# ip a s | grep -w inet | awk '{ print $2}'

Your Public IP address

To check your public IP address manually on Linux with wget or curl command execute:

# echo $(wget -qO -
# echo $(curl -s

Comments and Discussions
Linux Forum