task 2 - muhammad afiq farhan bin borhan.pdf

Upload: fiqz-rayzu

Post on 07-Aug-2018

226 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/20/2019 TASK 2 - MUHAMMAD AFIQ FARHAN BIN BORHAN.pdf

    1/13

  • 8/20/2019 TASK 2 - MUHAMMAD AFIQ FARHAN BIN BORHAN.pdf

    2/13

    4) DETERMINE THE NUMBER OF HOST BITS PER SUBNET 

    To determine the number of subnet bits, we need to count the number of 0 in subnet mask to get

    the subnet bits.

    Subnet bits : 8 ( subnet mask – 11111111.11111111.11111111.00000000 )

    5) DETERMINE THE NUMBER OF USABLE HOST PER SUBNET

    To calculate the number of subnet, use the formula below:

    nSUBNET = 2n  – 2 (n = subnet bits)

    = 28  – 2

    = 256 – 2

    = 254

    6) CALCULATE THE SUBNET ADDRESS FOR THIS IP ADDRESS

    To calculate these, perform a bit-wise AND operation or multiply operation on the IP address andsubnet mask.

    1st method (when 1 AND 1, the result is 1; 0 AND anything, the result is 0)

    2nd method (multiply : 1 x 1 = 1 ; 0 x 1 = 0 )

    10101100 . 00011110 . 00000001 . 00100001 IP address

    X 11111111 . 11111111 . 11111111 . 00000000 Subnet Mask

    = 10101100 . 00011110 . 00000001 . 00000000 Subnet Address

    = 172 . 30 . 1 . 0  (changed from binary to decimal)

    7) DETERMINE THE IP ADDRESS OF FIRST HOST ON THIS SUBNETTo determine the ip address of first host, state the subnet address in binary form.

    Then, change the last number in subnet address into 1.

    =10101100. 00011110. 00000001. 00000000 ( Subnet Address ) 

    =10101100. 00011110. 00000001. 00000001 ( 1ST Host ) (changed from 0 to 1)

    = 172 . 30 . 1 . 1 (changed from binary to decimal) 

    8) DETERMINE THE IP ADDRESS OF LAST HOST ON THIS SUBNET

    To determine the ip address of first host, state the 1st host ip address in binary form.

    Then, invert the number in host bits counting range.

    =10101100. 00011110. 00000001. 00000001 ( 1st Host IP Address )

    =10101100. 00011110. 00000001. 11111110 ( Last Host IP Address )

    = 172 . 30 . 1 . 254 (changed from binary to decimal) 

    9) DETERMINE THE BROADCAST ADDRESS FOR THIS SUBNET

    To determine the ip address of first host, state the last host ip address in binary form.

    Then, change the last number in subnet address into 1.

    =10101100. 00011110. 00000001. 11111110 ( Last Host IP Address )

    =10101100. 00011110. 00000001. 11111111 ( Broadcast Address )

    = 172 . 30 . 1 . 255 (changed from binary to decimal)

  • 8/20/2019 TASK 2 - MUHAMMAD AFIQ FARHAN BIN BORHAN.pdf

    3/13

    Add this information to the table

    Host Ip Address 172.30.1.33

    Subnet Mask 255.255.255..0

    Number Of Subnet Bits 8

    Number Of Subnet 256

    Number Of Host Bits Per Subnet 2Number Of Usable Hosts Per Subnet 254

    Subnet Address For This Ip Address 172.30.1.0

    Ip Address Of First Host Ip Address 172.30.1.1

    Ip Address Of Last Host Ip Address 172.30.1.254

    Broadcast Address For This Subnet 172.30.1.255

  • 8/20/2019 TASK 2 - MUHAMMAD AFIQ FARHAN BIN BORHAN.pdf

    4/13

    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: 172.30.1.33 = 10101100.0000111110.00000001.00100001 

    NETWORK MASK: 255.255.255.252 = 11111111.111111111.11111111.11111100  

    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 : 14( subnet mask –

     11111111.11111111.11111111.11111100 )

    3) DETERMINE THE NUMBER OF SUBNET

    To calculate the number of subnet, use the formula below:

    nSUBNET = 2n (n = subnet bits)

    = 214 

    = 16,384

    4) DETERMINE THE NUMBER OF HOST BITS PER SUBNET 

    To determine the number of subnet bits, we need to count the number of 0 in subnet mask to getthe subnet bits.

    Subnet bits : 2 ( subnet mask – 11111111.11111111.11111111.11111100 )

    5) DETERMINE THE NUMBER OF USABLE HOST PER SUBNET

    To calculate the number of subnet, use the formula below:

    nSUBNET = 2n  – 2 (n = subnet bits)

    = 22  – 2

    = 4 – 2

    = 2

  • 8/20/2019 TASK 2 - MUHAMMAD AFIQ FARHAN BIN BORHAN.pdf

    5/13

    6) CALCULATE THE SUBNET ADDRESS FOR THIS IP ADDRESS

    To calculate these, perform a bit-wise AND operation or multiply operation on the IP address and

    subnet mask.

    10101100 . 00011110 . 00000001 . 00100001 IP address

    X 11111111 . 11111111 . 11111111 . 11111100 Subnet Mask

    = 10101100 . 00011110 . 00000001 . 00100000 Subnet Address

    = 172 . 30 . 1 . 32  (changed from binary to decimal)

    7) DETERMINE THE IP ADDRESS OF FIRST HOST ON THIS SUBNET

    To determine the ip address of first host, state the subnet address in binary form.

    Then, change the last number in subnet address into 1.

    =10101100. 00011110. 00000001. 000000 00 ( Subnet Address ) 

    =10101100. 00011110. 00000001. 001000 01 ( 1ST Host ) (changed from 0 to 1)

    = 172 . 30 . 1 . 32 (changed from binary to decimal) 

    8) DETERMINE THE IP ADDRESS OF LAST HOST ON THIS SUBNET

    To determine the ip address of first host, state the 1st host ip address in binary form.

    Then, invert the number in host counting range.

    =10101100. 00011110. 00000001. 000000 01 ( 1st Host IP Address )

    =10101100. 00011110. 00000001. 001000 10 ( Last Host IP Address )

    = 172 . 30 . 1 . 34 (changed from binary to decimal) 

    9) DETERMINE THE BROADCAST ADDRESS FOR THIS SUBNETTo determine the ip address of first host, state the last host ip address in binary form.

    Then, change the last number in last host ip address into 1.

    =10101100. 00011110. 00000001. 111111 10 ( Last Host IP Address )

    =10101100. 00011110. 00000001. 001000 11 ( Broadcast Address )

    = 172 . 30 . 1 . 35 (changed from binary to decimal)

    Add this information to the table

    Host Ip Address 172.30.1.33

    Subnet Mask 255.255.255.252

    Number Of Subnet Bits 14

    Number Of Subnet 16 384

    Number Of Host Bits Per Subnet 2

    Number Of Usable Hosts Per Subnet 2

    Subnet Address For This Ip Address 172.30.1.32

    Ip Address Of First Host Ip Address 172.30.1.33

    Ip Address Of Last Host Ip Address 172.30.1.34

    Broadcast Address For This Subnet 172.30.1.35

  • 8/20/2019 TASK 2 - MUHAMMAD AFIQ FARHAN BIN BORHAN.pdf

    6/13

    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: 192.192.10.234 = 1100000.11000000..00001010.11101010 

    NETWORK MASK: 255.255.255.0 = 11111111.111111111.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:

    nSUBNET =2n (n = subnet bits)

    = 28 

    = 256

    4) DETERMINE THE NUMBER OF HOST BITS PER SUBNET 

    To determine the number of subnet bits, we need to count the number of 0 in subnet mask to getthe subnet bits.

    Subnet bits : 8 ( subnet mask – 11111111.11111111.11111111.000000000 )

    5) DETERMINE THE NUMBER OF USABLE HOST PER SUBNET

    To calculate the number of subnet, use the formula below:

    nSUBNET = 2n  – 2 (n = subnet bits)

    = 28  – 2

    = 256 – 2

    = 254

  • 8/20/2019 TASK 2 - MUHAMMAD AFIQ FARHAN BIN BORHAN.pdf

    7/13

    6) CALCULATE THE SUBNET ADDRESS FOR THIS IP ADDRESS

    To calculate these, perform a bit-wise AND operation or multiply operation on the IP address and

    subnet mask.

    11000000 .11000000 .00001010 .11101010 IP address

    X 11111111 .11111111 .11111111 .00000000 Subnet Mask

    = 11000000 .11000000 .00001010 .00000000 Subnet Address

    = 192 . 192 . 10 . 0  (changed from binary to decimal)

    7) DETERMINE THE IP ADDRESS OF FIRST HOST ON THIS SUBNET

    To determine the ip address of first host, state the subnet address in binary form.

    Then, change the last number in subnet address into 1.

    =11000000 .11000000 .00001010 .00000000 ( Subnet Address ) 

    =11000000 .11000000 .00001010 .00000001 ( 1ST Host ) (changed from 0 to 1)

    = 192 . 192 . 10 . 1 (changed from binary to decimal) 

    8) DETERMINE THE IP ADDRESS OF LAST HOST ON THIS SUBNET

    To determine the ip address of first host, state the 1st host ip address in binary form.

    Then, invert the number in host counting range.

    =11000000 .11000000 .00001010 .00000000 ( 1st Host IP Address )

    =11000000 .11000000 .00001010 .11111110 ( Last Host IP Address )

    = 192 . 192 . 10 . 254 (changed from binary to decimal) 

    9) DETERMINE THE BROADCAST ADDRESS FOR THIS SUBNETTo determine the ip address of first host, state the last host ip address in binary form.

    Then, change the last number in last host ip address into 1.

    =11000000 .11000000 .00001010 .00000000 ( Last Host IP Address )

    =11000000 .11000000 .00001010 .11111111 ( Broadcast Address )

    = 192 . 192 . 10 . 255 (changed from binary to decimal)

    Add this information to the table

    Host Ip Address 192.192.10.234

    Subnet Mask 255.255.255.0

    Number Of Subnet Bits 8

    Number Of Subnet 256

    Number Of Host Bits Per Subnet 8

    Number Of Usable Hosts Per Subnet 254

    Subnet Address For This Ip Address 192.192.10.0

    Ip Address Of First Host Ip Address 192.192.10.1

    Ip Address Of Last Host Ip Address 192.192.10.254

    Broadcast Address For This Subnet 192.192.10.255

  • 8/20/2019 TASK 2 - MUHAMMAD AFIQ FARHAN BIN BORHAN.pdf

    8/13

    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: 172.17.99.71 = 10101100.00010001.01100011.001000111

    NETWORK MASK: 255.255.0.0 = 11111111.111111111.00000000.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 : 0( subnet mask –

     11111111.11111111.00000000.00000000 )

    3) DETERMINE THE NUMBER OF SUBNET

    To calculate the number of subnet, use the formula below:

    nSUBNET =2n (n = subnet bits)

    = 20 

    = 1

    4) DETERMINE THE NUMBER OF HOST BITS PER SUBNET 

    To determine the number of subnet bits, we need to count the number of 0 in subnet mask to getthe subnet bits.

    Subnet bits : 16 ( subnet mask – 11111111.11111111.00000000.000000000 )

    5) DETERMINE THE NUMBER OF USABLE HOST PER SUBNET

    To calculate the number of subnet, use the formula below:

    nSUBNET = 2n  – 2 (n = subnet bits)

    = 216  – 2

    = 65 536 – 2

    = 65 534

  • 8/20/2019 TASK 2 - MUHAMMAD AFIQ FARHAN BIN BORHAN.pdf

    9/13

    6) CALCULATE THE SUBNET ADDRESS FOR THIS IP ADDRESS

    To calculate these, perform a bit-wise AND operation or multiply operation on the IP address and

    subnet mask.

    10101100 .00010001 .01100011 .001000111 IP address

    X 11111111 .11111111 .00000000 .00000000 Subnet Mask

    = 10101100 .00010001 .00000000 .00000000 Subnet Address

    = 172 . 17 . 0 . 0  (changed from binary to decimal)

    7) DETERMINE THE IP ADDRESS OF FIRST HOST ON THIS SUBNET

    To determine the ip address of first host, state the subnet address in binary form.

    Then, change the last number in subnet address into 1.

    =10101100 .00010001 .00000000 .00000000 ( Subnet Address ) 

    =10101100 .00010001 .00000000 .00000001 ( 1ST Host ) (changed from 0 to 1)

    = 172 . 17 . 0 . 1 (changed from binary to decimal) 

    8) DETERMINE THE IP ADDRESS OF LAST HOST ON THIS SUBNET

    To determine the ip address of first host, state the 1st host ip address in binary form.

    Then, invert the number in host counting range.

    =10101100 .00010001 .00000000 .00000001  ( 1st Host IP Address )

    =10101100 .00010001 .11111111 .11111110 ( Last Host IP Address )

    = 172 . 17 . 255 . 254 (changed from binary to decimal) 

    9) DETERMINE THE BROADCAST ADDRESS FOR THIS SUBNETTo determine the ip address of first host, state the last host ip address in binary form.

    Then, change the last number in last host ip address into 1.

    =10101100 .00010001 .00000000.11111110  ( Last Host IP Address )

    =10101100 .00010001 .11111111 .11111111 ( Broadcast Address )

    = 172 . 17 . 255 . 255 (changed from binary to decimal)

    Add this information to the table

    Host Ip Address 172.17.99.71

    Subnet Mask 255.255.0.0

    Number Of Subnet Bits 0

    Number Of Subnet 1

    Number Of Host Bits Per Subnet 16

    Number Of Usable Hosts Per Subnet 65 536

    Subnet Address For This Ip Address 172.17.99.0

    Ip Address Of First Host Ip Address 172.17.99.1

    Ip Address Of Last Host Ip Address 172.17.255.254

    Broadcast Address For This Subnet 172.17.255.255

  • 8/20/2019 TASK 2 - MUHAMMAD AFIQ FARHAN BIN BORHAN.pdf

    10/13

    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: 192.168.3.219 = 11000000.10101000.00000011.11011011

    NETWORK MASK: 255.255.255.0 = 11111111.111111111.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.111111111.00000000 )

    3) DETERMINE THE NUMBER OF SUBNET

    To calculate the number of subnet, use the formula below:

    nSUBNET =2n (n = subnet bits)

    = 28 

    = 256

    4) DETERMINE THE NUMBER OF HOST BITS PER SUBNET 

    To determine the number of subnet bits, we need to count the number of 0 in subnet mask to getthe subnet bits.

    Subnet bits : 8 ( subnet mask – 11111111.11111111. 11111111.000000000 )

    5) DETERMINE THE NUMBER OF USABLE HOST PER SUBNET

    To calculate the number of subnet, use the formula below:

    nSUBNET = 2n  – 2 (n = subnet bits)

    = 28  – 2

    = 256 – 2

    = 256

  • 8/20/2019 TASK 2 - MUHAMMAD AFIQ FARHAN BIN BORHAN.pdf

    11/13

    6) CALCULATE THE SUBNET ADDRESS FOR THIS IP ADDRESS

    To calculate these, perform a bit-wise AND operation or multiply operation on the IP address and

    subnet mask.

    11000000 .10101000 .00000011 .11011011 IP address

    X 11111111 .11111111 .11111111 .00000000 Subnet Mask

    = 11000000 .10101000 .00000011 .00000000 Subnet Address

    = 192 . 168 . 3 . 0  (changed from binary to decimal)

    7) DETERMINE THE IP ADDRESS OF FIRST HOST ON THIS SUBNET

    To determine the ip address of first host, state the subnet address in binary form.

    Then, change the last number in subnet address into 1.

    =11000000 .10101000 .00000011 .00000000 ( Subnet Address ) 

    =11000000 .10101000 .00000011 .00000001 ( 1ST Host ) (changed from 0 to 1)

    = 192 . 168 . 3 . 1  (changed from binary to decimal) 

    8) DETERMINE THE IP ADDRESS OF LAST HOST ON THIS SUBNET

    To determine the ip address of first host, state the 1st host ip address in binary form.

    Then, invert the number in host counting range.

    =11000000 .10101000 .00000011 .00000001 ( 1st Host IP Address )

    =11000000 .10101000 .00000011.11111110 ( Last Host IP Address )

    = 192 . 168 . 3 . 254 (changed from binary to decimal) 

    9) DETERMINE THE BROADCAST ADDRESS FOR THIS SUBNETTo determine the ip address of first host, state the last host ip address in binary form.

    Then, change the last number in last host ip address into 1.

    =11000000 .10101000 .00000011. 11111110( Last Host IP Address )

    =11000000 .10101000 .00000011. 11111111 ( Broadcast Address )

    = 192 . 168 . 3 . 255 (changed from binary to decimal)

    Add this information to the table

    Host Ip Address 192.168.3.219

    Subnet Mask 255.255.255.0

    Number Of Subnet Bits 8

    Number Of Subnet 256

    Number Of Host Bits Per Subnet 8

    Number Of Usable Hosts Per Subnet 254

    Subnet Address For This Ip Address 192.168.3.0

    Ip Address Of First Host Ip Address 192.168.3.1

    Ip Address Of Last Host Ip Address 192.168.3.254

    Broadcast Address For This Subnet 192.168.3.255

  • 8/20/2019 TASK 2 - MUHAMMAD AFIQ FARHAN BIN BORHAN.pdf

    12/13

    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: 192.168.3.219 = 11000000.10101000.00000011.110110 11

    NETWORK MASK: 255.255.255.0 = 11111111.111111111.11111111.111111 00 

    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 : 14 ( subnet mask –

     11111111.11111111.111111111.111111 00 )

    3) DETERMINE THE NUMBER OF SUBNET

    To calculate the number of subnet, use the formula below:

    nSUBNET =2n (n = subnet bits)

    = 214 

    = 16 384

    4) DETERMINE THE NUMBER OF HOST BITS PER SUBNET 

    To determine the number of subnet bits, we need to count the number of 0 in subnet mask to getthe subnet bits.

    Subnet bits : 2 ( subnet mask – 11111111.11111111. 11111111 .0000000 00 )

    5) DETERMINE THE NUMBER OF USABLE HOST PER SUBNET

    To calculate the number of subnet, use the formula below:

    nSUBNET = 2n  – 2 (n = subnet bits)

    = 22  – 2

    = 4 – 2

    = 2

  • 8/20/2019 TASK 2 - MUHAMMAD AFIQ FARHAN BIN BORHAN.pdf

    13/13

    6) CALCULATE THE SUBNET ADDRESS FOR THIS IP ADDRESS

    To calculate these, perform a bit-wise AND operation or multiply operation on the IP address and

    subnet mask.

    11000000 .10101000 .00000011 .110110 11 IP address

    X 11111111 .11111111 .11111111 .111111 00 Subnet Mask

    = 11000000 .10101000 .00000011 .110110 00 Subnet Address

    = 192 . 168 . 3 . 216  (changed from binary to decimal)

    7) DETERMINE THE IP ADDRESS OF FIRST HOST ON THIS SUBNET

    To determine the ip address of first host, state the subnet address in binary form.

    Then, change the last number in subnet address into 1.

    =11000000 .10101000 .00000011 .110110 00 ( Subnet Address ) 

    =11000000 .10101000 .00000011 .110110 01 ( 1ST Host ) (changed from 0 to 1)

    = 192 . 168 . 3 . 217  (changed from binary to decimal) 

    8) DETERMINE THE IP ADDRESS OF LAST HOST ON THIS SUBNET

    To determine the ip address of first host, state the 1st host ip address in binary form.

    Then, invert the number in host counting range.

    =11000000 .10101000 .00000011 .110110 01 ( 1st Host IP Address )

    =11000000 .10101000 .00000011 .110110 10 ( Last Host IP Address )

    = 192 . 168 . 3 . 218 (changed from binary to decimal) 

    9) DETERMINE THE BROADCAST ADDRESS FOR THIS SUBNETTo determine the ip address of first host, state the last host ip address in binary form.

    Then, change the last number in last host ip address into 1.

    =11000000 .10101000 .00000011 .110110 10 ( Last Host IP Address )

    =11000000 .10101000 .00000011 .110110 11( Broadcast Address )

    = 192 . 168 . 3 . 218 (changed from binary to decimal)

    Add this information to the table

    Host Ip Address 192.168.3.219

    Subnet Mask 255.255.255.252

    Number Of Subnet Bits 14

    Number Of Subnet 16 384

    Number Of Host Bits Per Subnet 2

    Number Of Usable Hosts Per Subnet 2

    Subnet Address For This Ip Address 192.168.3.216

    Ip Address Of First Host Ip Address 192.168.3.217

    Ip Address Of Last Host Ip Address 192.168.3.218

    Broadcast Address For This Subnet 192.168.3.219