How to find my public IP

In Linux terminal, type

wget -qO- http://ipecho.net/plain ; echo

From browser, type

http://ipecho.net

For subnet mask

http://www.aboutmyip.com/AboutMyXApp/SubnetCalculator.jsp