Subnet ID
If any requirement to subnet some network, we must need the subnet id. Subnet id use for identity which subnet in the network.
we get an example scenario here.
There is an ABC company. That company have 4 divisions. So that network wants 4 subnets.
but how to apply subnets to the computer. It`s also doing by bits.
1 bit have 0 and 1. So there are two IDs. In this scenario, we want 4 subnets. Then we want 4 IDs. since we need 2 bits
1 bit =0, 1
2 bit = 00, 01, 10, 11
how to include subnet id into the IP address.if we get a class c address as 192.168.10.4, this IP network id can not change, only the host id can change. So we book some bits for subnet id from that host id.
Subnet Subnet ID (2 bit)
D1 00
D2 01
D3 11
D4 10
D1 (00)
192.168.10.00 000000 (192.168.10.0) Network Address
192.168.10.00 000001 (192.168.10.1)
192.168.10.00 000010 (192.168.10.2)
|
192.168.10.00 111111 (192.168.10.63) Broadcast Address
D2 (01)
192.168.10.01 000000 (192.168.10.64) Network Address
192.168.10.01 000001 (192.168.10.65)
192.168.10.01 000010 (192.168.10.66)
|
192.168.10.01 111111 (192.168.10.127) Broadcast Address
D3 (10)
192.168.10.10 000000 (192.168.10.128) Network Address
192.168.10.10 000001 (192.168.10.129)
192.168.10.10 000010 (192.168.10.130)
|
192.168.10.10 111111 (192.168.10.191) Broadcast Address
D4 (11)
192.168.10.11 000000 (192.168.10.192) Network Address
192.168.10.11 000001 (192.168.10.193)
192.168.10.11 000010 (192.168.10.194)
|
192.168.10.11 111111 (192.168.10.255) Broadcast Address
So briefly,
D1 0-63
D2 64-127
D3 128-191
D4 192-255
D1 difference is 63, but we get the 0 first value also, we have all 64 values. Other D2, D3, D4 are the same logic.
=========================================================================
We can calculate this short term.
Comments
Post a Comment