hands-on microsoft windows server 2003 networking chapter four subnetting
Post on 20-Dec-2015
220 views
TRANSCRIPT
![Page 1: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/1.jpg)
Hands-On Microsoft Windows Server 2003
Networking
Chapter Four
Subnetting
![Page 2: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/2.jpg)
2
Objectives
• Understand why subnetting is necessary• Describe how computers work with binary
TCP/IP addresses• Subnet any network• Determine the number of useable hosts on a
subnet• Supernet several smaller networks
![Page 3: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/3.jpg)
3
Reasons to Subnet
• Subnetting– The process of separating a network into several
smaller networks to improve performance
• Subnetting is used because it can– Reduce collisions
– Limit broadcasts
– Control traffic
![Page 4: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/4.jpg)
4
Reducing Collisions
• Collision– When two computers on an Ethernet network
using CSMA/CD as an access method attempt to transmit at the same time
• Subnetting – Reduces number of hosts on each network– Reduces the amount of traffic on the network– With less traffic, collision is reduced
• Collisions that occur on one network do not affect another network
![Page 5: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/5.jpg)
5
Limiting Broadcasts
• Subnetting a network – Creates multiple networks with fewer hosts on
each network
– Fewer hosts results in fewer broadcast messages
• Routers – Packets addressed to IP address
255.255.255.255 are not forwarded
![Page 6: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/6.jpg)
6
Controlling Traffic
• Routers– Allows a greater degree of control over network
traffic
– Most have ability to implement rules about which packets they forward
![Page 7: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/7.jpg)
7
Binary and TCP/IP
• IP addresses– Internally, computer looks at an IP address as a
single group of 32 binary digits
• Decimal numbering– A base-ten numbering system
– Uses the values from 0 to 9 for each digit
![Page 8: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/8.jpg)
8
Counting in Decimal
![Page 9: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/9.jpg)
9
Decimal Column Values
![Page 10: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/10.jpg)
10
Binary Numbering
• Subnetting– Based on binary
• Binary– Base two numbering system
– Two potential values for each digit: 0 and 1
![Page 11: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/11.jpg)
11
Binary Counting
![Page 12: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/12.jpg)
12
Binary Column Values
![Page 13: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/13.jpg)
13
Conversion Between Binary and Decimal
• To convert a binary octet to a decimal value– Multiply the digit in each column by the value of
each column
– Then determine the sum of those products
![Page 14: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/14.jpg)
14
Binary to Decimal Conversion
![Page 15: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/15.jpg)
15
Windows Calculator in Scientific Mode
![Page 16: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/16.jpg)
16
Binary Subnet Mask• Computer calculates the host ID and network ID
of an IP address while working in binary• Part of the network ID
– Where there is a 1 in the subnet mask• Part of the host ID
– Where there is a 0 in the subnet mask• ANDing
– Binary process used by computers to find the network ID
– An IP address ANDed with a subnet mask gives the network ID
• 1s in a subnet mask must be contiguous
![Page 17: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/17.jpg)
17
Calculating Host ID and Network ID
![Page 18: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/18.jpg)
18
Invalid Subnet Masks
![Page 19: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/19.jpg)
19
Subnetting a Network• To subnet a network
– Take some bits from the host ID and give them to the network ID
• Class B addresses– Normally very large
– Generally need to be subnetted to handle routing between different physical locations
• Using an entire octet for subnetting gives 256 possible subnets
• Traditionally, subnets with all 1s and all 0s are discarded, leaving 254 usable subnets
![Page 20: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/20.jpg)
20
Simple Subnetting
![Page 21: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/21.jpg)
21
Complex Subnetting
![Page 22: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/22.jpg)
22
Subnet Hosts
• 2n-2, where n is the number of host bits – Formula used to calculate the number of subnets
that can be created from a certain number of bits
– Also used to calculate the number of usable hosts on a subnet
![Page 23: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/23.jpg)
23
Usable Hosts
![Page 24: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/24.jpg)
24
Usable Hosts Formula
![Page 25: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/25.jpg)
25
Supernetting
• The opposite of subnetting• Used to create one large network from several
smaller ones• Takes bits from network ID and gives them to
the host ID• All networks being combined for supernetting
must be contiguous• IP addresses from first network to last must be
one single range with no breaks
![Page 26: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/26.jpg)
26
Supernetting Two Class C Networks
![Page 27: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/27.jpg)
27
Supernetting Four Class C Networks
![Page 28: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/28.jpg)
28
Reasons for Supernetting
• Supernetting– Used when a range of IP addresses larger than a
Class C network is required, but a full Class B network is not required
– May also be used to reduce routing complexity
![Page 29: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/29.jpg)
29
Summary
• Subnetting– Used to divide a single large network into multiple
smaller networks– Reduces packet collisions– Limits broadcasts– Controls network traffic
• Binary – Base-two numbering system– Only 0 and 1 are valid values
• Computers– Work with IP addresses as 32-digit binary
numbers
![Page 30: Hands-On Microsoft Windows Server 2003 Networking Chapter Four Subnetting](https://reader035.vdocuments.us/reader035/viewer/2022062407/56649d4b5503460f94a28dbd/html5/thumbnails/30.jpg)
30
Summary (Continued)• Subnet Mask
– 1 corresponds with bit that is part of network ID– 0 corresponds with bit that is part of host ID
• Subnetting – Takes bits from host ID and uses them as part of
network ID• Number of useable hosts on a network
– Calculated with the formula 2n-2– n is the number of host bits
• Supernetting– Combines multiple smaller networks into a single
larger network– Networks being combined must be contiguous