1. First, tell to your brain
/24 is C Class
/16 is B Class
/8 is A Class
2. Basicly, this subnetting methode is come from Ip address Class C which comes from multiple of 8
/24 = 256 address per subnet, start from 0
/25 = 128 half of 256
/26 = 64
/27 = 32
/28 = 16 half of 32
/29 = 8
/30 = 4
/31 = 2 half of 4, and so on
/32 = 1
Just remember the underlined numbers 256,32,4.
3. Now start implementing this case
CLASS C
10.10.10.10.10/29
The nearest number from /29 is /30 (which i told you to remember). So the Question is ?
IP address persubnets = 8 (the nearest number you've remembered, divided or multipled it by 2)
Network address = 10.10.10.8 (10.10.10.10 is included in range 8-15, the first is network)
0-7
8-15
16-31
and so on, untill 255
Broadcast address = 10.10.10.15 (10.10.10.10 is included in range 8-15, the last is broadcast)
0-78-15
16-31
and so on, untill 255
Host = 10.10.10.9 - 10.10.10.14
Cause in range 8-15, the first is network and the last is broadcast.
The number left will be host address, and could be use as your ip device.
Subnet = 248 (256 - 8)
256 is amount of ip address in class c
8 is ip address per subnet.
CLASS B
30.30.30.30/23
there is no nearest number. What should i do? easy man, i got it.
How /23 could be as CLASS C ? just do this 23+8 = 31 which mean /31 = 2
Where the 8 come from ? +8 is mandatory, the methode.
So, what should i do with 2 ? ok this is the deal
Ip address per subnets = 512
2 x 256 (number of ip address in class c), got it?
Network address = 30.30.30.0
Broadcast address = 30.30.31.255
Cause the ip address per subnet is 512
You have to jump from 30.30.30.0 to 30.30.31.0
Which mean all ip address in range 30.30.30.0 - 30.30.31.255 is included
Host = 30.30.30.1 - 30.30.30.254
Subnet = 255.255.255.254.0
254 is 256-2 Remember 2 ? Thats the clue, noted that.
CLASS A
50.50.50.50/14
Make /14 as class. What should you do? 14+8= 22, thats not enough. 22+8 = 30. /30 = 4
Ip address = 262144
4 x 65536
65536 is the amount of ip address in class B (256 x 256 ip addres ip class c)
Network = 50.48.0.0
50 is on range 48-51
Broadcast = 50.51.255.255
Host = 50.48.0.1 - 50.51.255.255
Subnet = 255.252.0.0
252 is from 256 - 4
So, with your hard work, you could do those thing even better. Good luck!
Tidak ada komentar:
Posting Komentar