Class C IP Address

PPLdude

Expert Member
Joined
Oct 3, 2011
Messages
1,716
Reaction score
663
Location
South
I was wondering,

Class C addresses start with 11000000 which makes up the 192.

Where does the rest of the IP Address come from? Is the rest of the Network IP Address bound to the rule of specific binary digits?

Does it have to be 192.168.100.1 - 192.168.100.254
 
I was wondering,

Class C addresses start with 11000000 which makes up the 192.

Where does the rest of the IP Address come from? Is the rest of the Network IP Address bound to the rule of specific binary digits?

Does it have to be 192.168.100.1 - 192.168.100.254
A class C address is anything with a /24 subnet mask.
The generally accepted Class C address range is from 192.0.1.1 to 223.255.254.255
 
I was wondering,

Class C addresses start with 11000000 which makes up the 192.

Where does the rest of the IP Address come from?
IPv4 addresses are 32-bit... you've only shown one of the four octets.
 
A class C address is anything with a /24 subnet mask.
Subnet mask doesn't dictate the class at all. You can have a class A address (10.0.0.x) with a /24 subnet mask.

The generally accepted Class C address range is from 192.0.1.1 to 223.255.254.255
Typo? Class C is from 192.0.0.1 (first usable host address) to 223.255.255.254 (last usable host address).
 
I think the zero subnet is excluded...?
But yeah you could be correct from a theoretical point of view.
 
Sorry my bad,

The example was just using 192.168.100.node to show the host address set to all 0's (192.168.100.0) and all 1's (192.168.100.255)

I see now that its just the 1st octet that the 110 binary applies to.
 
Subnet mask doesn't dictate the class at all. You can have a class A address (10.0.0.x) with a /24 subnet mask.

originally Class A, refers to 255.0.0.0
Class B is 255.255.0.0
Class C is 255.255.255.0

This changed when it became wasteful and impractical to do this
 
Classes you look at the first octet.
Class A:
0000 0001 up to
0111 1111
Then you move the 0 one further.
Class B:
1000 0000 up to
1011 1111
And again, move it one further.
Class C:
1100 0000 up to
1101 1111
And again, move it one further
Class D:
1110 0000 up to
1110 1111
And the rest is class E.

For private addresses, there are those you have to know off by heart, Class A,B,C all have one.
A: 10.0.0.0-10.255.255.255 (and 127.0.0.1 is loopback, so the device itself)
B: 172.16.0.0 - 172.31.255.255
C: 192.168.0.0- 192.168.255.255

The above you use for your LAN networks, no internet page will have those IP addresses.
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X