ASSIGMENT 1- Cisco

Embed Size (px)

Citation preview

  • 7/24/2019 ASSIGMENT 1- Cisco

    1/18

    ASSIGMENT 1

    TASK 1

    CODE/COURSE:KFC 2144/SKN 2A

    NAME: MUHAMAD HAZIM BIN AHMAD

    IZUDDIN

  • 7/24/2019 ASSIGMENT 1- Cisco

    2/18

  • 7/24/2019 ASSIGMENT 1- Cisco

    3/18

    convert the host ip address and networ" mas" to binary number:

    33 172 30 1

    Ip address = 10101100 00011110 00000001

    Net mask = 11111111 11111111 00000000

    0 = 255 255 0

    his is the calculation o networ" address:

    Ip address = 10101100 00011110 00000001

    Sub mask = 11111111 11111111 00000000

    Net address = 10101100 00011110 00000000

    0 172 30 0

    172.30.0.0

    his is calculation o #etwor" $roadcast %ddress:

    Net address = 10101100 00011110 00000000

    Net mask = 11111111 11111111 00000000

    Broadcast = 10101100 00011110 11111111

    255 172 30 255

    172.30.255.255

    This is the ormula to calculate the number o host bits 2n!2:

    216 =65536

    216-2 =65534

  • 7/24/2019 ASSIGMENT 1- Cisco

    4/18

    PROBLEM 2

    Host IP Addrss 1!2"#$"1"##

    Nt%or& M's& 2(("2(("2(("$

    Nt%or& Addrss 1!2"#$"1"$/24

    Nt%or& Bro'd)'st Addrss 1!2"#$"1"2((

    Tot'* N+,-r o. Host Bts 2

    N+,-r o. Hosts 28-2=254Nt%or& Addrss3 1!2"#$"1"$

    This is no way to read up to no decimal in binary, 172 is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    1 $ 1 $ 1 1 $ $

    12#2431!2 1!2"#$"1"$

    This is no way to read up to no decimal in binary, 30 is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    $ $ $ 1 1 1 1 $

    10423#$ 1!2"#$"1"$

    This is no way to read up to no decimal in binary,1 is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    $ $ $ $ $ $ $ 1

    $$$$$$$131 1!2"#$"1"$

    This is no way to read up to no decimal in binary, 0 is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    $ $ $ $ $ $ $ $

    $$$$$$$$3$ 1!2"#$"1"$

    Formula: Perorm a bit!wise and operation on the ip address and the subnet

    mas"

    1 and1=1

    1 and0=0

    0 and0=0

  • 7/24/2019 ASSIGMENT 1- Cisco

    5/18

    convert the host ip address and networ" mas" to binary number:

    33 172 30 1

    Ip address = 10101100 00011110 00000001

    Net mask = 11111111 11111111 11111111

    0 = 255 255 255

    his is the calculation o networ" address:

    Ip address = 10101100 00011110 00000001

    Sub mask = 11111111 11111111 11111111

    Net address = 10101100 00011110 00000001

    0 172 30 1

    172.30.1.0

    his is calculation o #etwor" $roadcast %ddress:

    Net address = 10101100 00011110 00000000

    Net mask = 11111111 11111111 00000000

    Broadcast = 10101100 00011110 11111111

    255 172 30 255

    172.30.1.255

    This is the ormula to calculate the number o host bits 2n!2:

    28=256

    28-2=254

  • 7/24/2019 ASSIGMENT 1- Cisco

    6/18

    PROBLEM #

    Host IP Addrss 12"10"1$"2#4

    Nt%or& M's& 2(("2(("2(("$

    Nt%or& Addrss 12"10"1$"2((

    Nt%or& Bro'd)'st Addrss 12"10"1$"2((

    Tot'* N+,-r o. Host Bts 2

    N+,-r o. Hosts 28-2 = 254Nt%or& Addrss3 12"10"1$"2#4

    This is no way to read up to no decimal in binary, 1&2 is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    1 1 $ $ $ $ $ $

    1204312 12"10"1$"$

    This is no way to read up to no decimal in binary,1'( is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    1 $ 1 $ 1 $ $ $

    12#2310 12"10"1$"$

    This is no way to read up to no decimal in binary,10 is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    $ $ $ $ 1 $ 1 $

    231$ 12"10"1$"$

    This is no way to read up to no decimal in binary,0 is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    $ $ $ $ $ $ $ $

    $$$$$$$$3$ 12"10"1$"$

    Formula: Perorm a bit!wise and operation on the ip address and the subnet

    mas"

    1 and1=1

    1 and0=0

    0 and0=0

  • 7/24/2019 ASSIGMENT 1- Cisco

    7/18

    convert the host ip address and networ" mas" to binary number:

    234 12 168 10

    Ip address = 11000000 10101000 00001010

    Net mask = 11111111 11111111 11111111

    0 = 255 255 255

    his is the calculation o networ" address:

    Ip address = 10101100 00011110 00000001

    Sub mask = 11111111 11111111 11111111

    Net address = 10101100 00011110 00000001

    0 12 168 10

    12.168.10.0

    his is calculation o #etwor" $roadcast %ddress:

    Net address = 11000000 10101000 00001010

    Net mask = 11111111 11111111 11111111

    Broadcast = 11000000 10101000 00001010

    255 12 168 10

    12.168.10.255

    This is the ormula to calculate the number o host bits 2n!2:

    28= 256

    28-2 = 254

  • 7/24/2019 ASSIGMENT 1- Cisco

    8/18

    PROBLEM 4

    Host IP Addrss 1!2"1!""!1

    Nt%or& M's& 2(("2(("$"$

    Nt%or& Addrss 1!2"1!"$"$/10

    Nt%or& Bro'd)'st Addrss 1!2"1!"2(("2((

    Tot'* N+,-r o. Host Bts 210

    N+,-r o. Hosts 65536-2=65534Nt%or& Addrss:1!2"1!"$"$

    This is no way to read up to no decimal in binary, 172 is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    1 $ 1 $ 1 1 $ $12#2431!2 1!2"1!"$"$

    This is no way to read up to no decimal in binary, 17 is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    $ $ $ 1 $ $ $ 1

    10131! 1!2"1!"$"$

    This is no way to read up to no decimal in binary, 0 is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1$ $ $ $ $ $ $ $

    $$$$$$$3$ 1!2"1!"$"$

    This is no way to read up to no decimal in binary, 0 is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    $ $ $ $ $ $ $ $

    $$$$$$$3$ 1!2"1!"$"$

    Formula: Perorm a bit!wise and operation on the ip address and the subnet

    mas"

    1 and1=1

    1 and0=0

    0 and0=0

  • 7/24/2019 ASSIGMENT 1- Cisco

    9/18

    convert the host ip address and networ" mas" to binary number:

    !1 1!2 1!

    Ip address = 10101100 00010001 01100011

    Net mask = 11111111 11111111 00000000

    0 = 255 255 0

    his is the calculation o networ" address:

    Ip address = 10101100 00010001 01100011

    Sub mask = 11111111 11111111 00000000

    Net address = 10101100 00010001 00000000

    0 172 17 0

    172.17.0.0

    his is calculation o #etwor" $roadcast %ddress:

    Net address = 10101100 00010001 01100011

    Net mask = 11111111 11111111 00000000

    Broadcast = 10101100 00010001 11111111

    255 172 17 255

    172.17.255.255

    This is the ormula to calculate the number o host bits 2n!2:

    216= 256

    216-2 = 254

  • 7/24/2019 ASSIGMENT 1- Cisco

    10/18

    PROBLEM (

    Host IP Addrss 12"10"#"21

    Nt%or& M's& 2(("2(("$"$

    Nt%or& Addrss 12"10"$"$

    Nt%or& Bro'd)'st Addrss 12"10"2(("2((

    Tot'* N+,-r o. Host Bts 210

    N+,-r o. Hosts 65536-2 = 65534Nt%or& Addrss:12"10"#"21

    This is no way to read up to no decimal in binary, 1&2 is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    1 1 $ $ $ $ $ $

    1204312 12"10"#"21

    This is no way to read up to no decimal in binary, 1'( is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    1 $ 1 $ 1 $ $ $

    12#2310 12"10"#"21

    This is no way to read up to no decimal in binary, 3 is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    $ $ $ $ $ $ 1 1

    213# 12"10"#"21

    This is no way to read up to no decimal in binary,21& is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    1 1 $ 1 1 $ 1 1

    12041021321 12"10"#"21

    Formula: Perorm a bit!wise and operation on the ip address and the subnet

    mas"

    1 and1=1

    1 and0=0

    0 and0=0

  • 7/24/2019 ASSIGMENT 1- Cisco

    11/18

    convert the host ip address and networ" mas" to binary number:

    21 12 10 #

    Ip address = 11000000 10101000 01100011

    Net mask = 11111111 11111111 00000000

    0 = 255 255 0

    his is the calculation o networ" address:

    Ip address = 11000000 10101000 00000011

    Sub mask = 11111111 11111111 00000000

    Net address = 11000000 10101000 00000000

    0 12 168 0

    12.168.0.0

    his is calculation o #etwor" $roadcast %ddress:

    Net address = 11000000 10101000 00000011

    Net mask = 11111111 11111111 00000000

    Broadcast = 11000000 10101000 11111111

    255 12 168 255

    12.168.255.255

    This is the ormula to calculate the number o host bits 2n!2:

    216=65536

    65536-2 = 65534

  • 7/24/2019 ASSIGMENT 1- Cisco

    12/18

    PROBLEM 0

    Host IP Addrss 12"10"#"21

    Nt%or& M's& 2(("2(("2(("224

    Nt%or& Addrss 12"10"#"12

    Nt%or& Bro'd)'st Addrss 12"10"#"22#

    Tot'* N+,-r o. Host Bts 2(

    N+,-r o. Hosts 32-2=30Nt%or& Addrss:12"10"#"21

    This is no way to read up to no decimal in binary, 1&2 is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    1 1 $ $ $ $ $ $

    1204312 12"10"#"21

    This is no way to read up to no decimal in binary, 1'( is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    1 $ 1 $ 1 $ $ $

    12#2310 12"10"#"21

    This is no way to read up to no decimal in binary, 3 is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    $ $ $ $ $ $ 1 1

    213# 12"10"#"21

    This is no way to read up to no decimal in binary,21& is converted to decimal.

    2! 20 2( 24 2# 22 21 2$

    12 04 #2 10 4 2 1

    1 1 $ 1 1 $ 1 1

    12041021321 12"10"#"21

    Formula: Perorm a bit!wise and operation on the ip address and the subnet

    mas"

    1 and1=1

    1 and0=0

    0 and0=0

  • 7/24/2019 ASSIGMENT 1- Cisco

    13/18

  • 7/24/2019 ASSIGMENT 1- Cisco

    14/18

    convert the host ip address and networ" mas" to binary number:

    21 12 10 #

    Ip address = 11000000 10101000 01100011

    Net mask = 11111111 11111111 11111111

    224 = 255 255 255

    his is the calculation o networ" address:

    Ip address = 11000000 10101000 00000011

    Sub mask = 11111111 11111111 11111111

    Net address = 11000000 10101000 00000011

    0 12 168 0

    12.168.0.0

    his is calculation o #etwor" $roadcast %ddress:

    Net address = 11000000 10101000 00000011

    Net mask = 11111111 11111111 11111111

    Broadcast = 11000000 10101000 11111111

    255 12 168 255

    12.168.255.255

    This is the ormula to calculate the number o host bits 2n!2:

    25=32

    32-2=30

  • 7/24/2019 ASSIGMENT 1- Cisco

    15/18

  • 7/24/2019 ASSIGMENT 1- Cisco

    16/18

  • 7/24/2019 ASSIGMENT 1- Cisco

    17/18

  • 7/24/2019 ASSIGMENT 1- Cisco

    18/18