Multiple IP addresses or only one?

Lo
10

I own 2 laptops. Does every laptop have a different IP address or do they both have the same IP addresses because they are in the same household?

Je

Outward, your household only has the IP address that your provider assigns to you.

Internally in your household every device that is connected to the router has its own IP. This usually differs only in the last places.

1st device: xyz.xyz.xyz.1

2nd device: xyz.xyz.xyz.2

Ca

Within your network, the computers have different IP addresses. Most of them are in the net class C (129.178.x.x). Outside of your network, it may indeed happen that these are the same. Your router has been assigned a single address by the ISP. The devices in your (W) LAN are consistently below this IP. The data packets from the outside are distributed by the router based on the MAC addresses of the terminals.

th

A 129 … IP is in class B, not C.

Class C goes from 192.0.0.0 - 223.255.255.255 ^^

Ca

Excuse me, payer.

th

No problem.
Just wanted to point this out

Ca

Tnx

Ge

Within the private network yes, most of the routers you get from the provider assigned by default IPs in the range 192.168.x.x (x = variable from 0 - 255)

The router then has a public IP address, which is assigned by the provider. For any website, it looks like both devices are using the same IP address because the router has only one public one.

The router then distributes the incoming packets in the private network to the respective terminals.

Ec

The class split is actually outdated, because all devices can now flexibly split the network component and the host component. This is done by the network mask. This determines how large the network is and how many IP addresses in the "own" network may be.

Also called CIDR, Classless interdomain routing

th

I'm already aware that is obsolete

Still not completely irrelevant.

Ec

Others read it, it's not wrong, it's just outdated.