You are on page 1of 10

TASK 2: CHALLENGE

Problem 1
HOST IP ADDRESS: 172.30.1.33
NETWORK MASK: 255.255.0.0
1. TRANSLATE HOST IP ADDRESS AND NETWORK MASK INTO BINARY NOTATION
Firstly, we must change the host IP address to a binary number. I will show you the way to
change it below. It is the easy way.
Change 172 to binary number
We must multiply number 2 until it reach the number 128.
20 = 1
21 = 2
23 = 4
24 = 8
25 = 16
26 = 32
27 = 64
28 = 128
Then do 8 columns to represent the coloured number.
1
0
1
0
1
1
0
0

128
64
32
16
8
4
2
1

When we change 172 to binary number, we must subtract the 172 using
the coloured number until the last answer is 0.

172
- 128
44
- 32
12
- 8
4
- 4
0

If you used the coloured number in the box when you


subtract, you write number 1. But if you dont use the
coloured number, you write number 0.
And the final answer is 10101100
You just repeat this step to the next decimal number to
change it into binary number.
The answer for the IP address is
10101100.00011110.00000001.00100001
The answer for network mask is
11111111.11111111.00000000.00000000

2. DETERMINE THE NETWORK ADDRESS


Arrange the binary notation of the IP address and the binary notation of the network mask
like the following below

10101100.00011110.00000001.00100001 (IP address)


11111111.11111111.00000000.00000000 (Subnet mask)
= 10101100.00011110.00000000.00000000 (Network address)
172 .
30 .
0
.
0
(Network address from binary to decimal)

NOTES:
First method
1 AND 1 RESULTS IN A 1, 0
AND ANYTHING RESULTS IN
A0
Second method
1 MULTIPLE BY 1 THE
ANSWER IS 1, AND IF 1
MULTIPLE BY 0
THE ANSWER IS 0

TO EASILY REMEMBER FOR THE NETWORK ADDRESS:


The IP address number and the subnet mask number will be performed as a bit-wise. So, all
number is equal to 0 (zero) except 1 1.

3. DETERMINE THE BROADCAST ADDRESS FOR THE NETWORK ADDRESS


The network mask separates the network portion of the address from the host portion. The
arrangement is same. It is bit-wise like below

10101100.00011110.00000000.00000000
11111111.11111111.00000000.00000000
= 10101100.00011110.11111111.11111111
172 . 30 . 255 . 255

(Network Address)
(Subnet Mask)
(Broadcast Address)
(Broadcast Address number form binary
to decimal)

NOTES:
First method
1 AND 1 RESULTS IN A 1, 0
AND 0 RESULTS IN A 1
Second method
IF THE SAME NUMBER IT
WILL BE 1, THE DIFFERENT
NUMBER WILL BE 0

TO EASILY REMEMBER FOR THE BROADCAST ADDRESS:


The network address number and the subnet mask number will be performed as a bit-wise.
So, all number is equal to 0 (zero) except the same number.

4. DETERMINE THE NUMBER OF HOST


By counting the number of host bits, we can determine the total number of usable hosts for
this network.
HOST BITS IS THE NUMBER ZERO IN
SUBNET MASK:
11111111.11111111.00000000.00000000

The way to calculate the host bits is by using this formula:


Host bits = a
2a = b
b 2 = answer#
Example:
Host bits = 16
216 = 65 536
= 65 536 2
= 65 534#

Add this information to the table:


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
172.30.0.0
172.30.255.255
16
65534

Problem 2
HOST IP ADDRESS: 172.30.1.33
NETWORK MASK: 255.255.255.0
1. TRANSLATE HOST IP ADDRESS AND NETWORK MASK INTO BINARY NOTATION
172.30.1.33 = 10101100.00011110.00000001.00100001
255.255.255.0 = 11111111.11111111.11111111.00000000
2. DETERMINE THE NETWORK ADDRESS
10101100.00011110.00000001.00100001 (IP address)
11111111.11111111.11111111.00000000 (Subnet mask)
= 10101100.00011110.00000001.00000000 (Network address)
172 .
30 .
1
.
0
(Network address from binary to decimal)

3. DETERMINE THE BROADCAST ADDRESS FOR THE NETWORK ADDRESS


10101100.00011110.00000001.00000000
11111111.11111111.11111111.00000000
= 10101100.00011110.00000001.11111111
172 . 30 .
1
. 255

(Network Address)
(Subnet Mask)
(Broadcast Address)
(Broadcast Address number form binary
to decimal)

4. DETERMINE THE NUMBER OF HOST

