It’s not always clear from which IP you might be reaching hosts on the internet. These IP’s are important to know since they are often the IP’s that you will whitelist on receiving systems.
The easiest way to find out what your external IP is, would be executing this command:
curl https://ipinfo.io/ip
Hope this helps 🙂