IP address question

Oddler

Member
Would my laptop using the same internet connection as my parents PC have the same IP address?

Or does each computer have a different address regardless of internet connections?
 
All computers on your network will have the same Internet IP...but it will also have a specific IP for the network (i.e. 192.168.1.2 or 192.168.1.3 or something).
 
Well, there are two ip addresses, local and external.
External ip address is the ip adress given by the ISP and is same for all the computers attached to that network. This is the address by which any website notice you.
Then the router, or the gateway computer (having the real ip) assigns DIFFERENT local ip addresses to each computer in the format like:
XXX.XXX.X.101
XXX.XXX.X.102
XXX.XXX.X.103

There are actually a few different things to consider here:

First, the XXX.XXX.X.101 like addresses are "local" IP addresses that your router assigns to the various computers on your local network. These addresses are not "valid" on the Internet.

Your Internet service provider (ISP) also assigns you another "valid" ("routable") IP address that connects your local network to the Internet. Your router "translates" your local IP addresses into that "routable" one from your ISP.
To sites on the Internet, you most likely are identified only by the single IP address from your ISP, regardless of the local IP addresses your computers use.
 
I have a question:

If each part of an IP is an octet, then why do some IPs have only 1 digit in the mid or last section?

Like in Dropkickmurphys example, 192.168.1.2. Why just 1.2., and not something like 103.204? Is it because, like in sshagy's explanation, because IPs follow consecutively, starting from 0 to 255? And once the last part of the IP reaches 255, the second part increments by 1? Or are higher numbered IPs (like 255) reserved for different classes?
 
Well if your laptop and PC are using the same internet connection then ofcourse they will have same IP address but ya if they are using different internet connection then they will not have same Ip address..
138l1309.jpg
 
Back
Top