Task 1
Task 1
Task 1
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
172.30.1.33
255.255.0.0
Network Address
Step 1: Translate Host IP Address and Network Mask into binary notation
First, list down these values of numbers
128
64
32
16
In order to remember these values start with the number 1, go from right to left,
and double that number seven times. For example, start with 1 on the right side. For
your next number, double the 1 (1 x 2 = 2). So, 2 is your next number
(remembering to go from right to left). For your third number, double the 2 (2 x 2 =
4); to continue the sequence, double the 4 (4 x 2 = 8). Repeat this process until
youve doubled your original number, seven times. The key to this is that every
single one of the values we put in that row are going to have either number 1 or
number 0 assigned to it. To convert the IP address we will take that string of
numbers and start from left to right this time. Each value in an IP address is an
octet. Subtract each octet with the numbers in the list until there is no remainder
left from the octet.
Take the IP address 172.30.1.33 and start with the 1st octet (172)
172 128 = 44
44 32 = 12
12 8 = 4
44=0
Assign the number 1 to the values used to subtract the octet and 0 for the ones
not used.
128
1
64
0
32
1
16
0
8
1
4
1
2
0
1
0
So now we know that a decimal number 172 is 10101100 converted to binary form.
To double check, we take the values assigned with 1 and add them together:
128+32+8+4=172
64
0
32
0
16
1
8
1
4
1
2
1
1
0
4
0
2
0
1
1
4
0
2
0
1
1
64
0
32
0
16
0
8
0
64
0
32
1
16
0
8
0
Network Mask
Repeat the same procedure used for the IP address to convert the Network Mask
into binary notation.
1st Octet (255)
255 128 = 127
127 64 = 63
63 32 = 31
31 16 = 15
15 8 = 7
74=3
32=1
11=0
128
1
64
1
32
1
16
1
8
1
4
1
2
1
1
1
128
1
64
1
32
1
16
1
8
1
4
1
2
1
1
1
4
0
2
0
1
0
64
0
32
0
16
0
8
0
64
0
32
0
16
0
8
0
4
0
2
0
1
0
So the Network Mask 255.255.0.0 has its binary form equivalent of:
11111111.11111111.00000000.00000000
Network Address
Perform a bit-wise AND (Logical AND Gate) operation on the IP address and subnet
mask (1 AND 1 results in 1; 1 AND 0 results in a 0).
IP Address
Subnet Mask
64
0
0
0
32
1
0
0
16
0
1
0
8
1
1
0
4
1
1
0
2
0
1
0
1
0
0
0
Broadcast Address
To find the broadcast address, use the network address and the wildcard (inverse of
Network Mask; 1 becomes 0 and 0 becomes 1) and perform a bit-wise OR (Logical
OR Gate) operation (1 OR 1 results in 1; 0 OR 1 results in 1; 0 OR 0 results in a 0).
Network Mask (Original)
Wildcard
Bit-wise OR operation
Network Address
Wildcard
Broadcast Address
Use the method in converting the IP Address and Network Mask to convert the
Broadcast Address into decimals (Reversed; adding the numbers instead of
subtracting).
128
1
0
1
1
64
0
0
1
1
32
1
0
1
1
16
0
1
1
1
8
1
1
1
1
4
1
1
1
1
2
0
1
1
1
1
0
0
1
1
By counting the number of host bits (The number of1s in the binary notation), we
can determine the total number of usable hosts for this network. (Use the wildcard
in binary notation)
1
1
2
1
3
1
4
1
5
1
6
1
7
1
8
1
9
1
10
1
11
1
12
1
13
1
14
1
15
1
Host Bits: 16
Using the formula 2n 2 (n = Number of Bits) we can deduce the total number of
usable hosts.
216 2 = 65,536 2
= 65,534 (Maximum number of Hosts).
Now that we have all the data, fill in the table given.
Host IP Address
Network Mask
Network Address
Network Broadcast Address
172.30.1.33
255.255.0.0
172.30.0.0
172.30.255.255.
16
1
16
65,534
PROBLEM 2
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
172.30.1.33
255.255.255.0
Network Address
Step 1: Translate Host IP Address and Network Mask into binary notation
First, list down these values of numbers
128
64
32
16
In order to remember these values start with the number 1, go from right to left,
and double that number seven times. For example, start with 1 on the right side. For
your next number, double the 1 (1 x 2 = 2). So, 2 is your next number
(remembering to go from right to left). For your third number, double the 2 (2 x 2 =
4); to continue the sequence, double the 4 (4 x 2 = 8). Repeat this process until
youve doubled your original number, seven times. The key to this is that every
single one of the values we put in that row are going to have either number 1 or
number 0 assigned to it. To convert the IP address we will take that string of
numbers and start from left to right this time. Each value in an IP address is an
octet. Subtract each octet with the numbers in the list until there is no remainder
left from the octet.
Take the IP address 172.30.1.33 and start with the 1st octet (172)
172 128 = 44
44 32 = 12
12 8 = 4
44=0
Assign the number 1 to the values used to subtract the octet and 0 for the ones
not used.
128
1
64
0
32
1
16
0
8
1
4
1
2
0
1
0
So now we know that a decimal number 172 is 10101100 converted to binary form.
To double check, we take the values assigned with 1 and add them together:
128+32+8+4=172
64
0
32
0
16
1
8
1
4
1
2
1
1
0
4
0
2
0
1
1
4
0
2
0
1
1
64
0
32
0
16
0
8
0
64
0
32
1
16
0
8
0
10101100.00011110.00000001.00100001
Network Mask
Repeat the same procedure used for the IP address to convert the Network Mask
into binary notation.
1st Octet (255)
255 128 = 127
127 64 = 63
63 32 = 31
31 16 = 15
15 8 = 7
74=3
32=1
11=0
128
1
64
1
32
1
16
1
8
1
4
1
2
1
1
1
32=1
11=0
128
1
64
1
32
1
16
1
8
1
4
1
2
1
1
1
4
1
2
1
1
1
4
0
2
0
1
0
64
1
32
1
16
1
8
1
64
0
32
0
16
0
8
0
So the Network Mask 255.255.255.0 has its binary form equivalent of:
11111111.11111111.11111111.00000000
Network Address
Perform a bit-wise AND (Logical AND Gate) operation on the IP address and subnet
mask (1 AND 1 results in 1; 1 AND 0 results in a 0).
IP Address
Subnet Mask
64
0
0
0
0
32
1
0
0
0
16
0
1
0
0
8
1
1
0
0
Broadcast Address
4
1
1
0
0
2
0
1
0
0
1
0
0
1
0
To find the broadcast address, use the network address and the wildcard (inverse of
Network address; 1 becomes 0 and 0 becomes 1) and perform a bit-wise OR (Logical
OR Gate) operation (1 OR 1 results in 1; 0 OR 1 results in 1; 0 OR 0 results in a 0).
Bit-wise OR operation
Network Address
Wildcard
Broadcast Address
Use the method in converting the IP Address and Network Mask to convert the
Broadcast Address into decimals (Reversed; adding the numbers instead of
subtracting).
128
1
0
0
1
64
0
0
0
1
32
1
0
0
1
16
0
1
0
1
8
1
1
0
1
4
1
1
0
1
2
0
1
0
1
1
0
0
1
1
By counting the number of host bits (The number of1s in the binary notation), we
can determine the total number of usable hosts for this network. (Use the Wildcard
in binary notation)
1
1
2
1
3
1
4
1
5
1
6
1
7
1
8
1
Host Bits: 8
Using the formula 2n 2 (n = Number of Bits) we can deduce the total number of
usable hosts.
28 2 = 256 2
= 254 (Maximum number of Hosts).
Now that we have all the data, fill in the table given.
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
172.30.1.33
255.255.255.0
172.30.1.0
172.30.1.255.
8
254
PROBLEM 3
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
192.168.10.234
255.255.255.0
Network Address
Step 1: Translate Host IP Address and Network Mask into binary notation
First, list down these values of numbers
128
64
32
16
In order to remember these values start with the number 1, go from right to left,
and double that number seven times. For example, start with 1 on the right side. For
your next number, double the 1 (1 x 2 = 2). So, 2 is your next number
(remembering to go from right to left). For your third number, double the 2 (2 x 2 =
4); to continue the sequence, double the 4 (4 x 2 = 8). Repeat this process until
youve doubled your original number, seven times. The key to this is that every
single one of the values we put in that row are going to have either number 1 or
number 0 assigned to it. To convert the IP address we will take that string of
numbers and start from left to right this time. Each value in an IP address is an
octet. Subtract each octet with the numbers in the list until there is no remainder
left from the octet.
Take the IP address 172.30.1.33 and start with the 1st octet (172)
192 128 = 64
64 64 = 0
Assign the number 1 to the values used to subtract the octet and 0 for the ones
not used.
128
1
64
1
32
0
16
0
8
0
4
0
2
0
1
0
So now we know that a decimal number 172 is 11000000 converted to binary form.
To double check, we take the values assigned with 1 and add them together:
128+64=192
64
0
32
1
16
0
8
1
4
0
2
0
1
0
2
1
1
0
64
0
32
0
16
0
8
1
4
0
64
32
16
Network Mask
Repeat the same procedure used for the IP address to convert the Network Mask
into binary notation.
1st Octet (255)
255 128 = 127
127 64 = 63
63 32 = 31
31 16 = 15
15 8 = 7
74=3
32=1
11=0
128
1
64
1
32
1
16
1
8
1
4
1
2
1
1
1
74=3
32=1
11=0
128
1
64
1
32
1
16
1
8
1
4
1
2
1
1
1
4
1
2
1
1
1
4
0
2
0
1
0
64
1
32
1
16
1
8
1
64
0
32
0
16
0
8
0
So the Network Mask 255.255.255.0 has its binary form equivalent of:
11111111.11111111.11111111.00000000
Network Address
Perform a bit-wise AND (Logical AND Gate) operation on the IP address and subnet
mask (1 AND 1 results in 1; 1 AND 0 results in a 0).
IP Address
Subnet Mask
64
1
0
0
0
32
0
1
0
0
16
0
0
0
0
8
0
1
1
0
4
0
0
0
0
2
0
0
1
0
1
0
0
0
0
Broadcast Address
To find the broadcast address, use the network address and the wildcard (inverse of
Network Mask; 1 becomes 0 and 0 becomes 1) and perform a bit-wise OR (Logical
OR Gate) operation (1 OR 1 results in 1; 0 OR 1 results in 1; 0 OR 0 results in a 0).
Network Mask (Original)
Wildcard
Bit-wise OR operation
Network Address
Wildcard
Broadcast Address
Use the method in converting the IP Address and Network Mask to convert the
Broadcast Address into decimals (Reversed; adding the numbers instead of
subtracting).
128
1
1
0
1
64
1
0
0
1
32
0
1
0
1
16
0
0
0
1
8
0
1
1
1
4
0
0
0
1
2
0
0
1
1
1
0
0
0
1
By counting the number of host bits (The number of1s in the binary notation), we
can determine the total number of usable hosts for this network. (Use the Wildcard
in binary notation)
1
1
2
1
3
1
4
1
5
1
6
1
7
1
8
1
Host Bits: 8
Using the formula 2n 2 (n = Number of Bits) we can deduce the total number of
usable hosts.
28 2 = 256 2
= 254 (Maximum number of Hosts).
Now that we have all the data, fill in the table given.
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
192.168.10.234
255.255.255.0
192.168.10.0
192.168.10.255
8
254
PROBLEM 4
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
172.17.99.71
255.255.0.0
Network Address
Step 1: Translate Host IP Address and Network Mask into binary notation
First, list down these values of numbers
128
64
32
16
In order to remember these values start with the number 1, go from right to left,
and double that number seven times. For example, start with 1 on the right side. For
your next number, double the 1 (1 x 2 = 2). So, 2 is your next number
(remembering to go from right to left). For your third number, double the 2 (2 x 2 =
4); to continue the sequence, double the 4 (4 x 2 = 8). Repeat this process until
youve doubled your original number, seven times. The key to this is that every
single one of the values we put in that row are going to have either number 1 or
number 0 assigned to it. To convert the IP address we will take that string of
numbers and start from left to right this time. Each value in an IP address is an
octet. Subtract each octet with the numbers in the list until there is no remainder
left from the octet.
Take the IP address 172.30.1.33 and start with the 1st octet (172)
172 128 = 44
44 32 = 12
12 8 = 4
4 4 = 12
Assign the number 1 to the values used to subtract the octet and 0 for the ones
not used.
128
1
64
0
32
1
16
0
8
1
4
1
2
0
1
0
So now we know that a decimal number 172 is 10101100 converted to binary form.
To double check, we take the values assigned with 1 and add them together:
128+32+8+4=172
64
0
32
0
16
1
8
0
4
0
2
0
1
1
2
1
1
1
64
1
32
1
16
0
8
0
4
0
11=0
128
0
64
1
32
0
16
0
8
0
4
1
2
1
1
1
Network Mask
Repeat the same procedure used for the IP address to convert the Network Mask
into binary notation.
1st Octet (255)
255 128 = 127
127 64 = 63
63 32 = 31
31 16 = 15
15 8 = 7
74=3
32=1
11=0
128
1
64
1
32
1
16
1
8
1
4
1
2
1
1
1
15 8 = 7
74=3
32=1
11=0
128
1
64
1
32
1
16
1
8
1
4
1
2
1
1
1
4
0
2
0
1
0
64
0
32
0
16
0
8
0
64
0
32
0
16
0
8
0
4
0
2
0
1
0
So the Network Mask 255.255.0.0 has its binary form equivalent of:
11111111.11111111.00000000.00000000
Network Address
Perform a bit-wise AND (Logical AND Gate) operation on the IP address and subnet
mask (1 AND 1 results in 1; 1 AND 0 results in a 0).
IP Address
Subnet Mask
32
1
0
0
0
16
0
1
0
0
8
1
0
0
0
4
1
0
0
0
2
0
0
0
0
1
0
1
0
0
128 + 32 + 8 +4 = 172
2nd Octet
16 + 1 = 17
3rd Octet
0
4th Octet
0
Therefore, the Network Address is 172.17.0.0.
Broadcast Address
To find the broadcast address, use the network address and the wildcard (inverse of
Network Mask; 1 becomes 0 and 0 becomes 1) and perform a bit-wise OR (Logical
OR Gate) operation (1 OR 1 results in 1; 0 OR 1 results in 1; 0 OR 0 results in a 0).
Network Mask (Original)
Wildcard
Bit-wise OR operation
Network Address
Wildcard
Broadcast Address
Use the method in converting the IP Address and Network Mask to convert the
Broadcast Address into decimals (Reversed; adding the numbers instead of
subtracting).
128
1
0
1
1
64
0
0
1
1
32
1
0
1
1
16
0
1
1
1
8
1
0
1
1
4
1
0
1
1
2
0
0
1
1
1
0
1
1
1
By counting the number of host bits (The number of1s in the binary notation), we
can determine the total number of usable hosts for this network. (Use the Wildcard
in binary notation)
1
1
2
1
3
1
4
1
5
1
6
1
7
1
8
1
9
1
10
1
11
1
12
1
13
1
14
1
15
1
Host Bits: 16
Using the formula 2n 2 (n = Number of Bits) we can deduce the total number of
usable hosts.
216 2 = 65,536 2
= 65,534 (Maximum number of Hosts).
16
1
Now that we have all the data, fill in the table given.
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
172.17.99.71
255.255.0.0
192.17.0.0
192.168.255.255
16
65,534
PROBLEM 5
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
192.168.3.219
255.255.0.0
Network Address
Step 1: Translate Host IP Address and Network Mask into binary notation
First, list down these values of numbers
128
64
32
16
In order to remember these values start with the number 1, go from right to left,
and double that number seven times. For example, start with 1 on the right side. For
your next number, double the 1 (1 x 2 = 2). So, 2 is your next number
(remembering to go from right to left). For your third number, double the 2 (2 x 2 =
4); to continue the sequence, double the 4 (4 x 2 = 8). Repeat this process until
youve doubled your original number, seven times. The key to this is that every
single one of the values we put in that row are going to have either number 1 or
number 0 assigned to it. To convert the IP address we will take that string of
numbers and start from left to right this time. Each value in an IP address is an
octet. Subtract each octet with the numbers in the list until there is no remainder
left from the octet.
Take the IP address 172.30.1.33 and start with the 1st octet (172)
192 128 = 64
64 64 = 0
Assign the number 1 to the values used to subtract the octet and 0 for the ones
not used.
128
1
64
1
32
0
16
0
8
0
4
0
2
0
1
0
So now we know that a decimal number 172 is 11000000 converted to binary form.
To double check, we take the values assigned with 1 and add them together:
128+64=192
64
0
32
1
16
0
8
1
4
0
2
0
1
0
2
1
1
1
64
0
32
0
16
0
8
0
4
0
91 64 = 27
27 16 = 11
11 8 = 3
32=1
11=0
128
1
64
1
32
0
16
1
8
1
4
0
2
1
1
1
Network Mask
Repeat the same procedure used for the IP address to convert the Network Mask
into binary notation.
1st Octet (255)
255 128 = 127
127 64 = 63
63 32 = 31
31 16 = 15
15 8 = 7
74=3
32=1
11=0
128
1
64
1
32
1
16
1
8
1
4
1
2
1
1
1
64
1
32
1
16
1
8
1
4
1
2
1
1
1
4
0
2
0
1
0
64
0
32
0
16
0
8
0
64
0
32
0
16
0
8
0
4
0
2
0
So the Network Mask 255.255.0.0 has its binary form equivalent of:
11111111.11111111.00000000.00000000
Network Address
1
0
Perform a bit-wise AND (Logical AND Gate) operation on the IP address and subnet
mask (1 AND 1 results in 1; 1 AND 0 results in a 0).
IP Address
Subnet Mask
32
0
1
0
0
16
0
0
0
0
8
0
1
0
0
4
0
0
0
0
2
0
0
0
0
1
0
0
0
0
128 + 64 = 192
2nd Octet
128 + 32 + 8 = 168
3rd Octet
0
4th Octet
0
Therefore, the Network Address is 192.168.0.0.
Broadcast Address
To find the broadcast address, use the network address and the wildcard (inverse of
Network Mask; 1 becomes 0 and 0 becomes 1) and perform a bit-wise OR (Logical
OR Gate) operation (1 OR 1 results in 1; 0 OR 1 results in 1; 0 OR 0 results in a 0).
Network Mask (Original)
Wildcard
Bit-wise OR operation
Network Address
Wildcard
Broadcast Address
Use the method in converting the IP Address and Network Mask to convert the
Broadcast Address into decimals (Reversed; adding the numbers instead of
subtracting).
128
1
1
1
1
64
1
0
1
1
32
0
1
1
1
16
0
0
1
1
8
0
1
1
1
4
0
0
1
1
2
0
0
1
1
1
0
0
1
1
By counting the number of host bits (The number of1s in the binary notation), we
can determine the total number of usable hosts for this network. (Use the Wildcard
in binary notation)
1
1
2
1
3
1
4
1
5
1
6
1
7
1
8
1
9
1
10
1
11
1
12
1
13
1
14
1
15
1
Host Bits: 16
Using the formula 2n 2 (n = Number of Bits) we can deduce the total number of
usable hosts.
16
1
216 2 = 65,536 2
= 65,534 (Maximum number of Hosts).
Now that we have all the data, fill in the table given.
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
192.168.3.219
255.255.0.0
192.168.0.0
192.168.255.255
16
65,534
PROBLEM 6
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
192.168.3.219
255.255.255.224
Network Address
Step 1: Translate Host IP Address and Network Mask into binary notation
First, list down these values of numbers
128
64
32
16
In order to remember these values start with the number 1, go from right to left,
and double that number seven times. For example, start with 1 on the right side. For
your next number, double the 1 (1 x 2 = 2). So, 2 is your next number
(remembering to go from right to left). For your third number, double the 2 (2 x 2 =
4); to continue the sequence, double the 4 (4 x 2 = 8). Repeat this process until
youve doubled your original number, seven times. The key to this is that every
single one of the values we put in that row are going to have either number 1 or
number 0 assigned to it. To convert the IP address we will take that string of
numbers and start from left to right this time. Each value in an IP address is an
octet. Subtract each octet with the numbers in the list until there is no remainder
left from the octet.
Take the IP address 172.30.1.33 and start with the 1st octet (172)
192 128 = 64
64 64 = 0
Assign the number 1 to the values used to subtract the octet and 0 for the ones
not used.
128
1
64
1
32
0
16
0
8
0
4
0
2
0
1
0
So now we know that a decimal number 172 is 11000000 converted to binary form.
To double check, we take the values assigned with 1 and add them together:
128+64=192
64
0
32
1
16
0
8
1
4
0
2
0
1
0
2
1
1
1
64
0
32
0
16
0
8
0
4
0
64
1
32
0
16
1
8
1
4
0
2
1
1
1
Network Mask
Repeat the same procedure used for the IP address to convert the Network Mask
into binary notation.
1st Octet (255)
255 128 = 127
127 64 = 63
63 32 = 31
31 16 = 15
15 8 = 7
74=3
32=1
11=0
128
1
64
1
32
1
16
1
8
1
4
1
2
1
1
1
4
1
2
1
1
1
4
0
2
0
1
0
4
0
2
0
1
0
64
1
32
1
16
1
8
1
64
0
32
0
16
0
8
0
64
1
32
1
16
0
8
0
Network Address
Perform a bit-wise AND (Logical AND Gate) operation on the IP address and subnet
mask (1 AND 1 results in 1; 1 AND 0 results in a 0).
IP Address
Subnet Mask
64
1
0
0
1
32
0
1
0
0
16
0
0
0
0
8
0
1
0
0
Broadcast Address
4
0
0
0
0
2
0
0
1
0
1
0
0
1
0
To find the broadcast address, use the network address and the wildcard (inverse of
Network Mask; 1 becomes 0 and 0 becomes 1) and perform a bit-wise OR (Logical
OR Gate) operation (1 OR 1 results in 1; 0 OR 1 results in 1; 0 OR 0 results in a 0).
Network Mask (Original)
Wildcard
Bit-wise OR operation
Network Address
Wildcard
Broadcast Address
Use the method in converting the IP Address and Network Mask to convert the
Broadcast Address into decimals (Reversed; adding the numbers instead of
subtracting).
128
1
1
0
1
64
1
0
0
1
32
0
1
0
0
16
0
0
0
1
8
0
1
0
1
4
0
0
0
1
2
0
0
1
1
1
0
0
1
1
By counting the number of host bits (The number of1s in the binary notation), we
can determine the total number of usable hosts for this network. (Use the Wildcard
in binary notation)
1
1
2
1
3
1
4
1
5
1
Host Bits: 5
Using the formula 2n 2 (n = Number of Bits) we can deduce the total number of
usable hosts.
25 2 = 32 2
= 30 (Maximum number of Hosts).
Now that we have all the data, fill in the table given.
Host IP Address
Network Mask
Network Address
Network Broadcast Address
Total Number of Host Bits
Number of Hosts
192.168.3.219
255.255.225.224
192.168.3.192
192.168.3.223
5
30