Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are the terms "external IP address" and "public IP address" synonomous? [closed]

Is there a difference in the meaning of external IP address vs public IP address and internal IP address vs private IP address?

like image 876
Celeritas Avatar asked Nov 01 '25 17:11

Celeritas


1 Answers

Yes, external and public IP address would be the same thing, and internal or private IP adress is the one you have inside your firewall/router. So for example, if you have a BT homehub, it will give your machine an IP address like 192.168.1.65. The external IP address is what your router uses to send/receive data OUTSIDE of the firewall that is part of the router. You can see what your IP address is by going to a website like this one: http://whatismyipaddress.com/ (It's usually also possible to figure out deep down in some menu in the administration of your router, but all routers are pretty much different user interfaces, so it's hard to explain where/how)

There are two reasons for using internal IP addresses:

  1. There is a shortage of "free" ip addresses, so if everyone's computer had a public IP address, we'd be playing musical chairs, but with far less chairs than people... By having private IP addresses, many computers can use the same private IP address, with just a few routers connected to the actual public network with a public IP address.

  2. There is a certain element of increased security by not allowing a direct route to every machine inside the firewall, so by having machines with private IP addresses inside the firewall - to an attacker, the inside of the firewall is just a big black box.

You can find out your own ip address by checking the settings on your network card. In Windows, ipconfig will show the network cards and their IP addresses. On a linux system ifconfig will show the same type of information.

like image 191
Mats Petersson Avatar answered Nov 03 '25 12:11

Mats Petersson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!