Click here to Skip to main content
15,122,845 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I understand that in some cases this question would regard programming but in my case it poses as some quality. I sort of understand how IP works, its octets and its bits, the Network and the Host. I understand that subnetting helps break down the larger amounts of hosts into smaller manageable hosts. What I dont get is how they match subnet with the IP.
I have a Network+ Study Guide (Thick book), but too much detail is throwing me off. Like Class A,B,C is mentioned in the book, but then I read an article on online where classes arent used anymore, which is why subnet masking came in.

Like for example, how do they match:

I know that probably isnt exact, but I could use more depth to understanding. Much help would be appreciated.

The part is just a mask to tell the IP software how many bits in the address represent your subnet. It is possible to split large lans into subnets with masks like etc. All the leftmost bits are used to isolate the subnet portion, and the unmatched bits represent the host within that subnet.

So in your example above your subnet is 192.168.1 which allows you 254 unique hosts (addresses 0 and 255 are reserved).
well that is where your class IP's come in is the default for a class c ip is the default for class b ip is the default for class a ip

the reason for this is your host and network address

the subnet works as follows

255 specifies the network part of the ip
0 specifies the host part of the ip

i think i have my naming correct cant remember that well

but the information is correct hope this helps

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900