Ip address solution

Apr 24, 2018
1
0
10
What is the difference between the address 192.168.1.1 and 172.168.1.1.
I need answer for more understanding
What's the difference between this also 192.168.1.2 and 192.168.2.1???????????????????
 
Solution
This has a decent explanation. The different private ranges have different numbers of ips to support different sized networks.

CIDR uses masks to allocate different numbers of ips. /24 or 255.255.255.0 is 256 ips. its the most common for home routers. Less than /24 is very uncommon, even if you need lots of ips you wouldn't have all the hosts on the same lvl2 flood.

NAPT is how many people/hosts can share one public ip and so we don't run out of ips. ISP's might even provide you a private one so that they don't have lease as many public ones. Cell Phones have their own private range and it's pretty much the standard. You can check your router's WAN interface ip and compare it to a website that lists your ip to see if the ISP has a...
Nothing they are all ipv4 addresses. Some like 192.168.x.x are consider private addresses that can not be used directly on the internet. There are a few other special types but the vast majority are considered public and are used on the internet.

I suspect part of your confusion is that the subnet mask will determine how ips are grouped.
 
If we make an analogy with real life (with assumption that it is 172.16.1.1 and not 172.168.1.1):
These are two different rooms in two different hotels in probably two different towns. The hotels can be built in the middle of no where, with no roads reaching them. And if there's a road, you can go only to the entrance, you can't go to any particual room unless you're personally invited, and escorted.

The primary difference is that 192.168.xxx.yyy "hotel" can have almost 256*256 rooms, while 172.16.xxx.yyy can have 16*256*256 rooms).

Continuing with the analogy: Some of these addresses represent not a single room, but a whole floor, or the whole hotel, white others represent hallway doors, or hotel' entrance.
 
This has a decent explanation. The different private ranges have different numbers of ips to support different sized networks.

CIDR uses masks to allocate different numbers of ips. /24 or 255.255.255.0 is 256 ips. its the most common for home routers. Less than /24 is very uncommon, even if you need lots of ips you wouldn't have all the hosts on the same lvl2 flood.

NAPT is how many people/hosts can share one public ip and so we don't run out of ips. ISP's might even provide you a private one so that they don't have lease as many public ones. Cell Phones have their own private range and it's pretty much the standard. You can check your router's WAN interface ip and compare it to a website that lists your ip to see if the ISP has a NAT.

https://www.lifewire.com/what-is-a-private-ip-address-2625970

https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing

https://en.wikipedia.org/wiki/Network_address_translation

172.168.x.x is in the public range fyi. use ones from the private range behind your NAT.
 
Solution

TRENDING THREADS