HI. I need clarifications coz im confused. In the public IP address, the classes. which is correct:

Class A: 1.0.0.0 to 126.0.0.0 or Class A: 1.0.0.0 to 126.255.255.0
Class B: 128.0.0.0 to 191.0.0.0 or Class B: 128.0.0.0 to 191.255.255.0
Class C: 192.0.0.0 to 223.0.0.0 or Class C: 192.0.0.0 to 223.255.255.0
and so on...

are x.0.0.0 and x.255.255.0 the same?

And how can I compute IP address?

Thanks in andvance.!

Hello,

A class A subnet contains 16777216 IP addresses. A class A network starting at 192.0.0.0 would extend to 192.255.255.255 and contain all of the addresses in that subnet (i.e. 192.0.0.1, 192.0.0.2, ...., 192.255.255.254, 192.255.255.255)

A Class B starting with 192.0.0.0 would extend to 192.0.255.255 and would contain 65536 addresses (i.e. 192.0.0.1, 192.0.0.2, ...., 192.0.255.254, 192.0.255.255) another example could be 192.168.0.0 to 192.168.255.255 (i.e. 192.168.0.1, 192.168.0.2, ...., 192.168.255.254, 192.168.255.255)

A Class C contains 256 addresses and might be 192.168.0.0 through 192.168.0.255 . Which means the Class B starting at 192.168.0.0 has 256 class C subnets:

Class C Network           Range
    1            192.168.0.0 - 192.168.0.255
    2            192.168.1.0 - 192.168.1.255
    3            192.168.2.0 - 192.168.2.255
                          .
                          .
                          .
    255          192.168.254.0 - 192.168.254.255
    256          192.168.255.0 - 192.168.255.255

Hope this helps.

Thank you sir for clearing my mind :)) your answer helps a lot!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.