Host bits = 8
28 = 250
= 256 2
= 254#
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: 192.168.10.234
NETWORK MASK: 255.255.255.0
1. TRANSLATE HOST IP ADDRESS AND NETWORK MASK INTO BINARY NOTATION
192.168.10.234 = 11000000.10101000.00001010.11101010
255.255.255.0 = 11111111.11111111.11111111.00000000
2. DETERMINE THE NETWORK ADDRESS
11000000.10101000.00001010.11101010 (IP address)
11111111.11111111.11111111.00000000 (Subnet mask)
= 11000000.10101000.00001010.00000000 (Network address)
192 .
168 .
10
.
0
(Network address from binary to decimal)

3. DETERMINE THE BROADCAST ADDRESS FOR THE NETWORK ADDRESS


11000000.10101000.00001010.00000000
11111111.11111111.11111111.00000000
= 11000000.10101000.00001010.11111111
192 . 168 .
10
. 255

(Network Address)
(Subnet Mask)
(Broadcast Address)
(Broadcast Address number form binary
to decimal)

4. DETERMINE THE NUMBER OF HOST

Host bits = 8
28 = 250
= 256 2
= 254#
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: 172.17.99.71
NETWORK MASK: 255.255.0.0
1. TRANSLATE HOST IP ADDRESS AND NETWORK MASK INTO BINARY NOTATION
172.17.99.71 = 10101100.00010001.01100011.01000111
255.255.0.0 = 11111111.11111111.00000000.00000000
2. DETERMINE THE NETWORK ADDRESS
10101100.00010001.01100011.01000111 (IP address)
11111111.11111111.00000000.00000000 (Subnet mask)
= 10101100.00010001.00000000.00000000 (Network address)
172 .
17 .
0
.
0
(Network address from binary to decimal)

3. DETERMINE THE BROADCAST ADDRESS FOR THE NETWORK ADDRESS


10101100.00010001.00000000.00000000
11111111.11111111.00000000.00000000
= 10101100.00010001.11111111.11111111
172 . 17 .
255
. 255

(Network Address)
(Subnet Mask)
(Broadcast Address)
(Broadcast Address number form binary
to decimal)

4. DETERMINE THE NUMBER OF HOST

Host bits = 16
216 = 65536
= 65536 2
= 65534#
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
172.17.0.0
172.17.255.255
16
65534

Problem 5
HOST IP ADDRESS: 192.168.3.219
NETWORK MASK: 255.255.0.0
1. TRANSLATE HOST IP ADDRESS AND NETWORK MASK INTO BINARY NOTATION
192.168.3.219 = 11000000.10101000.00000011.11011011
255.255.0.0 = 11111111.11111111.00000000.00000000
2. DETERMINE THE NETWORK ADDRESS
11000000.10101000.00000011.11011011 (IP address)
11111111.11111111.00000000.00000000 (Subnet mask)
= 11000000.10101000.00000000.00000000 (Network address)
192 .
168 .
0
.
0
(Network address from binary to decimal)

3. DETERMINE THE BROADCAST ADDRESS FOR THE NETWORK ADDRESS


11000000.10101000.00000000.00000000
11111111.11111111.00000000.00000000
= 11000000.10101000.11111111.11111111
192 . 168 .
255
. 255

(Network Address)
(Subnet Mask)
(Broadcast Address)
(Broadcast Address number form binary
to decimal)

4. DETERMINE THE NUMBER OF HOST

Host bits = 16
216 = 65536
= 65536 2
= 65534#
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
65534

Problem 6
HOST IP ADDRESS: 192.168.3.219
NETWORK MASK: 255.255.255.224
1. TRANSLATE HOST IP ADDRESS AND NETWORK MASK INTO BINARY NOTATION
192.168.3.219 = 11000000.10101000.00000011.11011011
255.255.255.224 = 11111111.11111111.11111111.11100000
2. DETERMINE THE NETWORK ADDRESS
11000000.10101000.00000011.11011011 (IP address)
11111111.11111111.11111111.11100000 (Subnet mask)
= 11000000.10101000.00000011.11000000 (Network address)
192 .
168 .
3
.
192
(Network address from binary to decimal)

3. DETERMINE THE BROADCAST ADDRESS FOR THE NETWORK ADDRESS


11000000.10101000.00000000.00000000
11111111.11111111.11111111.11100000
= 11000000.10101000.00000011.11011111
192 . 168 .
3
. 223

(Network Address)
(Subnet Mask)
(Broadcast Address)
(Broadcast Address number form binary
to decimal)

4. DETERMINE THE NUMBER OF HOST

Host bits = 5
25 = 32
= 32 2
= 30#
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
192.168.3.192
192.168.3.223
5
30