- Posts: 64
- Thank you received: 0
help me how to subnet class A, B & C
- ashok_nitc
- Offline
- Junior Member
Less
More
17 years 7 months ago #20823
by ashok_nitc
Replied by ashok_nitc on topic Re: help me how to subnet class A, B & C
i think you need to discuss with your teacher once again! whatever statistics you have given is right but while desigining the network you can use 255.255.255.240 /28 as a subnet musk for your network(whether its class A,B or C).
everything depends upon your network..means number of subnet you requre and no of host per subnet is required and Class(A,B or C) you are using.
and i think you understood that 255.255.0.0 is not a class A ip address!!!
everything depends upon your network..means number of subnet you requre and no of host per subnet is required and Class(A,B or C) you are using.
and i think you understood that 255.255.0.0 is not a class A ip address!!!
17 years 7 months ago #20825
by Smurf
Wayne Murphy
Firewall.cx Team Member
www.firewall.cx
Now working for a Security Company called Sec-1 Ltd in the UK, for any
Penetration Testing work visit www.sec-1.com or PM me for details.
Replied by Smurf on topic Re: help me how to subnet class A, B & C
I'm with ashok_nitc on this one, no idea where you have got this from (but i am doing some research to see if i can find what you have read).
This is taken from the TCP/IP Guide;
Class A = First Octect IP Address is 00000001 to 01111110 - In Decimal first Octect 1 to 126 - Octects in Network ID/Host ID - 1 / 3 therefore this is 255.0.0.0
Class B = First Octect IP Address is 10000001 to 10111110 - In Decimal first Octect 128 to 191 - Octects in Network ID/Host ID - 2 / 2 therefore this is 255.255.0.0
Class C = First Octect IP Address is 11000001 to 11011110 - In Decimal first Octect 192 to 223 - Octects in Network ID/Host ID - 3 / 1 therefore this is 255.255.255.0
Class D/E Omitted
This applies if you want to stick to Classful addressing. Classless is then where you start to change the Subnet Mask to start looking at VLSM
This is taken from the TCP/IP Guide;
Class A = First Octect IP Address is 00000001 to 01111110 - In Decimal first Octect 1 to 126 - Octects in Network ID/Host ID - 1 / 3 therefore this is 255.0.0.0
Class B = First Octect IP Address is 10000001 to 10111110 - In Decimal first Octect 128 to 191 - Octects in Network ID/Host ID - 2 / 2 therefore this is 255.255.0.0
Class C = First Octect IP Address is 11000001 to 11011110 - In Decimal first Octect 192 to 223 - Octects in Network ID/Host ID - 3 / 1 therefore this is 255.255.255.0
Class D/E Omitted
This applies if you want to stick to Classful addressing. Classless is then where you start to change the Subnet Mask to start looking at VLSM
Wayne Murphy
Firewall.cx Team Member
www.firewall.cx
Now working for a Security Company called Sec-1 Ltd in the UK, for any
Penetration Testing work visit www.sec-1.com or PM me for details.
17 years 7 months ago #20828
by durk21
for IP addresses it's 1 to 127 and so on
i.e
class A
1.0.0.0 to 127.0.0.0 IP address
255.128.0.0 is actually the first subnet though for a class A
for class B 128.0.0.0 to 191.255.255.255
255.255.128.0 is the first subnet
for class C 192.0.0.0 to 223.255.255.255
255.255.255.128 being the first subnet there
I'm not talking about TCP/IP I'm just talking about subnets and subnetting calculations
i.e
class A
1.0.0.0 to 127.0.0.0 IP address
255.128.0.0 is actually the first subnet though for a class A
for class B 128.0.0.0 to 191.255.255.255
255.255.128.0 is the first subnet
for class C 192.0.0.0 to 223.255.255.255
255.255.255.128 being the first subnet there
I'm not talking about TCP/IP I'm just talking about subnets and subnetting calculations
17 years 7 months ago #20829
by durk21
I never said it was an IP address!! I said it fell under a CLASS A SUBNET! Which will be paired with a Class A IP address.
and to quote Smurf
you are correct but part of that is for IP address ranges not subnet ranges. It does also go 1/3 2/2 3/1 BUT if u paid attention that is how I have it in my chart
Replied by durk21 on topic Re: help me how to subnet class A, B & C
and i think you understood that 255.255.0.0 is not a class A ip address!!!
I never said it was an IP address!! I said it fell under a CLASS A SUBNET! Which will be paired with a Class A IP address.
and to quote Smurf
his is taken from the TCP/IP Guide;
Class A = First Octect IP Address is 00000001 to 01111110 - In Decimal first Octect 1 to 126 - Octects in Network ID/Host ID - 1 / 3 therefore this is 255.0.0.0
Class B = First Octect IP Address is 10000001 to 10111110 - In Decimal first Octect 128 to 191 - Octects in Network ID/Host ID - 2 / 2 therefore this is 255.255.0.0
Class C = First Octect IP Address is 11000001 to 11011110 - In Decimal first Octect 192 to 223 - Octects in Network ID/Host ID - 3 / 1 therefore this is 255.255.255.0
Class D/E Omitted
you are correct but part of that is for IP address ranges not subnet ranges. It does also go 1/3 2/2 3/1 BUT if u paid attention that is how I have it in my chart
17 years 7 months ago #20832
by Dove
Dove
Replied by Dove on topic Re: help me how to subnet class A, B & C
Hiya,
while doing VLSM, no need to worry about the IP Class range. The class type is only belongs to the IP range which you are using...as you mentioned on earlier post and its not depends to subnetmask.....
The subnet mask is puerly used to define the number hosts, subet(networks), Network and Broadcast address for each subnets...for the given IP (what ever the class the IP belongs to)....
while doing VLSM, no need to worry about the IP Class range. The class type is only belongs to the IP range which you are using...as you mentioned on earlier post and its not depends to subnetmask.....
The subnet mask is puerly used to define the number hosts, subet(networks), Network and Broadcast address for each subnets...for the given IP (what ever the class the IP belongs to)....
Dove
17 years 7 months ago #20833
by durk21
Replied by durk21 on topic Re: help me how to subnet class A, B & C
CLASS A SUBNETS
255.128.0.0 / 9
255.192.0.0 / 10
255.224.0.0 / 11
255.240..0.0 / 12
255.248.0.0 / 13
255.252.0.0 / 14
255.254.0.0 / 15
255.255.0.0 / 16
Power of 0's
2^23 - 2
2^22 - 2
2^21 - 2
2^20 - 2
2^19 - 2
2^18 - 2
2^17 - 2
2^16 - 2
Power of 1's
2^1 - 2
2^2 - 2
2^3 - 2
2^4 - 2
2^5 - 2
2^6 - 2
2^7 - 2
2^8 - 2
Number Of Hosts
8,388,608
4,194,302
2,097,150
1,048,574
524,286
262,142
131070
65534
Number Of Subnets
0
2
6
14
30
62
126
254
IP ADDRESS RANGES
1 - 126
1.0.0.0 - 127.0.0.0
255.128.0.0 / 9
255.192.0.0 / 10
255.224.0.0 / 11
255.240..0.0 / 12
255.248.0.0 / 13
255.252.0.0 / 14
255.254.0.0 / 15
255.255.0.0 / 16
Power of 0's
2^23 - 2
2^22 - 2
2^21 - 2
2^20 - 2
2^19 - 2
2^18 - 2
2^17 - 2
2^16 - 2
Power of 1's
2^1 - 2
2^2 - 2
2^3 - 2
2^4 - 2
2^5 - 2
2^6 - 2
2^7 - 2
2^8 - 2
Number Of Hosts
8,388,608
4,194,302
2,097,150
1,048,574
524,286
262,142
131070
65534
Number Of Subnets
0
2
6
14
30
62
126
254
IP ADDRESS RANGES
1 - 126
1.0.0.0 - 127.0.0.0
Time to create page: 0.152 seconds