|
The Off-Topic Lounge APPROPRIATE FAMILY-FRIENDLY TOPICS ONLY - READ THE RULES! This forum is for posting anything (excluding topics prohibited by the forum rules) that's unrelated to email. General discussions, in other words. |
|
Thread Tools |
7 Jul 2014, 04:03 AM | #1 |
Member
Join Date: Aug 2008
Posts: 61
|
A question about IP addresses
Hello,
I have a question regarding IP addresses. So, I understand that I have a home network where each device has its own IP address. Then, to connect to the outside world, my modem connects to my ISP’s server, where it is given an external IP address. This means that all my devices have the same external IP when connecting to the outside world. Also, I don’t have a static external IP, it’s dynamic (though seems to change pretty rarely). Now my question is this: Let’s say that someone in the same city uses the same ISP and connects to the same ISP server. Then, we both load the same website. In the analytics of that website, will these two independent connections display different IP addresses, or will they just see the server’s IP twice? Essentially, what I’m asking is whether websites and their analytics receive the actual external IP address of each user, or only a common one per ISP server? I’ve always been curious how this works and thought I’d ask. |
7 Jul 2014, 09:04 AM | #2 |
The "e" in e-mail
Join Date: Nov 2005
Location: San Francisco
Posts: 2,281
|
Your ISP assigns your modem/router a unique IP address, and in a similar way your router assigs every device on your home network its individual IP address.
|
7 Jul 2014, 11:44 AM | #3 |
Intergalactic Postmaster
Join Date: May 2004
Location: Irving, Texas
Posts: 8,929
|
Network Address Translation allows private and public LAN interconnection
Because consumers now use multiple devices on one connection to their ISP, NAT (Network Address Translation) is used in addition to DHCP (Dynamic Host Configuration Protocol) to allow dynamically assigned local network devices to be connected through a dynamically assigned single public IP address. This allows efficient assignment of IP addresses, since you can have a couple of dozen local devices (each of which has a unique MAC address and private IP address) accessing the Internet through one public IP address (which to others just looks like one of the many assigned to your ISP from a huge block of IP addresses).
|
8 Jul 2014, 03:30 AM | #4 |
Member
Join Date: Aug 2008
Posts: 61
|
Thanks.
So, on the internet, do websites see the unique IP address of each user, or the one of the ISP server to which the user is connected? |
8 Jul 2014, 04:57 AM | #5 |
The "e" in e-mail
Join Date: Feb 2006
Location: EU
Posts: 4,945
|
Not necessarily "unique IP address of each user". For example in a typical home setup there may be multiple users behind a router, all with the same external IP address.
|
8 Jul 2014, 08:31 AM | #6 |
The "e" in e-mail
Join Date: Nov 2005
Location: San Francisco
Posts: 2,281
|
Usually only the public IP address assigned to your router (Internet facing IP). The devices behind your router (local network) are typically hidden from the Internet, although any of them can be revealed by creating a NAT passthrough sometimes used for gaming or VOIP.
|
8 Jul 2014, 10:39 PM | #7 | |
Cornerstone of the Community
Join Date: Mar 2011
Location: ~$
Posts: 652
|
Quote:
Most homes have only one internet connection, so every device owned by every family member will show up as the same IP address. Some small businesses have multiple internet connections, so there might be groups of employees who share an IP address. Large corporations often have a lot of IP addresses and expensive equipment to handle them. In their case, the number of IP addresses they use is completely unrelated to how many wires run into their building. Mobile devices on 3G or LTE connections are a bit more complicated. Most carriers will assign a single, dynamic IP address to each device, but since the world is running out of IPv4 addresses, more and more carriers might begin to put several subscribers on the same IP address. In that case, you might be sharing an IP address with a random stranger across the street. |
|
9 Jul 2014, 07:44 AM | #8 | |
Member
Join Date: Aug 2008
Posts: 61
|
Quote:
|
|