Task 2 - Muhammad Afiq Farhan Bin Borhan
Task 2 - Muhammad Afiq Farhan Bin Borhan
Problem 1
IP ADDRESS: 172.30.1.33
NETWORK MASK: 255.255.255.0
1) TRANSLATE IP ADDRESS AND NETWORK MASK INTO BINARY NOTATION.
First of all, change the ip address and network mask to binary number.
Below is the method to change decimal to binary number:Change 172 to binary number:
Divide the number by 2 until zero or one. Each division, if it got remainder, the binary number will be
= 1. If got no remainder, the binary number is = 0.
2/172
2/86
2/43
2/21
2/10
2/5
2/2
1
=0
=0
=1
=1
=0
=1
=0
=1
When the division is done, take the binary number from below to above.
172 = 1 0 1 0 1 1 0 0
Do the same step for the other number.
Finally, you will got 10101100 . 00011110 . 00000001 . 00100001 for ip address.
After that, translate the network mask and answer is 11111111 . 11111111 . 11111111 . 00000000
2) DETERMINE THE NUMBER OF SUBNET BITS
To determine the number of subnet bits, we need to count the number of 1 in subnet mask to get
the subnet bits.
Subnet bits : 8 ( subnet mask 11111111.11111111.11111111.00000000 )
3) DETERMINE THE NUMBER OF SUBNET
To calculate the number of subnet, use the formula below:
n
SUBNET
= 2n (n = subnet bits)
= 28
= 256
SUBNET
= 2n 2 (n = subnet bits)
= 28 2
= 256 2
= 254
IP address
Subnet Mask
Subnet Address
(changed from binary to decimal)
172.30.1.33
255.255.255..0
8
256
2
254
172.30.1.0
172.30.1.1
172.30.1.254
172.30.1.255
Problem 2
IP ADDRESS: 172.30.1.33
NETWORK MASK: 255.255.255.0
1) TRANSLATE IP ADDRESS AND NETWORK MASK INTO BINARY NOTATION.
IP ADDRESS:
NETWORK MASK:
172.30.1.33
= 10101100.0000111110.00000001.00100001
255.255.255.252 = 11111111.111111111.11111111.11111100
SUBNET
= 2n (n = subnet bits)
= 214
= 16,384
SUBNET
= 2n 2 (n = subnet bits)
= 22 2
=42
=2
IP address
Subnet Mask
Subnet Address
(changed from binary to decimal)
172.30.1.33
255.255.255.252
14
16 384
2
2
172.30.1.32
172.30.1.33
172.30.1.34
172.30.1.35
Problem 3
IP ADDRESS: 192.192.10.234
NETWORK MASK: 255.255.255.0
1) TRANSLATE IP ADDRESS AND NETWORK MASK INTO BINARY NOTATION.
IP ADDRESS:
NETWORK MASK:
192.192.10.234 = 1100000.11000000..00001010.11101010
255.255.255.0 = 11111111.111111111.11111111.00000000
SUBNET
SUBNET
= 2n 2 (n = subnet bits)
= 28 2
= 256 2
= 254
IP address
Subnet Mask
Subnet Address
(changed from binary to decimal)
192.192.10.234
255.255.255.0
8
256
8
254
192.192.10.0
192.192.10.1
192.192.10.254
192.192.10.255
Problem 4
IP ADDRESS: 172.17.99.71
NETWORK MASK: 255.255.0.0
1) TRANSLATE IP ADDRESS AND NETWORK MASK INTO BINARY NOTATION.
IP ADDRESS:
NETWORK MASK:
172.17.99.71
255.255.0.0
= 10101100.00010001.01100011.001000111
= 11111111.111111111.00000000.00000000
SUBNET
SUBNET
= 2n 2 (n = subnet bits)
= 216 2
= 65 536 2
= 65 534
IP address
Subnet Mask
Subnet Address
(changed from binary to decimal)
172.17.99.71
255.255.0.0
0
1
16
65 536
172.17.99.0
172.17.99.1
172.17.255.254
172.17.255.255
Problem 5
IP ADDRESS: 192.168.3.219
NETWORK MASK: 255.255.255.0
1) TRANSLATE IP ADDRESS AND NETWORK MASK INTO BINARY NOTATION.
IP ADDRESS:
NETWORK MASK:
192.168.3.219 = 11000000.10101000.00000011.11011011
255.255.255.0 = 11111111.111111111.11111111.00000000
SUBNET
SUBNET
= 2n 2 (n = subnet bits)
= 28 2
= 256 2
= 256
IP address
Subnet Mask
Subnet Address
(changed from binary to decimal)
192.168.3.219
255.255.255.0
8
256
8
254
192.168.3.0
192.168.3.1
192.168.3.254
192.168.3.255
Problem 6
IP ADDRESS: 192.168.3.219
NETWORK MASK: 255.255.255.252
1) TRANSLATE IP ADDRESS AND NETWORK MASK INTO BINARY NOTATION.
IP ADDRESS:
NETWORK MASK:
192.168.3.219 = 11000000.10101000.00000011.110110 11
255.255.255.0 = 11111111.111111111.11111111.111111 00
SUBNET
SUBNET
= 2n 2 (n = subnet bits)
= 22 2
= 4 2
=2
IP address
Subnet Mask
Subnet Address
(changed from binary to decimal)
192.168.3.219
255.255.255.252
14
16 384
2
2
192.168.3.216
192.168.3.217
192.168.3.218
192.168.3.219