To make this easier on you you will probably want to run ddclient and use dyndns.org to get a hostname that you can use from the internet to connect to your dynamic IP. Of course, if you have a static address just ignore this

If you want to see the ip addresses assigned to the interfaces just use ifconfig -a