Suppose you are working for a company which has been given a block address of 192.100.2.0/24. You also have a Customer Service department which has 50 computers which will need to be connected to the network, as well as an IT department and an HR department which only require space for 25 computers each.
Which of the following is the subnet mask which will support all 3 of these subnets?/29/26/28/27
IP address: 192.100.2.0/24
Subnet mask: 255.255.255.0
host bits = 8 bits
num of hosts =256
first host = 192.100.2.1
last host = 192.100.2.254
Ip Address
Base 10
192
100
2
0
Subnet mask
Base 10
255
255
255
0
IP Address
Base 2
11000000
01100100
00000010
00000000
Subnet mask
Base 2
111111111
111111111
1111111111
00000000
NA
Base 2
11000000
01100100
00000010
00000000
NA
Base 10
192
100
2
0
BA
Base 10
192
100
2
255
FHA
Base 10
192
100
2
1
LHA
Base 10
192
100
2
254
Number of Host bits
8
Number of subnet
256
There are no rows in this table
What is the purpose of an IPv4 subnet mask?
A1: Subnet masks tell us about how many bits are used for network and for the host parts.
Convert the following IPv4 address to binary: 192.168.1.1
172
16
5
10
10101100
00101011
00000101
00001010
There are no rows in this table
Given the IP address 172.16.0.0/16, calculate the network address, broadcast address, and range of usable IP addresses.
to get subnet mask we will do the below calculation:
so from /16 we know that we have 16 bits for network and 16 for host part.
we will do 16 bits 1 and remaining 16 bits to 0
1111111 11111111 00000000 00000000
255.255.0.0
172
16
0
0
10101100
00101011
00000000
00000000
255
255
0
0
11111111
11111111
00000000
00000000
10101100
00101011
00000000
00000000
172
43
0
0
There are no rows in this table
Network Address-172.43.0.0
Broad Cast Address- 172.43.0.65,535
First Usable Host-172.43.0.0
Last Usable Host - 172.43.0.65,533
total usable host - 6534
Number of subnet- 6534
How would you determine the number of hosts available in a given subnet?
We will check how many bits are assigned for Network address . For /24 notation its 255.255.255.0 24 bits are used for network and 8 bits for host. Which we got after minus 32-24 .