Semester 2 - IP Addressing and Subnet Review
-
Upload
ashish-patel -
Category
Documents
-
view
220 -
download
2
Transcript of Semester 2 - IP Addressing and Subnet Review
-
7/30/2019 Semester 2 - IP Addressing and Subnet Review
1/15
OUR SUBNET PLANNING
MISSION:We have been assigned an address of
201.222.5.0. Assume 20 subnets are
needed, with 5 hosts per subnet. Ourmission is to identify each subnet address
and the addresses of all hosts under each
subnet.
-
7/30/2019 Semester 2 - IP Addressing and Subnet Review
2/15
Step 1. Convert the decimal dottednotation address 201.222.5.0 to binary:
11001001.11011110.00000101.00000000
-
7/30/2019 Semester 2 - IP Addressing and Subnet Review
3/15
Step 2. Determine the Class of the IP
Address 201.222.5.0:
CLASS C
-
7/30/2019 Semester 2 - IP Addressing and Subnet Review
4/15
Step 3. Based on the Class, determine what
part of the IP address is the network portionand what part of the address is the host
portion:
11001001.11011110.00000101.00000000
Network .Network .Network .Host
-
7/30/2019 Semester 2 - IP Addressing and Subnet Review
5/15
Step 4. Determine how many bits you
need to borrow from the last octet (host
portion) of the IP Address to give you the
needed 20 subnets:
2 to the power of 2 = 4 subnets (less 2)
2 to the power of 3 = 8 subnets (less 2)
2 to the power of 4 = 16 subnets (less 2)
2 to the power of 5 = 32 subnets (less 2)2 to the power of 6 - 64 subnets (less 2)
-
7/30/2019 Semester 2 - IP Addressing and Subnet Review
6/15
Step 5. Since you borrowed five bits from
the host for subnets, determine how manyhosts can you have on each of those
subnets?
2 to the power of 3 = 8 hosts (less 2) giving
you 6 hosts per subnet.
-
7/30/2019 Semester 2 - IP Addressing and Subnet Review
7/15
Step 6. Determine the Binary Subnetworks
Field Numbers (32 possible combinations):
Subnet # Binary Subnetwork
1 00000
2 00001
3 00010
4 00011
5 00100
6 00101
7 00110
8 00111
9 01000
10 0100111 01010
12 01011
13 01100
.. ..
32 11111
-
7/30/2019 Semester 2 - IP Addressing and Subnet Review
8/15
Step 7. Determine the Range of Binary Host
Field Numbers for Each Subnetwork:
Subnet # Binary Subnetwork Range of Host #s
1 00000
2 00001 000 - 111
3 00010 000 - 111
4 00011 000 - 111
5 00100 000 - 111
6 00101 000 - 111
7 00110 000 - 111
8 00111 000 - 111
9 01000 000 - 111
10 01001 000 - 11111 01010 000 - 111
12 01011 000 - 111
13 01100 000 - 111
.. .. -----------
32 11111
-
7/30/2019 Semester 2 - IP Addressing and Subnet Review
9/15
Step 8. Determine Decimal Host Numbers
for Each Subnetwork:
Subnet # Binary Subnetwork Range of Host #s Decimal Host Numbers
1 00000
2 00001 000 - 111 .8 - .15
3 00010 000 - 111 .16 - .23
4 00011 000 - 111 .24 - .31
5 00100 000 - 111 .32 - .39
6 00101 000 - 111 .40 - .47
7 00110 000 - 111 .48 - .55
8 00111 000 - 111 .56 - .63
9 01000 000 - 111 .64 - .71
10 01001 000 - 111 .72 - .7911 01010 000 - 111 .80 - .87
12 01011 000 - 111 .88 - .95
13 01100 000 - 111 .96 - 103
.. .. ----------- ----------
32 11111
-
7/30/2019 Semester 2 - IP Addressing and Subnet Review
10/15
Step 9. Determine Our Subnet Addresses:
# Binary Subnetwork Range of Host #s Decimal Host #s Subnet Address
1 00000
2 00001 000 - 111 .8 - .15 201.222.5.8
3 00010 000 - 111 .16 - .23 201.222.5.16
4 00011 000 - 111 .24 - .31 201.222.5.24
5 00100 000 - 111 .32 - .39 201.222.5.32
6 00101 000 - 111 .40 - .47 201.222.5.40
7 00110 000 - 111 .48 - .55 201.222.5.48
8 00111 000 - 111 .56 - .63 201.222.5.56
9 01000 000 - 111 .64 - .71 201.222.5.64
10 01001 000 - 111 .72 - .79 201.222.5.7211 01010 000 - 111 .80 - .87 201.222.5.80
12 01011 000 - 111 .88 - .95 201.222.5.88
13 01100 000 - 111 .96 - 103 201.222.5.96
.. .. ----------- ---------- ---------------
32 11111
-
7/30/2019 Semester 2 - IP Addressing and Subnet Review
11/15
Step 10. Determine Host Addresses of the
Six Nodes of Each Subnet:
# Subnetwork Range of Host #s Decimal Host #s Subnet Address Host Address Range
1 00000
2 00001 000 - 111 .8 - .15 201.222.5.8 201.222.5.9 thru 201.222.5.14
3 00010 000 - 111 .16 - .23 201.222.5.16 201.222.5.17 thru 201.222.5.22
4 00011 000 - 111 .24 - .31 201.222.5.24 201.222.5.25 thru 201.222.5.30
5 00100 000 - 111 .32 - .39 201.222.5.32 201,222,5,33 thru 201.222.5.38
6 00101 000 - 111 .40 - .47 201.222.5.40 201.222.5.41 thru 201.222.5.46
7 00110 000 - 111 .48 - .55 201.222.5.48 201.222.5.49 thru 201.222.5.54
8 00111 000 - 111 .56 - .63 201.222.5.56 201.222.5.57 thru 201.222.5.62
9 01000 000 - 111 .64 - .71 201.222.5.64 201.222.5.65 thru 201.222.5.70
10 01001 000 - 111 .72 - .79 201.222.5.72 201.222.5.73 thru 201.222.5.7811 01010 000 - 111 .80 - .87 201.222.5.80 201.222.5.81 thru 201.222.5.86
12 01011 000 - 111 .88 - .95 201.222.5.88 201.222.5.89 thru 201.222.5.94
13 01100 000 - 111 .96 - 103 201.222.5.96 201.222.5.97 thru 201.222.5.--
.. .. ----------- ---------- --------------- -------------------------------------
32 11111
-
7/30/2019 Semester 2 - IP Addressing and Subnet Review
12/15
Step 11. Determine Broadcast Addresses of
Each Subnet:
Range of Decimal Subnet Host Broadcast
# Subnetwork Host #s Host #s Address Address Range Address
1 00000
2 00001 000 - 111 .8 - .15 201.222.5.8 201.222.5.9 thru 201.222.5.14 201.222.5.15
3 00010 000 - 111 .16 - .23 201.222.5.16 201.222.5.17 thru 201.222.5.22 201.222.5.23
4 00011 000 - 111 .24 - .31 201.222.5.24 201.222.5.25 thru 201.222.5.30 201.222.5.31
5 00100 000 - 111 .32 - .39 201.222.5.32 201,222,5,33 thru 201.222.5.38 201.222.5,39
6 00101 000 - 111 .40 - .47 201.222.5.40 201.222.5.41 thru 201.222.5.46 201.222.5.47
7 00110 000 - 111 .48 - .55 201.222.5.48 201.222.5.49 thru 201.222.5.54 201.222.5.55
8 00111 000 - 111 .56 - .63 201.222.5.56 201.222.5.57 thru 201.222.5.62 201.222.5.63
9 01000 000 - 111 .64 - .71 201.222.5.64 201.222.5.65 thru 201.222.5.70 201.222.5.7110 01001 000 - 111 .72 - .79 201.222.5.72 201.222.5.73 thru 201.222.5.78 201.222.5.79
11 01010 000 - 111 .80 - .87 201.222.5.80 201.222.5.81 thru 201.222.5.86 201.222.5.87
12 01011 000 - 111 .88 - .95 201.222.5.88 201.222.5.89 thru 201.222.5.94 201.222.5.95
13 01100 000 - 111 .96 - 103 201.222.5.96 201.222.5.97 thru 201.222.5.-- ----------------
.. .. ----------- ---------- --------------- ------------------------------------- ----------------
32 11111
-
7/30/2019 Semester 2 - IP Addressing and Subnet Review
13/15
Step 12. Based on the Class, determine
the subnet mask for network 201.222.5.0(remember that 5 bits were borrowed):
11111111.11111111.11111111.11111 000
Network Network Network Subnet Host
-
7/30/2019 Semester 2 - IP Addressing and Subnet Review
14/15
A data frame with a destination IP Addressof
201.222.5.21 would be used by the router, along
with thesubmask of 255.255.255.248, todetermine the correct subnet to switch the data
to in the switching process:
ANDING Process Performed by Router
IP Address: 11001001.11011110.00000101.00010101
Subnet Mask: 11111111.11111111.11111111.11111000
Subnet: 11001001.11011110.00000101.00010000
(Subnet in Decimal Dotted Notation: 201.222.5.16)
-
7/30/2019 Semester 2 - IP Addressing and Subnet Review
15/15
YOU DID IT!
201.222.5.12
201.222.5.13
201.222.5.14
201.222.5.10
NETWORK 201.222.5.0
201.222.5.11
201.222.5.19
201.222.5.20
201.222.5.21
201.222.5.22
201.222.5.18
RouterSubnetwork
201.222.5.8
Subnetwork
201.222.5.16E0
201.222.5.9
E1
201.222.5.17
Routing Table
201.222.5.8 E0
201.222.5.16 E1
201.222.5.24 E2
201.222.5.32 E3