tast 1
-
Upload
zaidzulkifli -
Category
Documents
-
view
19 -
download
2
description
Transcript of tast 1
Task 1 : Problem 1For a given IP address, Determine Network Information
Given :
Find :
BINARY NUMBER:-
Step 1: Translate Host IP address and network mask into binary notation Convert the host Ip address and network masj to binary :
I. Number Bits
1 = 1281 = 641 = 321 = 161 = 81 = 41 = 21 = 1
Example : 128 + 32 + 8 + 4 = 172
II. 1 AND 1 = 1 (on)1 AND 0 = 0 (off)
1 = 1280 = 641 = 320 = 161 = 81 = 40 = 20 = 1
Example : 1 + 0 + 1 + 0 + 1 + 1 + 0 + 0 = 10101100
IP AddressDecimal 172 25 114 250Binary 10101100 00011001 0111001 11111010
Subnet Counting
Range
Host Range
Host Ip Address 172.25.114.250Network Mask 255.255.0.0(/16)
Network Address 172.25.0.0Network Broadcast Address 172.25.255.255Total Number Of Host Bits 16bitNumber of Host 65534 Max of Host
a. Calculation of Network Mask 1x128=128 0x128=0 1x64=64 0x64=0 1x32=32 0x32=0 1x16=16 0x16=0 1x8=8 0x8=0 1x4=4 0x4=0 1x2=2 0x2=0 1x1=1 0x1=0
Then we add all those numbers, Example : 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
b. counting to three and four blocks
Example : 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 = 0
Network MaskDecimal 225 255 0 0Binary 11111111 11111111 0000000 0000000
Step 2: Determine the Network address
Looking for Network Address , by adding binary numbers of IP Address and Network Mask using the AND operator . Note ; 1 AND 1 = 1 , 0 AND 0 = 0 :
Example : Formula AND GATE
1 0 1 0 1 1 0 01 1 1 1 1 1 1 1
_______________
1 0 1 0 1 1 0 0
IP AddressDecimal 172 25 114 250Binary 10101100 00011001 0111001 11111010
Network MaskDecimal 225 255 0 0Binary 11111111 11111111 0000000 0000000
Network Address
Decimal 172 25 0 0Binary 10101100 00011001 0000000 0000000
Step 3: Address Broadcast find a way to replace all the numbers from 0 on the number of hosts to be number 1
IP AddressDecimal 172 25 114 250Binary 10101100 00011001 0111001 11111010
Network MaskDecimal 225 255 0 0Binary 11111111 11111111 0000000 0000000
Network Address
Decimal 172 25 00 00Binary 11111111 000110001 0000000 0000000
BroadcstAddress
Decimal 172 25 255 255Binary 10101100 00011001 11111111 11111111
Steap 4 : Use Possible Host formula to get the number of possible host for this subnetmask
Bit in the host = 2 (value bit) – 2 = (2^16) – 2
= 65536 – 2 = 65534 Max of Host
Possible Host = 2 (n) - 2
16 Bits
Task 1 : Problem 2
For a given IP address, Determine Network Information
Given :
Find :
Step 1: Translate Host IP address and network mask into binary notation Convert the host Ip address and network masj to binary :
I. Number Bits
1 = 1281 = 641 = 321 = 161 = 81 = 41 = 21 = 1
Example : 128 + 32 + 8 + 4 = 172
II. 1 AND 1 = 1 (on)1 AND 0 = 0 (off)
1 = 1280 = 641 = 320 = 161 = 81 = 40 = 20 = 1
Example : 1 + 0 + 1 + 0 + 1 + 1 + 0 + 0 = 10101100
IP Address Decimal 172 30 1 33
Subnet Counting
Range
Host Range
Host Ip Address 172.30.1.33Network Mask 255.255.255.0(/24)
Network Address 172.25.0.0Network Broadcast Address 172.255.255.0(/24)Total Number Of Host Bits 18 BitsNumber of Host 256
Binary 10101100 00011110 0000001 00100001
c. Calculation of Network Mask 1x128=128 0x128=0 1x64=64 0x64=0 1x32=32 0x32=0 1x16=16 0x16=0 1x8=8 0x8=0 1x4=4 0x4=0 1x2=2 0x2=0 1x1=1 0x1=0
Then we add all those numbers, Example : 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
d. counting to three and four blocks
Example : 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 = 0
Network MaskDecimal 225 255 255 0Binary 11111111 11111111 11111111 0000000
Step 2: Determine the Network address
Looking for Network Address , by adding binary numbers of IP Address and Network Mask using the AND operator . Note ; 1 AND 1 = 1 , 0 AND 0 = 0 :
Example : Formula AND GATE
1 0 1 0 1 1 0 01 1 1 1 1 1 1 1
_______________
1 0 1 0 1 1 0 0
IP AddressDecimal 172 30 1 33Binary 10101100 00011110 00000001 00100001
Network MaskDecimal 225 255 255 0Binary 11111111 11111111 11111111 0000000
Network Decimal 172 25 1 0
Address Binary 10101100 00011110 00000001 0000000Step 3: Address Broadcast find a way to replace all the numbers from 0 on the number of hosts to be number 1
IP AddressDecimal 172 30 1 33Binary 10101100 00011110 00000001 00100001
Network MaskDecimal 225 255 0 0Binary 11111111 11111111 11111111 0000000
Network Address
Decimal 172 25 1 00Binary 11111111 00011110 00000001 0000000
BroadcstAddress
Decimal 172 25 1 255Binary 10101100 00011110 00000001 11111111
Steap 4 : Use Possible Host formula to get the number of possible host for this subnetmask
Bit in the host = 2 (value bit) – 2 = (2^8) – 2
= 65536 – 2 = 65534 Max of Host
Possible Host = 2 (n) - 2
8 Bits
Task 1 : Problem 3
For a given IP address, Determine Network Information
Given :
Find :
Step 1: Translate Host IP address and network mask into binary notation Convert the host Ip address and network masj to binary :
III. Number Bits
1 = 1281 = 641 = 321 = 161 = 81 = 41 = 21 = 1
Example : 128 + 32 = 192
IV. 1 AND 1 = 1 (on)1 AND 0 = 0 (off)
1 = 1281 = 640 = 320 = 160 = 80 = 40 = 20 = 1
Example : 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 = 11000000
IP AddressDecimal 192 168 10 234Binary 11000000 10101000 00001010 11101010
Subnet Counting
Range
Host Range
Host Ip Address 192.168.10.234Network Mask 255.255.255.0(/24)
Network Address 192.168.10.234Network Broadcast Address 192.168.10.255Total Number Of Host Bits 18 BitsNumber of Host 256
e. Calculation of Network Mask 1x128=128 0x128=0 1x64=64 0x64=0 1x32=32 0x32=0 1x16=16 0x16=0 1x8=8 0x8=0 1x4=4 0x4=0 1x2=2 0x2=0 1x1=1 0x1=0
Then we add all those numbers, Example : 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
f. counting to three and four blocks
Example : 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 = 0
Network MaskDecimal 225 255 255 0Binary 11111111 11111111 11111111 0000000
Step 2: Determine the Network address
Looking for Network Address , by adding binary numbers of IP Address and Network Mask using the AND operator . Note ; 1 AND 1 = 1 , 0 AND 0 = 0 :
Example : Formula AND GATE
1 0 1 0 1 1 0 01 1 1 1 1 1 1 1
_______________
1 0 1 0 1 1 0 0
IP AddressDecimal 192 168 10 234Binary 11000000 10101000 00001010 11101010
Network MaskDecimal 225 255 255 0Binary 11111111 11111111 11111111 0000000
Network Address
Decimal 192 168 10 0Binary 11000000 10101000 00001010 0000000
Step 3: Address Broadcast find a way to replace all the numbers from 0 on the number of hosts to be number 1
IP AddressDecimal 192 168 10 234Binary 11000000 10101000 00001010 11101010
Network MaskDecimal 225 255 255 0Binary 11111111 11111111 11111111 0000000
Network Address
Decimal 192 168 10 0Binary 11000000 10101000 00001010 0000000Decimal 196 168 10 255Binary 11000000 10101000 00001010 11111111
Steap 4 : Use Possible Host formula to get the number of possible host for this subnetmask
Bit in the host = 2 (value bit) – 2 = (2^8) – 65536
= 65536 – 2 = 65534 Max of Host
Possible Host = 2 (n) - 2
8 Bits
Task 1 : Problem 4
For a given IP address, Determine Network Information
Given :
Find :
Step 1: Translate Host IP address and network mask into binary notation Convert the host Ip address and network masj to binary :
V. Number Bits
1 = 1281 = 641 = 321 = 161 = 81 = 41 = 21 = 1
Example : 128 + 32 + 8 + 4 = 179
VI. 1 AND 1 = 1 (on)1 AND 0 = 0 (off)
1 = 1280 = 641 = 320 = 161 = 81 = 40 = 20 = 1
Example : 1 + 0 + 1 + 0 + 1 + 1 + 0 + 0 = 10101100
IP AddressDecimal 172 17 99 71Binary 10101100 00010001 01100011 01000111
Subnet Counting
Range
Host Range
Host Ip Address 172.17.99.71Network Mask 255.255.0.0(/16)
Network Address 172.17.0.0Network Broadcast Address 172.25.255.255Total Number Of Host Bits 16 BitsNumber of Host 25536
g. Calculation of Network Mask 1x128=128 0x128=0 1x64=64 0x64=0 1x32=32 0x32=0 1x16=16 0x16=0 1x8=8 0x8=0 1x4=4 0x4=0 1x2=2 0x2=0 1x1=1 0x1=0
Then we add all those numbers, Example : 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
h. counting to three and four blocks
Example : 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 = 0
Network MaskDecimal 225 255 255 0Binary 11111111 11111111 11111111 0000000
Step 2: Determine the Network address
Looking for Network Address , by adding binary numbers of IP Address and Network Mask using the AND operator . Note ; 1 AND 1 = 1 , 0 AND 0 = 0 :
Example : Formula AND GATE
1 0 1 0 1 1 0 01 1 1 1 1 1 1 1
_______________
1 0 1 0 1 1 0 0
IP AddressDecimal 172 17 99 71Binary 10101100 00010001 01100011 01000111
Network MaskDecimal 225 255 255 0Binary 11111111 11111111 11111111 0000000
Network Address
Decimal 192 168 10 0Binary 10101100 10101000 00001010 0000000
Step 3: Address Broadcast find a way to replace all the numbers from 0 on the number of hosts to be number 1
IP AddressDecimal 192 168 10 234Binary 11000000 10101000 00001010 11101010
Network MaskDecimal 225 255 255 0Binary 11111111 11111111 11111111 0000000
Network Address
Decimal 192 17 0 0Binary 10101100 00010001 00000000 0000000
Broadcash Decimal 172 17 255 255Binary 11000000 10101000 11111111 11111111
Steap 4 : Use Possible Host formula to get the number of possible host for this subnetmask
Bit in the host = 2 (value bit) – 2 = (2^16) – 65536
= 65536 – 2 = 65534 Max of Host
Possible Host = 2 (n) - 2
16 Bits
Task 1 : Problem 5
For a given IP address, Determine Network Information
Given :
Find :
Step 1: Translate Host IP address and network mask into binary notation Convert the host Ip address and network masj to binary :
VII. Number Bits
1 = 1281 = 641 = 321 = 161 = 81 = 41 = 21 = 1
Example : 128 + 68 = 192
VIII. 1 AND 1 = 1 (on)1 AND 0 = 0 (off)
1 = 1281 = 640 = 320 = 160 = 80 = 40 = 20 = 1
Example : 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 = 11000000
IP AddressDecimal 192 168 3 219Binary 11000000 10101000 00000011 11011011
Subnet Counting
Range
Host Range
Host Ip Address 192.168.3.219Network Mask 255.255.0.0(/16)
Network Address 192.168.3.219Network Broadcast Address 192.168.3.223Total Number Of Host Bits 5Number of Host 32
i. Calculation of Network Mask 1x128=128 0x128=0 1x64=64 0x64=0 1x32=32 0x32=0 1x16=16 0x16=0 1x8=8 0x8=0 1x4=4 0x4=0 1x2=2 0x2=0 1x1=1 0x1=0
Then we add all those numbers, Example : 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
j. counting to three and four blocks
Example : 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 = 0
Network MaskDecimal 225 255 0 0Binary 11111111 11111111 00000000 0000000
Step 2: Determine the Network address
Looking for Network Address , by adding binary numbers of IP Address and Network Mask using the AND operator . Note ; 1 AND 1 = 1 , 0 AND 0 = 0 :
Example : Formula AND GATE
1 0 1 0 1 1 0 01 1 1 1 1 1 1 1
_______________
1 0 1 0 1 1 0 0
IP AddressDecimal 192 168 3 219Binary 11000000 10101000 00000011 11011011
Network MaskDecimal 225 255 255 0Binary 11111111 11111111 00000000 0000000
Network Address
Decimal 192 168 255 0Binary 10101100 10101000 11111111 11111111
Step 3: Address Broadcast find a way to replace all the numbers from 0 on the number of hosts to be number 1
IP AddressDecimal 192 168 3 219Binary 11000000 10101000 00000011 11011011
Network MaskDecimal 225 255 255 0Binary 11111111 11111111 00000000 0000000
Network Address
Decimal 192 168 255 0Binary 10101100 10101000 11111111 11111111
Broadcast Address
Decimal 192 168 255 255
Binary 11000000 10101000 1111111 11111111
Steap 4 : Use Possible Host formula to get the number of possible host for this subnetmask
Bit in the host = 2 (value bit) – 2 = (2^16) – 65536
= 65536 – 2 = 65534 Max of Host
Possible Host = 2 (n) - 2
Task 1 : Problem 6
For a given IP address, Determine Network Information
Given :
Find :
Step 1: Translate Host IP address and network mask into binary notation Convert the host Ip address and network masj to binary :
IX. Number Bits
1 = 1281 = 641 = 321 = 271 = 81 = 41 = 21 = 1
Example : 128 + 68 = 192
X. 1 AND 1 = 1 (on)1 AND 0 = 0 (off)
1 = 1281 = 640 = 320 = 160 = 80 = 40 = 20 = 1
Example : 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 = 11000000
IP AddressDecimal 192 168 3 219Binary 11000000 10101000 00000011 11011011
Subnet Counting
Range
Host Range
Host Ip Address 192.168.3.219Network Mask 255.255.255.224(/27)
Network Address 192.168.3.219Network Broadcast Address 192.168.255.255Total Number Of Host Bits 16Number of Host 65534
k. Calculation of Network Mask 1x128=128 0x128=0 1x64=64 0x64=0 1x32=32 0x32=0 1x16=16 0x16=0 1x8=8 0x8=0 1x4=4 0x4=0 1x2=2 0x2=0 1x1=1 0x1=0
Then we add all those numbers, Example : 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
l. counting to three and four blocks
Example : 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 = 0
Network MaskDecimal 225 255 255 224Binary 11111111 11111111 00000000 11100000
Step 2: Determine the Network address
Looking for Network Address , by adding binary numbers of IP Address and Network Mask using the AND operator . Note ; 1 AND 1 = 1 , 0 AND 0 = 0 :
Example : Formula AND GATE
1 0 1 0 1 1 0 01 1 1 1 1 1 1 1
_______________
1 0 1 0 1 1 0 0
IP AddressDecimal 192 168 3 219Binary 11000000 10101000 00000011 11011011
Network MaskDecimal 225 255 255 0Binary 11111111 11111111 11111111 11100000
Network Address
Decimal 192 168 3 192Binary 10101100 10101000 00001010 11000000
Step 3: Address Broadcast find a way to replace all the numbers from 0 on the number of hosts to be number 1
IP AddressDecimal 192 168 3 219Binary 11000000 10101000 00000011 11011011
Network MaskDecimal 225 255 255 0Binary 11111111 11111111 00000000 0000000
Network Address
Decimal 192 168 255 0Binary 10101100 10101000 00001010 11000000
Broadcast Address
Decimal 192 168 255 255
Binary 11000000 10101000 00001010 11011111
Steap 4 : Use Possible Host formula to get the number of possible host for this subnetmask
Bit in the host = 2 (value bit) – 2 = (2^5) – 2
= 32 – 2 = 30 Max of Host
Possible Host = 2 (n) - 2