Assingment 2.docx
-
Upload
nasrullah-kashfullah -
Category
Documents
-
view
218 -
download
0
Transcript of Assingment 2.docx
-
8/20/2019 Assingment 2.docx
1/23
Assingment 2
Muhammad Nasrullah Bin Muhamad Kashfullah
SKN 2A
Task 2
-
8/20/2019 Assingment 2.docx
2/23
Problem 1
Host IP Address 172!"1!!Subnet Mask 2##2##2##"
Number of Subnet Bits $ bitsNumber of Subnets 2$%2#&Number of Host Bits 'er
Subnet
2#&
Number of (sable Hosts Bits
'er Subnet
2$)2%2#&)2%2#* host 'er
subnetSubnet Address for this IP
Address
172!"1"
IP Address of +irst Host on this
Subnet
172!"11
IP Address of ,ast Host on this
Subnet
172!"12#*
Broad-ast Address for this
Subnet
172!"12##
1 .on/ert Host IP Address and Net0ork Mask into
binar numbers
172!"1!! 1"1"11"
"
"""1111
"
"""""""
1
1""""""
12##2##2##
"
1111111
1
1111111
1
1111111
1
"""""""
"
2 etermine the Subnet Address
IP Address 1"1"11
""
"""111
1"
""""""
"1
""1""""
1
Subnet
Mask
111111
11
111111
11
111111
11
""""""
""
Subnet
Address
1"1"11
""
"""111
1"
""""""
"1
""1""""
1
-
8/20/2019 Assingment 2.docx
3/23
! ,ook for the address bits that -ontain information
net0ork and host
M S
IP
Address
172!"1!
!
1"1"11"
"
"""1111
"
""""""
"1
""1"""
"1Subnet
Mask
2##2##2#
#"111111
11
111111
1
11111
11
"""""
""Subnet
Add172!"1
"
1"1"11
"
"""111
1"
"""""
"1
"""""
""
* etermine the Subnet 3ange 4 Host 3ange
IP
Address
172!"1!
!
1"1"11"
"
"""1111
"
"""""""
1
""1""""
1Subnet
mask
2##2##2#
#"
1111111
1
1111111
1
1111111
1
"""""""
"
-
8/20/2019 Assingment 2.docx
4/23
# etermine the +irst Host 5 and Host ,ast Broad-ast
a +irst determine ho0 to -hange the Host 0ith the "
on the Host range bit subnet add the last to be 1
IPAddress 172!"1!! 1"1"11"" """1111" """""""1 ""1""""1Subnet
Mask
2##2##2#
#"
1111111
1
1111111
1
1111111
1
"""""""
"+irst
Host
172!"11 1"1"11"
"
"""1111
"
"""""""
1
"""""""
1
b ,ast determine Host b re'la-ing the " to 1
IP
Address
172!"1!
!
1"1"11"
"
"""1111
"
"""""""
1
""1""""
1Subnet
Mask
2##2##2#
#"
1111111
1
1111111
1
1111111
1
"""""""
",ast
Host
172!"12
#*
1"1"11"
"
"""1111
"
"""""""
1
1111111
"
- S'e-ifing Broad-ast b re'la-ing all numbers from
" to add a host range subnet number 1
IP
Address
172!"1!
!
1"1"11
""
"""111
1"
""""""
"1
""1"""
"1Subnet
Mask
2##2##2#
#"
111111
11
111111
11
111111
11
""""""
""Broad-a
st
172!"12
##
1"1"11
""
"""111
1"
""""""
"1
111111
11
-
8/20/2019 Assingment 2.docx
5/23
& etermine the Numbers of Subnets to -al-ulate the
bit in the subnet -ounting range is $ (se the formula26n 5 0here n is the number of bits in the subnet
-ounting range
Number of subnet Bits $ BitsNumber of Subnets 2$%2#& subnets
7etermine the Number (sable Hosts 'er Subnet to
-ount on a host range that is bit $ (se the formula 26nminus 2
Number of Host Bits 'er
Subnet$ bits
Number of (sable Hosts 'er
Subnet2$)2%2#&)2%2#* host 'er
subnet
-
8/20/2019 Assingment 2.docx
6/23
Problem 2
Host IP Address 172!"1!!Subnet Mask 2##2##2##2#2Number of Subnet Bits 1*Number of Subnets 1&!$*Number of Host Bits 'er
Subnet
*
Number of (sable Hosts Bits
'er Subnet
2
Subnet Address for this IP
Address
172!"1!2
IP Address of +irst Host on this
Subnet
172!"1!!
IP Address of ,ast Host on this
Subnet
172!"1!*
Broad-ast Address for this
Subnet
172!"1!#
1 .on/ert Host IP Address and Net0ork Mask into
binar numbers
172!"1!! 1"1"11"
"
"""1111
"
"""""""
1
1""""""
1
-
8/20/2019 Assingment 2.docx
7/23
2##2##2##
2#2
1111111
1
1111111
1
1111111
1
111111"
"
2 etermine the Subnet Address
IP Address 1"1"11
""
"""111
1"
""""""
"1
""1""""
1
Subnet
Mask
111111
11
111111
11
111111
11
111111"
"
Subnet
Address
1"1"11
""
"""111
1"
""""""
"1
""1""""
"
! ,ook for the address bits that -ontain information
net0ork and host
M S
IP
Address
172!"1!
!
1"1"11"
"
"""1111
"
""""""
"1
""1"""
"1Subnet
Mask
2##2##2#
#"111111
11
111111
11
111111
11
""""""
""
* etermine the Subnet 3ange 4 Host 3ange
IP
Address
172!"1!
!
1"1"11"
"
"""1111
"
"""""""
1
""1""""
1Subnet 2##2##2# 1111111 1111111 1111111 111111"
-
8/20/2019 Assingment 2.docx
8/23
mask #" 1 1 1 "
# etermine the +irst Host 5 and Host ,ast Broad-ast
a +irst determine ho0 to -hange the Host 0ith the "
on the Host range bit subnet add the last to be 1
IP
Addres
s
172!"1!! 1"1"11
""
"""111
1"
""""""
"1
""1"""
"1
Subnet
Mask
2##2##2##
2#2
111111
11
111111
11
111111
11
111111
""+irst
Host
172!"11 1"1"11
""
"""111
1"
""""""
"1
""1"""
"1
b ,ast determine Host b re'la-ing the " to 1
IP
Addres
s
172!"1!! 1"1"11
""
"""111
1"
""""""
"1
""1"""
"1
Subnet
Mask
2##2##2##
2#2
111111
11
111111
11
111111
11
""""""
"",ast
Host
172!"1!* 1"1"11
""
"""111
1"
""""""
"1
111111
1"
- S'e-ifing Broad-ast b re'la-ing all numbers from
" to add a host range subnet number 1
-
8/20/2019 Assingment 2.docx
9/23
IP
Address
172!"1!! 1"1"11
""
"""111
1"
""""""
"1
""1"""
"1Subnet
Mask
2##2##2##
2#2
111111
11
111111
11
111111
11
""""""
""
Broad-ast
172!"1!# 1"1"11""
"""1111"
"""""""1
""1"""11
& etermine the Numbers of Subnets to -al-ulate the
bit in the subnet -ounting range is $ (se the formula
26n 5 0here n is the number of bits in the subnet-ounting range
Number of subnet Bits 1* BitsNumber of Subnets 21*%1&!$* subnets
7etermine the Number (sable Hosts 'er Subnet to
-ount on a host range that is bit $ (se the formula 26n
minus 2
Number of Host Bits 'er
Subnet2 bits
Number of (sable Hosts 'er
Subnet22)2%*)2%2 host 'er
subnet
Problem !
Host IP Address 12121"2!*Subnet Mask 2##2##2##"Number of Subnet Bits $Number of Subnets 2#&
Number of Host Bits 'erSubnet
2#&
-
8/20/2019 Assingment 2.docx
10/23
Number of (sable Hosts Bits
'er Subnet
2#*
Subnet Address for this IP
Address
12121""
IP Address of +irst Host on thisSubnet
12121"1
IP Address of ,ast Host on this
Subnet
12121"2#*
Broad-ast Address for this
Subnet
12121"2##
1 .on/ert Host IP Address and Net0ork Mask into
binar numbers
12121"
2!*
11"""""
"
11"""""
"
""""1"1
"
111"1"1
"2##2##2##
"
1111111
1
1111111
1
1111111
1
"""""""
"
2 etermine the Subnet AddressIP Address 11""""
""
11""""
""
""""1"
1"
111"1"1
"
Subnet
Mask
111111
11
111111
11
111111
11
"""""""
"
Subnet
Address
11""""
""
11""""
""
""""1"
1"
"""""""
"
-
8/20/2019 Assingment 2.docx
11/23
! ,ook for the address bits that -ontain information
net0ork and host
M S
IP
Address
172!"1!
!
1"1"11
""
"""111
1"
""""""
"1
""1"""
"1Subnet
Mask
2##2##2#
#"
111111
11
111111
11
111111
11
""""""
""
* etermine the Subnet 3ange 4 Host 3ange
IP
Address
172!"1!
!
1"1"11"
"
"""1111
"
"""""""
1
""1""""
1Subnet
mask
2##2##2#
#"
1111111
1
1111111
1
1111111
1
111111"
"
# etermine the +irst Host 5 and Host ,ast Broad-ast
a +irst determine ho0 to -hange the Host 0ith the "
on the Host range bit subnet add the last to be 1
IP
Addres
s
172!"1!! 1"1"11
""
"""111
1"
""""""
"1
""1"""
"1
Subnet
Mask
2##2##2##
2#2
111111
11
111111
11
111111
11
111111
""+irst
Host
172!"11 1"1"11
""
"""111
1"
""""""
"1
""1"""
"1
-
8/20/2019 Assingment 2.docx
12/23
b ,ast determine Host b re'la-ing the " to 1IP
Addres
s
12121"
2!*
11""""
""
11""""
""
""""1"
1"
111"1"
1"
Subnet
Mask
2##2##2#
#"
111111
11
111111
11
111111
11
""""""
",ast
Host
12121"
1
11""""
""
11""""
""
""""1"
1"
""""""
"1
- S'e-ifing Broad-ast b re'la-ing all numbers from
" to add a host range subnet number 1
IP
Address
12121"2
!*
11""""
""
11""""
""
""""1"
1"
111"1"
1"Subnet
Mask
2##2##2##
2#2
111111
11
111111
11
111111
11
""""""
""Broad-a
st
172!"1!# 11""""
""
11""""
""
""""1"
1"
111111
1"
& etermine the Numbers of Subnets to -al-ulate the
bit in the subnet -ounting range is $ (se the formula
26n 5 0here n is the number of bits in the subnet-ounting range
Number of subnet Bits $ BitsNumber of Subnets 2$%2#& subnets
7etermine the Number (sable Hosts 'er Subnet to
-ount on a host range that is bit $ (se the formula 26n
minus 2
-
8/20/2019 Assingment 2.docx
13/23
Number of Host Bits 'er
Subnet$ bits
Number of (sable Hosts 'er
Subnet2$)2%*)2%2#* host 'er
subnet
Problem *
Host IP Address 1721771
Subnet Mask 2##2##""Number of Subnet Bits "Number of Subnets 1Number of Host Bits 'er
Subnet
#!&
Number of (sable Hosts Bits
'er Subnet
#!*
Subnet Address for this IP
Address
17217""
IP Address of +irst Host on this
Subnet
17217"1
IP Address of ,ast Host on this
Subnet
172172##2#*
Broad-ast Address for this
Subnet
172172##2##
1 .on/ert Host IP Address and Net0ork Mask intobinar numbers
172177
1
1"1"11"
"
"""1"""
1
"11"""1
1
"1"""11
12##2##"" 1111111
1
1111111
1
"""""""
"
"""""""
"
2 etermine the Subnet Address
-
8/20/2019 Assingment 2.docx
14/23
IP Address 1"1"11
""
"""1""
"1
"11"""
11
"1"""11
1
Subnet
Mask
111111
11
111111
11
""""""
""
"""""""
"
Subnet
Address
1"1"11
""
"""1""
"1
""""""
""
"""""""
"
! ,ook for the address bits that -ontain information
net0ork and host
M S%" BIT
IP
Address
172!"1!
!
1"1"11
""
"""111
1"
""""""
"1
"1"""1
11Subnet
Mask
2##2##2#
#"
111111
11
111111
11
""""""
""
""""""
""
* etermine the Subnet 3ange 4 Host 3ange
IP
Address
17217
71
1"1"11"
"
"""1"""
1
"""""""
1
""1""""
1Subnet
mask
2##2##"
"
1111111
1
1111111
1
"""""""
"
"""""""
"
# etermine the +irst Host 5 and Host ,ast Broad-ast
-
8/20/2019 Assingment 2.docx
15/23
a +irst determine ho0 to -hange the Host 0ith the "
on the Host range bit subnet add the last to be 1
IP
Address
12121"
2!*
11""""
""
11""""
""
""""1"
1"
111"1"
1"
Subnet
Mask
2##2##2#
#"
111111
11
111111
11
111111
11
""""""
""+irst
Host
12121"
1
11""""
""
11""""
""
""""1"
1"
""""""
"1
b ,ast determine Host b re'la-ing the " to 1
IPAddres
s
1721771 1"1"11"" """1"""1 "11"""11 "1"""111
Subnet
Mask
2##2##"" 111111
11
111111
11
111111
11
""""""
"",ast
Host
172172##
2#*
1"1"11
""
"""1""
"1
111111
11
111111
1"
- S'e-ifing Broad-ast b re'la-ing all numbers from
" to add a host range subnet number 1
IP
Address
172177
1
1"1"11
""
"""1""
"1
"11"""
11
"1"""1
11Subnet
Mask
2##2##"" 111111
11
111111
11
111111
11
""""""
""Broad-a
st
172172##
2##
1"1"11
""
"""1""
"1
111111
11
111111
11
& etermine the Numbers of Subnets to -al-ulate the
bit in the subnet -ounting range is $ (se the formula
26n 5 0here n is the number of bits in the subnet
-ounting range
-
8/20/2019 Assingment 2.docx
16/23
Number of subnet Bits " BitsNumber of Subnets 2"%1 subnets
7etermine the Number (sable Hosts 'er Subnet to
-ount on a host range that is bit $ (se the formula 26n
minus 2
Number of Host Bits 'er
Subnet
1& bits
Number of (sable Hosts 'er
Subnet21&)2%#!&)2%#!*
host 'er subnet
Problem #
Host IP Address 121&$!21
Subnet Mask 2##2##2##"Number of Subnet Bits $Number of Subnets 2#&Number of Host Bits 'er
Subnet
2#&
Number of (sable Hosts Bits
'er Subnet
2#*
Subnet Address for this IP
Address
121&$!"
IP Address of +irst Host on this 121&$!1
-
8/20/2019 Assingment 2.docx
17/23
SubnetIP Address of ,ast Host on this
Subnet
121&$!2#*
Broad-ast Address for this
Subnet
121&$!2##
1 .on/ert Host IP Address and Net0ork Mask into
binar numbers
121&$!2
1
1"1"11"
"
"""1"""
1
""""""1
1
11"11"1
12##2##2##
"
1111111
1
1111111
1
1111111
1
"""""""
"
2 etermine the Subnet Address
IP Address 1"1"11
""
"""1""
"1
""""""
11
11"11"1
1
Subnet
Mask
111111
11
111111
11
111111
11
"""""""
"
Subnet
Address
1"1"11
""
1"1"1"
""
""""""
11
"""""""
"
! ,ook for the address bits that -ontain information
net0ork and host
M S
-
8/20/2019 Assingment 2.docx
18/23
IP
Address
121&$!
21
11""""
""
1"1"1"
""
""""""
11
11"11"
11Subnet
Mask
2##2##2#
#"
111111
11
111111
11
111111
11
""""""
""
* etermine the Subnet 3ange 4 Host 3ange
IP
Address
121&$!
21
11"""""
"
1"1"1""
"
""""""1
1
11"11"1
1Subnet
Mask
2##2##2#
#"
1111111
1
1111111
1
1111111
1
"""""""
"
# etermine the +irst Host 5 and Host ,ast Broad-ast
a +irst determine ho0 to -hange the Host 0ith the "
on the Host range bit subnet add the last to be 1
IP
Address
121&$!
21
11"""""
"
1"1"1""
"
""""""1
1
11"11"1
1Subnet
Mask
2##2##2#
#"
1111111
1
1111111
1
1111111
1
"""""""
"+irst
Host
121&$!
1
11"""""
"
1"1"1""
"
""""""1
1
"""""""
1
b ,ast determine Host b re'la-ing the " to 1
IP
Addres
s
172177
1
1"1"11
""
"""1""
"1
"11"""
11
"1"""1
11
Subnet
Mask
2##2##"" 111111
11
111111
11
111111
11
""""""
"",ast
Host
172172##
2#*
1"1"11
""
"""1""
"1
111111
11
111111
1"
-
8/20/2019 Assingment 2.docx
19/23
- S'e-ifing Broad-ast b re'la-ing all numbers from
" to add a host range subnet number 1
IP
Address
121&$!
21
11""""
""
1"1"1"
""
""""""
11
11"11"
11Subnet
Mask
2##2##2#
#"
111111
11
111111
11
111111
11
""""""
""Broad-a
st
121&$!
2##
11""""
""
1"1"1"
""
""""""
11
111111
11
& etermine the Numbers of Subnets to -al-ulate the
bit in the subnet -ounting range is $ (se the formula
26n 5 0here n is the number of bits in the subnet
-ounting range
Number of subnet Bits $ Bits
Number of Subnets 2
$
%2#& subnets
7etermine the Number (sable Hosts 'er Subnet to
-ount on a host range that is bit $ (se the formula 26n
minus 2
Number of Host Bits 'er
Subnet$ bits
Number of (sable Hosts 'erSubnet
2$
)2%2#&)2%2#*host 'ersubnet
-
8/20/2019 Assingment 2.docx
20/23
Problem &Host IP Address 121&$!21Subnet Mask 2##2##2##2#2Number of Subnet Bits 1*Number of Subnets 2Number of Host Bits 'er
Subnet
2#&
Number of (sable Hosts Bits
'er Subnet
2#*
Subnet Address for this IP
Address
121&$!21&
IP Address of +irst Host on this
Subnet
121&$!1
IP Address of ,ast Host on this
Subnet
121&$!2
Broad-ast Address for this
Subnet
121&$!!
1 .on/ert Host IP Address and Net0ork Mask into
binar numbers
121&$!21
11"""""
"
1"1"1""
"
""""""1
1
11"11"1
12##2##2##
2#2
1111111
1
1111111
1
"""""""
"
111111"
"
2 etermine the Subnet Address
IP Address 11""""
""
1"1"1"
""
""""""
11
11"11"1
1
Subnet
Mask
111111
11
111111
1
111111
11
111111"
"
-
8/20/2019 Assingment 2.docx
21/23
Subnet
Address
11""""
""
1"1"1"
""
""""""
11
11"11""
"
! ,ook for the address bits that -ontain information
net0ork and host
M S
IP
Addres
s
121&$!21
11""""
""
1"1"1"
""
""""""
11
11"11"
11
Subnet
Mask
2##2##2##
2#2
111111
11
111111
11
111111
11
111111
""
* etermine the Subnet 3ange 4 Host 3ange
IP
Addres
s
121&$!21
11""""
""
1"1"1"
""
""""""
11
11"11"
11
Subnet
mask
2##2##2##
2#2
111111
11
111111
11
111111
11
111111
""
# etermine the +irst Host 5 and Host ,ast Broad-ast
a +irst determine ho0 to -hange the Host 0ith the "
on the Host range bit subnet add the last to be 1
IP 121&$!21 11"""" 1"1"1" """""" 11"11"
-
8/20/2019 Assingment 2.docx
22/23
Addres
s
"" "" 11 11
Subnet
Mask
2##2##2##
2#2
111111
11
111111
11
111111
11
111111
""
+irstHost
121&$!1 11""""""
1"1"1"""
""""""11
11"11"""
b ,ast determine Host b re'la-ing the " to 1
IPAddres
s
121&$!21 1"1"11"" """1"""1 "11"""11 "1"""111
Subnet
Mask
2##2##"" 111111
11
111111
11
111111
11
111111
"",ast
Host
172172##
2#*
1"1"11
""
"""1""
"1
111111
11
111111
1"
- S'e-ifing Broad-ast b re'la-ing all numbers from" to add a host range subnet number 1
IP
Address
121&$!
21
11""""
""
1"1"1"
""
""""""
11
11"11"
11Subnet
Mask
2##2##2#
#"
111111
11
111111
11
111111
11
111111
""Broad-a
st
121&$!
2##
11""""
""
1"1"1"
""
""""""
11
111111
11
-
8/20/2019 Assingment 2.docx
23/23
& etermine the Numbers of Subnets to -al-ulate the
bit in the subnet -ounting range is $ (se the formula
26n 5 0here n is the number of bits in the subnet
-ounting range
Number of subnet Bits $ BitsNumber of Subnets 2$%2#& subnets
7etermine the Number (sable Hosts 'er Subnet to
-ount on a host range that is bit $ (se the formula 26n
minus 2
Number of Host Bits 'er
Subnet$ bits
Number of (sable Hosts 'er
Subnet2$)2%2#&)2%2#*host 'er
subnet