Professional Documents
Culture Documents
Task 1
Problem 1
Given:
Find:
255.255.255.0
11111111. 11111111.11111111.00000000
8 bit
8+8+8+8=32 bit
32-24=8 bit
*24 bit nombor 1(kira yang ada 1 sahaja). Lapan bit=8+8+8=24 bit
b) Number Of Subnet
255.255.255.0
11111111. 11111111.11111111.00000000
8 Bit
IP Address=172.30.1.33
172.30.1.33
10101100.00011110.00000001.00100001
Subnet Mask=11111111.11111111.11111111.00000000
255.255.255.0
11111111.11111111.11111111.00000000
IP Address and Subnet Mask should be multiply to get Subnet Address for this IP
Adress.
172 . 30 . 1 . 0
Subnet Addres for IP Address is=172.30.1.0
You must added 1 to the last bit of value Ip Address to get the first host.
172 . 30 . 1 . 0
+ 1
172 . 30 . 1 . 1
IP Address of First Host is=172.30.1.1
You must take and added the number of usable host per subnet to get the last host
Number of usable host per subnet is 254
172 . 30 . 1 . 0
+ 254
172 . 30 . 1 . 254
You must added 1 at the last bit in the last host of Ip Address to get Broadcast
Address.
172 . 30 . 1 . 254
+ 1
172 . 30 . 1 . 255
GIVEN:
FIND:
255.255.255.252
11111111.1111111.1111111.11111100
8 bits 6 bit
255.255.255.252
11111111.11111111.11111111.11111100
= 22-2
=4-2
IP Address=172.30.1.33
172 . 30 . 1 . 33
10101100.00011110.00000001.00100001
255 . 255 . 255 . 252
11111111.11111111.11111111.11111100
You must use multiply operation to get subnet address for this IP
address between IP Address and Subnet Mask.
10101100.00011110.00000001.00100001
11111111.11111111.11111111.11111100
10101100.00011110.00000001.00100000
172 . 30 . 1 . 32
Subnet Addres for IP address is=172.30.1.32
f) IP address of First Host
You need to added 1 to the last bit of value IP address to get the first
host.
172 . 30 . 1 . 32
+ 1
172 . 30 . 1 . 33
You need to take and added the number of usable host per subnet to get
the last host.
172.30.1.32
+ 2
172.30.1.34
* IP Address of Last Host is=172.30.1.34
h) Broadcast Address for this Subnet
You must added 1 for broadcast address at the last bit in the last host
of IP Address.
172.30.1.34
+ 1
172.30.1.35
* Broadcast Address for this Subnet is=172.30.1.35
(PROBLEM 3)
GIVEN:
FIND:
255.255.255.0
11111111.11111111.11111111.00000000
8bits
255.255.255.0
11111111.11111111.11111111.000000000
8 bit
*2n (n is the number of bit)
*Number of subnet is = 28
* 8
2 =256 Subnet
Formula 2n(0)
bit is the total of 0 at the last host
11111111.11111111.11111111.00000000
=8 bit
=28-2
=256-2
*Convert IP Address and Subnet Mask from Decimal number to Binary Number
IP Address=192.192.10.234
Subnet Mask=255.255.255.0
192.192.10.234
11000000.11000000.00001010.11101010
255.255.255.0
11111111.11111111.1111111.0000000
You must use multiply operation to get subnet address for this IP
Address between IP Address and Subnet Mask.
11000000.11000000.00001010.11101010
11111111.11111111.11111111.00000000
11000000.11000000.00001010.00000000
192 . 192 . 10 . 0
*Subnet Address for IP Address=192.192.10.0
f)IP Address of First Host
*To get the first host you need to added 1 to the last bit of value IP Address
192.192.10.0
+ 1
192.192.10.1
-You need to take and added the number of usable host per subnet to get the
last host
192 . 192 . 10 . 0
+ 254
192 . 192 . 10 . 254
* You have to added 1 at the last bit in the last host of IP Address for
Broadcast Address
192.192.10.254
+ 1
192.192.10.255
-Broadcast Address for this Subnet is 192.192.10.255
(PROBLEM 4)
GIVEN:
Host IP Address 192.168.3.219
Subnet Mask 255.255.255.0
FIND:
255.255.255.0
11111111.11111111. 11111111.00000000
8 bits
*16-8=8bit
b) Number of Subnet
255.255.255.0
11111111.11111111. 11111111.00000000
8 bit
=256-2
Subnet Mask=255.255.255.0
192.168.3.219
11000000.10101000.00000011.11011011
255.255.255.0
11111111.11111111.1111111.0000000
*You must use multiply operation to get subnet address for
this IP address between IP Address and Subnet Mask.
11000000.10101000.00000011.11011011
11111111.11111111.11111111.00000000
11000000.10101000.00001010.00000000
192 . 168 . 3 . 0
*You have to added 1 to the last bit of value IP Address to get the first host.
192.168.3.0
+ 1
192.168.3.1
*You have to take and added the number of usable host per subnet to get the
last host.
192 . 168 . 3 . 0
+ 254
192 . 168 . 3 . 254
*You have to added 1 at the last bit in the last host of IP Address to get
broadcast address.
192.168.3.254
+ 1
192.168.3.255
*Broadcast Address for this subnet is 192.168.3.255
(PROBLEM 5)
GIVEN:
Host IP Address 192.168.3.219
Subnet Mask 255.255.255.252
FIND:
255.255.255.252
11111111.11111111. 11111111.11111100
8 bit+6 bit=14bit
b) Number of Subnet
255.255.255.252
11111111.11111111. 11111111.11111100
a=2n
214=16384 subnet (n is the number of bit)
=22-2
=4-2
IP Address=192.168.3.219
Subnet Mask=255.255.255.0
192.168.3.219
11000000.10101000.00000011.11011011
255.255.255.252
11111111.11111111.1111111.11111100
*You have to use multiply operation to get subnet address for this IP address
between IP address and Subnet mask.
11000000.10101000.00000011.11011011
11111111.11111111.11111111.11111100
11000000.11000000.00000011.11011000
192.168.3.216
+ 1
192.168.3.217
*You must take and added the number of usable host per subnet to get the
last host.
*You must added 1 at the last bit in the last host of IP Address to get
Broadcast Address
192.168.3.219
+ 1
192.168.3.220
*Broadcast Address for this Subnet is 192.168.3.229