subnetting
subnetting
subnetting
ip:10.50.88.99/22
. What are the total hosts?
Total hosts mean that they are the number of hosts available for each
subnet.
If you need to calculate for the number of hosts, you have to use the
formula 2H
= total hosts, with H declaring the number of host bits.
Let’s say the IP Address is 192.168.1.0/26. Compute by subtracting the
bits
consumed by the network address from the total bits in the IP Address.
In this
case, that would be 32-26, which means that you have 6 as the total
number of
hosts.
• How many subnets does the given subnet
mask provide?
• For this, one you have to use the 2N formula,
where N stands for the borrowed
• bits from the host bits.
• Again, if the IP Address is 192.168.1.0, you
could say that N is 3 and that it
• belongs to Class C with the default subnet
mask of 255.255.255.0 or 1/24 in
• CIDR.
• 10101100.00010000.01100100.00000000
network address (172.16.100.0)
• 10101100.00010000.01100100.00001111
broadcast address (172.16.100.15)
• This is for the first network. We divide the network
by using higher Subnet Mask. So, let’s look at the
other networks:
• 10101100.00010000.01100100.00010000
• 10101100.00010000.01100100.00100000
• 10101100.00010000.01100100.00110000
• 10101100.00010000.01100100.01000000
• ….
• 10101100.00010000.01100100.11110000
• Omar Mar'i, [20/6/2024 16:26]
• IP: 192.168.2.64/ 26
• Subnet Mask: 255.255.255.192
• 11111111.11111111.11111111.11000000
• 32 - 26 = 6
• Hosts = (2^⁶) - 2 = 62
• Networks= 2^2 = 4
• -------------------
• 1st Subnet:
• -------------------
• Net ID= 192.168.2.64
• First IP = 192.168.2.65
• Last IP = 192.168.2.126
• Broadcast = 192.168.2.127
• .
• .
• .