61
© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-1 SWICHING & ROUTING

SWICHING & ROUTING

  • Upload
    yan

  • View
    56

  • Download
    0

Embed Size (px)

DESCRIPTION

SWICHING & ROUTING. Course Content. C ontent. Understanding the Host-to-Host Communications Model. Exploring the Packet Delivery Process. Understanding the TCP/IP Internet Layer. Understanding WAN Technologies. Understanding the Host-to-Host Communications Model. Building a Simple Network. - PowerPoint PPT Presentation

Citation preview

Page 1: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-1

SWICHING & ROUTING

Page 2: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-2

Course Content

Chapter Contents Theory LAB

0 Overview

1 Cisco IOS and SDM (Security Device Manager) 3 0

2 Virtual LAN 6 0

3 Layer 2 Switching and Spanning Tree Protocol 6 0

4 Distance Vector Routing Protocol 6 0

5 Enhanced IGRP and Open Shortest Path First (OSPF) 6 0

6 IP Adress & IP Security 3 0

7 Lab 0 30 TOTAL 30 30

Page 3: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-3

Content

Understanding the Host-to-Host Communications Model

Exploring the Packet Delivery Process

Understanding the TCP/IP Internet Layer

Understanding WAN Technologies

Page 4: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-4

Building a Simple Network

Understanding the Host-to-Host Communications Model

Page 5: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-5

Understanding Host-to-Host Communications

Older model– Proprietary (sở hữu riêng)– Application and combinations software controlled by one

vendor Standards-based model

– Multivendor software– Layered approach

Page 6: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-6

Why a Layered Network Model?

Reduces complexity Standardizes interfaces Facilitates modular engineering Ensures interoperable

technology Accelerates evolution Simplifies teaching and learning

Page 7: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-7

The Seven Layers of the OSI Model

Page 8: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-8

The Seven Layers of the OSI Model (Cont.)

Page 9: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-9

The Seven Layers of the OSI Model (Cont.)

Page 10: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-10

The Seven Layers of the OSI Model (Cont.)

Page 11: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-11

The Seven Layers of the OSI Model (Cont.)

Page 12: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-12

The Seven Layers of the OSI Model (Cont.)

Page 13: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-13

The Seven Layers of the OSI Model (Cont.)

Page 14: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-14

Data Encapsulation

Page 15: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-15

Data De-Encapsulation

Page 16: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-16

Peer-to-Peer Communication

Page 17: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-17

Defines four layers Uses different names for Layers 1

through 3 Combines Layers 5 through 7 into

single application layer

TCP/IP Stack

Page 18: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-18

TCP/IP Stack vs. the OSI Model

Page 19: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-19

Building a Simple Network

Exploring the Packet Delivery Process

Page 20: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-20

Layer 1 Devices

Layer 1 provides the physical media and its encoding. Examples:

– Ethernet– Serial– Repeater– Physical interface of the NIC

Page 21: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-21

Layer 2 Devices

Layer 2 devices provide an interface with the physical media. Examples:

– NIC– Bridge– Switch

Page 22: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-22

Layer 2 Addressing

MAC address Assigned to end devices

Page 23: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-23

Layer 3 Devices and Their Function

The network layer provides connectivity and path selection between two host systems.

In the host, this is the path between the data link layer and the upper layers of the NOS.

In the router, it is the actual path across the network.

Page 24: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-24

Layer 3 Addressing

Each NOS has its own Layer 3 address format. OSI uses an NSAP. TCP/IP uses IP.

Page 25: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-25

Building a Simple Network

Understanding the TCP/IP Internet Layer

Page 26: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-26

Internet Protocol Characteristics

Operates at network layer of OSI Connectionless protocol Packets treated independently Hierarchical addressing Best-effort delivery No data-recovery features

Page 27: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-27

Why IP Addresses?

They uniquely identify each device on an IP network. Every host (computer, networking device, peripheral) must have

a unique address. Host ID:

– Identifies the individual host– Is assigned by organizations to individual devices

Network.Host

Page 28: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-28

IP PDU Header

Page 29: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-29

IP Address Format: Dotted Decimal Notation

The binary-to-decimal and decimal-to-binary conversion will be detailed later

in this course.

Page 30: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-30

IP Address Classes: The First Octet

Page 31: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-31

IP Address Ranges

*127 (01111111) is a Class A address reserved for loopback testing and cannot be assigned to a network.

Page 32: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-32

Reserved Address

Page 33: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-33

Public IP Addresses

Page 34: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-34

Private IP Addresses

Class Private Address Range

A 10.0.0.0 to 10.255.255.255

B 172.16.0.0 to 172.31.255.255

C 192.168.0.0 to 192.168.255

Page 35: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-35

DHCP

Page 36: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-36

Application specified in the TCP/IP suite A way to translate human-readable names into IP addresses

DNS

Page 37: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-37

UDP Header

Page 38: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-38

TCP Characteristics

Transport layer of the TCP/IP stack Access to the network layer for applications Connection-oriented protocol Full-duplex mode operation Error checking Sequencing of data packets Acknowledgement of receipt Data-recovery features

Page 39: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-39

TCP Header

Page 40: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-40

File transfer– FTP – TFTP – Network File System

E-mail– Simple Mail Transfer Protocol

Remote login– Telnet – rlogin

Network management– Simple Network Management

Protocol Name management

– Domain Name System

TCP/IP Application Layer Overview

Page 41: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-41

Mapping Layer 3 to Layer 4

Page 42: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-42

Mapping Layer 4 to Applications

Page 43: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-43

Establishing a Connection

Page 44: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-44

Three-Way Handshake

CTL = Which control bits in the TCP header are set to 1

Page 45: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-45

Flow Control

Page 46: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-46

TCP Acknowledgment

Page 47: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-47

Fixed Windowing

Page 48: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-48

TCP Sliding Windowing

Page 49: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-49

TCP Sequence and Acknowledgment Numbers

Page 50: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-50

WAN Connections

Understanding WAN Technologies

Page 51: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-51

Wide-Area Network

Page 52: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-52

Need for WANs

Page 53: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-53

WANs vs. LANs

Page 54: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-54

WAN Access and the OSI Reference Model

Page 55: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-55

WAN Devices

Routers Terminal servers Modems DSU/CSU WAN networking devices

– ATM switches– Frame Relay switches– PSTN

Page 56: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-56

Physical Layer: WANs

Page 57: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-57

Serial Point-to-Point Connections

Page 58: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-58

WAN—Multiple LANs

Page 59: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-59

WAN Data-Link Protocols

HDLC PPP Frame Relay (LAPF) ATM

Page 60: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-60

WAN Link Options

Page 61: SWICHING & ROUTING

© 2007 Cisco Systems, Inc. All rights reserved. ICND1 v1.0—1-61