Page 1
Rcs-Sud-Est
ObjectivesObjectives
On completion of this chapter, you will be able to perform the following tasks:• Describe how data traffic is exchanged
between source and destination devices
• Identify the roles and functions of a hub, switch, and router, and where they best fit in the network
• Select the appropriate Cisco equipment for a given set of network requirements
Page 2
Rcs-Sud-Est
Defining Components of the Network
Defining Components of the Network
Main OfficeBranch Office
Home Office
Mobile Users
Internet
Page 3
Rcs-Sud-Est
Floor 2
Floor 1
Server Farm
Defining the Components of a Network (cont.)
Defining the Components of a Network (cont.)
Branch Office
Telecommuter
ISDN
Remote Campus
Page 4
Rcs-Sud-Est
Network Structure Defined by Hierarchy
Network Structure Defined by Hierarchy
Distribution Layer
Core Layer
AccessLayer
Page 5
Rcs-Sud-Est
Access Layer CharacteristicsAccess Layer Characteristics
End station entry point to the network
Access Layer
Page 6
Rcs-Sud-Est
Distribution Layer Characteristics
Distribution Layer Characteristics
• Access Layer Aggregation Point
• Routes traffic
• Broadcast/Multicast Domains
• Media Translation
• Security
• Possible point for remote access
Distribution Layer
Page 7
Rcs-Sud-Est
Core Layer Characteristics Core Layer Characteristics
• Fast transport to enterprise services
• No packet manipulation
Core Layer
Page 8
Rcs-Sud-Est
OSI Model OverviewOSI Model Overview
Application (Upper) Layers
Session
Presentation
Application
Page 9
Rcs-Sud-Est
OSI Model OverviewOSI Model Overview
Data Flow Layers
Transport Layer
Data Link
Network Layer
Physical
Application (Upper) Layers
Session
Presentation
Application
Page 10
Rcs-Sud-Est
Role of Application LayersRole of Application Layers
TelnetHTTP
User Interface
EXAMPLES
Application
Page 11
Rcs-Sud-Est
TelnetHTTP
ASCIIEBCDICJPEG
User Interface
• How data is presented• Special processing such as encryption
EXAMPLES
Presentation
Application
Role of Application LayersRole of Application Layers
Page 12
Rcs-Sud-Est
TelnetHTTP
ASCIIEBCDICJPEG
Keeping different applications’ data separate
User Interface
• How data is presented• Special processing such as encryption
Operating System/Application Access Scheduling
EXAMPLES
Session
Presentation
Application
Role of Application LayersRole of Application Layers
Page 13
Rcs-Sud-Est
Keeping different applications’ data separate
User Interface
• How data is presented• Special processing such as encryption
TelnetHTTP
ASCIIEBCDICJPEG
Operating System/Application Access Scheduling
Transport Layer
Data Link
Network Layer
Physical
EXAMPLES
Session
Presentation
Application
Role of Application LayersRole of Application Layers
Page 14
Rcs-Sud-Est
Role of Data Flow LayersRole of Data Flow Layers
EIA/TIA-232V.35
EXAMPLES
Physical • Move bits between devices• Specifies voltage, wire speed and
pin-out cables
Page 15
Rcs-Sud-Est
802.3 / 802.2HDLC
EIA/TIA-232V.35
EXAMPLES
Role of Data Flow LayersRole of Data Flow Layers
Data Link
Physical
• Combines bits into bytes and bytes into frames
• Access to media using MAC address• Error detection not correction
• Move bits between devices• Specifies voltage, wire speed and
pin-out cables
Page 16
Rcs-Sud-Est
802.3 / 802.2HDLC
EIA/TIA-232V.35
IPIPX
EXAMPLES
Role of Data Flow LayersRole of Data Flow Layers
Network
Data Link
Physical
• Combines bits into bytes and bytes into frames
• Access to media using MAC address• Error detection not correction
• Move bits between devices• Specifies voltage, wire speed and
pin-out cables
Provide logical addressing which routers use for path determination
Page 17
Rcs-Sud-Est
TCPUDPSPX
802.3 / 802.2HDLC
EIA/TIA-232V.35
IPIPX
EXAMPLES
Role of Data Flow LayersRole of Data Flow Layers
Transport
Data Link
Physical
• Reliable or unreliable delivery• Error correction before retransmit
• Combines bits into bytes and bytes into frames
• Access to media using MAC address• Error detection not correction
• Move bits between devices• Specifies voltage, wire speed and
pin-out cables
Network Provide logical addressing which routers use for path determination
Page 18
Rcs-Sud-Est
TCPUDPSPX
802.3 / 802.2HDLC
EIA/TIA-232V.35
IPIPX
Presentation
Application
SessionEXAMPLES
Role of Data Flow LayersRole of Data Flow Layers
• Reliable or unreliable delivery• Error correction before retransmit
• Combines bits into bytes and bytes into frames
• Access to media using MAC address• Error detection not correction
• Move bits between devices• Specifies voltage, wire speed and
pin-out cables
Transport
Data Link
Physical
Network Provide logical addressing which routers use for path determination
Page 19
Rcs-Sud-Est
Encapsulating DataEncapsulating Data
Transport
Data Link
Physical
Network
Upper Layer Data
Upper Layer DataTCP Header
DataIP Header
DataLLC Header
0101110101001000010
DataMAC Header
Presentation
Application
Session
Segment
Packet
Bits
Frame
PDU
FCS
FCS
Page 20
Rcs-Sud-Est
Upper Layer Data
De-encapsulating DataDe-encapsulating Data
LLC Hdr + IP + TCP + Upper Layer Data
MAC Header
IP + TCP + Upper Layer Data
LLC Header
TCP+ Upper Layer Data
IP Header
Upper Layer Data
TCP Header
0101110101001000010
Transport
Data Link
Physical
Network
Presentation
Application
Session
Page 21
Rcs-Sud-Est
Physical Layer FunctionsPhysical Layer Functions
Defines
• Media type
• Connector type
• Signaling type
Eth
ern
et
802.
3
V.3
5
Ph
ysic
al
EIA
/TIA
-232
Page 22
Rcs-Sud-Est
Physical Layer: Ethernet/802.3Physical Layer: Ethernet/802.3
Hub
Hosts
Host
10Base2—Thick Ethernet10Base5—Thick Ethernet
10BaseT—Twisted Pair
Page 23
Rcs-Sud-Est
Hubs Operate at Physical layerHubs Operate at Physical layer
A B C D
Physical
• All devices in the same collision domain
• All devices in the same broadcast domain
• Devices share the same bandwidth
Page 24
Rcs-Sud-Est
Hubs: One Collision DomainHubs: One Collision Domain
• More end stations means more collisions
• CSMA/CD is used
Page 25
Rcs-Sud-Est
Data Link layer FunctionsData Link layer Functions
Defines• Physical source and
destination addresses
• Higher layer protocol (Service Access Point)associated with frame
• Network topology
• Frame sequencing
• Flow control
• Connection-oriented or connectionless
Dat
a L
ink
Ph
ysic
alEIA/TIA-232
v.35
Eth
ern
et
Fra
me
Rel
ay
HD
LC
802.2
802.3
Page 26
Rcs-Sud-Est
DataSource add FCSLengthDest add
Variable266 4
0000.0C xx.xxxx
Vendor assigned
IEEE assigned
MAC Layer - 802.3
Data Link Layer Functions (cont.)Data Link Layer Functions (cont.)
Preamble
Ethernet II uses “Type” here and does not use 802.2.
MAC Address
8# Bytes
Page 27
Rcs-Sud-Est
DataDest SAP
Source SAP
DataSource add FCSLengthDest add
Variable11
802.2 (SAP)
MAC Layer - 802.3
Data Link Layer Functions (cont.)Data Link Layer Functions (cont.)
Ctrl
1 or 2
3 2
Preamble
DataDest SAP
AASource SAP
AA
Variable11
802.2 (SNAP)
Ctrl
03
1 or 2
OR
OUI ID
Type
Page 28
Rcs-Sud-Est
• Each segment has its own collision domain
• All segments are in the same broadcast domain
Data Link
Switches and Bridges Operate at Data Link Layer
Switches and Bridges Operate at Data Link Layer
OR1 2 3 1 24
Page 29
Rcs-Sud-Est
SwitchesSwitches
• Each segment has its own collision domain
• Broadcasts are forwarded to all segments
Memory
Switch
Page 30
Rcs-Sud-Est
Network Layer FunctionsNetwork Layer Functions
• Defines logical source and destination addresses associated with a specific protocol
• Defines paths through network
• Interconnects multiple data links
Net
wo
rk
IP, IPX
Dat
a L
ink
Ph
ysic
al
EIA/TIA-232v.35
Eth
ern
et
Fra
me
Rel
ay
HD
LC
802.2
802.3
Page 31
Rcs-Sud-Est
DataSourceaddress
Destination address
IP
Network Layer Functions (cont.)Network Layer Functions (cont.)
Header
172.15.1.1
NodeNetwork
• Logical Address
Network Layer End Station Packet
Page 32
Rcs-Sud-Est
Network Layer Functions (cont.)Network Layer Functions (cont.)
11111111 11111111 00000000 00000000
10101100 00010000 01111010 11001100
BinaryMask
BinaryAddress
172.16.122.204 255.255.0.0
172 16 122 204
255
Address Mask
255 0 0
Network Host
Page 33
Rcs-Sud-Est
Routing TableNET INT Metric
124
S0S0E0
100
1.0 4.0
1.3E0
4.3
S0
2.2
E0
2.1
S0
4.1
4.2
1.1
1.2
Routing TableNET INT Metric
124
E0S0S0
001
• Logical addressing allows for hierarchical network• Configuration required• Uses configured information to identify paths to networks
Network Layer Functions (cont.)Network Layer Functions (cont.)
Page 34
Rcs-Sud-Est
Routers: Operate at the Network Layer
Routers: Operate at the Network Layer
• Broadcast control
• Multicast control
• Optimal path determination
• Traffic management
• Logical addressing
• Connects to WAN services
Page 35
Rcs-Sud-Est
Using Routers to Provide Remote Access
Using Routers to Provide Remote Access
Internet
Telecommuter
Branch Office
Modem or ISDN TA
Mobile User
Main Office
Page 36
Rcs-Sud-Est
Transport Layer FunctionsTransport Layer Functions
• Distinguishes between upper layer applications
• Establishes end-to-end connectivity between applications
• Defines flow control
• Provides reliable or unreliable services for data transfer
Net
wo
rkIPXIP
Tra
nsp
ort
SPXTCP UDP
Page 37
Rcs-Sud-Est
Reliable Transport Layer Functions
Reliable Transport Layer Functions
Synchronize
Acknowledge, Synchronize
Acknowledge
Data Transfer
(Send Segments)
Sender Receiver
Connection EstablishedConnection EstablishedConnection EstablishedConnection Established
Page 38
Rcs-Sud-Est
Network Device DomainsNetwork Device Domains
Hub Bridge Switch Router
Collision Domains:
1 4 4 4 Broadcast Domains:
1 1 1 4
Page 39
Rcs-Sud-Est
Choosing a Cisco Product Choosing a Cisco Product
Distribution Layer
Core Layer
AccessLayer
Page 40
Rcs-Sud-Est
Selection Issues:
• Need for 10 Mbps or 100 Mbps on media
• Port density
• Need for management console
• Easy Operations
Cisco 1500Micro Hub
CiscoFastHub300
Cisco 1528Micro Hub 10/100
CiscoFastHub400
CiscoFastHub200
CiscoFastHub100
Cisco Hub ProductsCisco Hub Products
Page 41
Rcs-Sud-Est
Selection Issues:
• Need for 10 Mbps, 100 Mbps, or 1000 Mbps on media
• Need for trunking and inter-switch links
• Workgroup segmentation (VLANs)
• Port density needs
• Different user interfaces
Desktop/Workgroup Solutions
Wiring Closet/Backbone
Solutions
Cisco 1548 Micro Switch 10/100
Catalyst 3000 series
Catalyst 2900series XL
Catalyst 1900/2820 series
Catalyst 2900 series
Catalyst 5000 series
Catalyst 8500 series
Catalyst Switch ProductsCatalyst Switch Products
Page 42
Rcs-Sud-Est
Selection Issues:
• Scale of the routing features needed
• Port density/variety requirements
• Capacity and performance
• Common user interface
Cisco700/800Series
Cisco1600/1700
Series
Cisco2500 Series
Cisco3600 Series
AS 5000 Series
Small Office Solutions
Branch Office Solutions
Central Site Solutions
Cisco12000 GSR
Series
Cisco4000 Series
Cisco7000
Series
Home Office Solutions
Cisco2600 Series
Cisco Router ProductsCisco Router Products
Page 43
Rcs-Sud-Est
SummarySummary
After completing this chapter, you should be able to perform the following tasks:• Describe how data moves through a network
• Identify the roles and functions of routers, switches and hubs, and specify where each device best fits in the network
• Select the appropriate Cisco equipment for a network that combines switching, routing and remote access requirements