1. Trang chủ
  2. » Cao đẳng - Đại học

NETWORK MODEL (MẠNG máy TÍNH cơ bản SLIDE)

86 63 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 86
Dung lượng 2,2 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

HCM 2014 9/85Protocol  Protocol is a set of rules, or an agreement, that determines the format and transmission of data that make communication on a network more efficient...  A com

Trang 1

OSI AND TCP/IP MODEL

MODULE 2 - NETWORK MODEL

Trang 2

MODEL OF COMMUNICATION

Trang 3

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 3/85

Analyzing network in layers

What is flowing ?

Data

What is flowing ?

Data

What different forms flow ?

Text, Graphic, Video

What different forms flow ?

Text, Graphic, Video

What rules govern flow ?

Trang 4

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 4/85

Trang 5

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 5/85

Communication process

Source

Medium Packets

Protocols

Trang 6

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 6/85

Trang 7

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 7/85

Trang 8

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 8/85

Trang 9

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 9/85

Protocol

Protocol is a set of rules, or an

agreement, that determines the format

and transmission of data that make

communication on a network more

efficient

Trang 10

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 10/85

Protocol examples

 In transportation

 In communication

 In social

Trang 11

OSI MODEL

Trang 12

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 12/85

Trang 13

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 13/85

OSI model development

 Researched and developed by the ISO -

International Organization for

Standardizations.

1977: establish a subcommittee to

develop a communications architecture

1984: publish ISO-7498, the Open

System Interconnection (OSI) reference model

Trang 14

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 14/85

OSI model

which networking standards can be

developed

It provided vendors with a set of standards that ensured greater compatibility and

interoperability between the various types

of network technologies that were produced

by the many companies around the world

Proprietary vs Open

Trang 15

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 15/85

A layered model

 The communications functions are

partitioned into a hierarchical set of

layers

 Each layer performs a related subset of the functions required to communicate

 Each layer relies on the next lower layer

to perform more primitive functions and provides services to the next higher

layer

The OSI Model define a set of layers and

the services performed by each layer

Trang 16

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 16/85

Why a layered model?

 Reduces complexity

 Standardizes interfaces

 Facilitates modular engineering

 Ensures interoperable technology

 Accelerates evolution

 Simplifies teaching and learning

Trang 17

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 17/85

7 layers of the OSI reference

Trang 18

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 18/85

The Seven Layers of the OSI

Model

Trang 19

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 19/85

The Seven Layers of the OSI Model

(Cont.)

Trang 20

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 20/85

The Seven Layers of the OSI Model

(Cont.)

Trang 21

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 21/85

The Seven Layers of the OSI Model

(Cont.)

Trang 22

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 22/85

The Seven Layers of the OSI Model

(Cont.)

Trang 23

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 23/85

The Seven Layers of the OSI Model

(Cont.)

Trang 24

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 24/85

The Seven Layers of the OSI Model

(Cont.)

Trang 25

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 25/85

Encapsulation example: Air-mail

Trang 26

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 26/85

Encapsulation example: E-mail

Trang 27

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 27/85

Encapsulation

Trang 28

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 28/85

Layer-to-layer communications

Request services Provide services

Trang 29

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 29/85

Peer-to-peer communications

Trang 30

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 30/85

Protocols

 Is a formal set of rules and conventions

that governs how computers exchange information over a network medium

 Implements the functions of one or more

of the OSI layers

 A communication protocol is concerned with exchanging data between two peer layers

 Protocol Data Units (PDUs) : Block of

data that a protocol exchange

Trang 31

TCP/IP MODEL

Trang 32

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 32/85

TCP/IP model development

 The late-60s The Defense Advance

Research Projects Agency (DARPA)

originally developed Transmission

Control Protocol/Internet Protocol

(TCP/IP) to interconnect various defense department computer networks

 The Internet, an International Wide Area Network, uses TCP/IP to connect

networks across the world

Trang 33

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 33/85

4 layers of the TCP/IP model

 Layer 4: Application

 Layer 3: Transport

 Layer 2: Internet

 Layer 1: Network access

It is important to note that some of the layers in the TCP/IP model have the same

name as layers in the OSI model

Do not confuse the layers of the two models

Trang 34

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 34/85

TCP/IP Stack vs the OSI Model

Trang 35

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 35/85

The network access layer

 Concerned with all of the issues that an

IP packet requires to actually make the physical link All the details in the OSI physical and data link layers

 Electrical, mechanical, procedural and

functional specifications.

 Data rate, Distances, Physical connector.

 Frames, physical addressing.

 Synchronization, flow control, error control.

Trang 36

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 36/85

The internet layer

 Send source packets from any network

on the internetwork and have them

arrive at the destination independent of the path and networks they took to get there

 Packets, Logical addressing.

 Internet Protocol (IP).

 Route , routing table, routing protocol.

Trang 37

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 37/85

The transport layer

 The transport layer deals with the

quality-of-service issues of reliability,

flow control, and error correction

 Segments, data stream, datagram.

 Connection oriented and connectionless.

 Transmission control protocol (TCP).

 User datagram protocol (UDP).

 End-to-end flow control.

 Error detection and recovery.

Trang 38

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 38/85

The application layer

 Handles high-level protocols, issues of

representation, encoding, and dialog control. 

 The TCP/IP combines all application-related

issues into one layer, and assures this data is properly packaged for the next layer

 FTP, HTTP, SMNP, DNS

 Format of data, data structure, encode …

 Dialog control, session management …

Trang 39

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 39/85

TCP/IP protocol stack

Trang 40

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 40/85

Comparing TCP/IP with OSI

Trang 41

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 41/85

Comparing TCP/IP with OSI (cont.) Similarities:

 Both have layers

 Both have application layers, though they include very different services

 Both have comparable transport and network layers

 Packet-switched technology is

assumed

 Networking professionals need to

know both

Trang 42

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 42/85

Comparing TCP/IP with OSI (cont.) Differences:

 TCP/IP combines the presentation and session layer issues into its

application layer

 TCP/IP combines the OSI data link

and physical layers into one layer

 TCP/IP appears simpler because it has fewer layers

 Typically networks aren't built on the OSI protocol, even though the OSI

model is used as a guide

Trang 43

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 43/85

Focus of the Curriculum

Trang 44

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 44/85

Summary of ISO & TCP/IP Model

Trang 45

LOCAL AREA NETWORK

Trang 46

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 46/85

Are you able to describe this

diagram?

Trang 47

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 47/85

Physical & Logical Topologies

Trang 48

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 48/85

Mesh

Trang 49

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 49/85

Physical Topology: Bus

Trang 50

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 50/85

Physical Topology: Ring

 No backbone

 A host is directly connected to each of its neighbors

Trang 51

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 51/85

Physical Topology: Star

 All devices connected to a central point

 Center of star is usually a hub or a switch

Trang 52

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 52/85

Physical Topology: Extended Star

 Connects individual star topologies

Trang 53

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 53/85

Physical Topology: Hierarchical

 Like the extended star except a

computer controls traffic (not a hub or a switch)

Trang 54

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 54/85

Physical Topology: Mesh

 Each host has its own connection to every other host

 Used in situations where communication

must not be interrupted.

Trang 55

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 55/85

Logical Topologies

Broadcast

Token Passing

Trang 56

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 56/85

Logical Topology: Broadcast

 Each host on the LAN sends its data (or broadcasts its data) to every other

host

 First-come, first-serve

Trang 57

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 57/85

Logical Topology: Token Passing

 Access to media is controlled by an

electronic token

 Possession of the token gives the host the right to pass data to its destination

Trang 58

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 58/85

Technologies

Ethernet

FDDI

Token Ring

Trang 59

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 59/85

Technology: Token Ring

Token Ring

Token Passing

Trang 60

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 60/85

Technology: FDDI

FDDI

Token Passing

Trang 61

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 61/85

Technology: Ethernet

Ethernet

Broadcast

Trang 62

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 62/85

Hosts

Printer

NIC

Trang 63

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 63/85

LAN Media Symbols

Token Ring

FDDI Ring

Ethernet

Line

Serial Line

Trang 64

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 64/85

OSI Review: Layer 1

 Responsibility:

 Transmission of an unstructured bit

stream over a physical link between

Trang 65

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 65/85

LAN Device: Transceiver

 Connect different media technologies

 Layer 1 device

UTP

BNC

AUI

Trang 66

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 66/85

LAN Device: Repeater

 Regenerates and repeats the signal

 Layer 1 device

Trang 67

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 67/85

LAN Device: Hub

 A multi-port repeater

 Layer 1 device

Trang 68

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 68/85

OSI Review: Layer 2

Trang 69

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 69/85

LAN Device: NIC

 Network interface of hosts

 Build-in physical address

 Layer 2 device

Trang 70

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 70/85

LAN Device: Bridge

 Keeps traffic local by filtering traffic

based on physical addresses

 Layer 2 device

Trang 71

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 71/85

LAN Device: Switch

 A multi-port bridge

 Layer 2 device

Trang 72

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 72/85

OSI Review: Layer 3

 Logical address: Hierarchical

 Networks and Hosts addressing

 Route , Routing table, Routing protocol

 “Network”

Trang 73

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 73/85

LAN Device: Router

 Makes decisions based on network

addresses (logical addresses)

 Layer 3 device

Trang 74

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 74/85

LAN Device: Router Functions

 The router re-encapsulates the

packet in the protocol needed for the specified port and then switches the packet out that port

Trang 75

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 75/85

LAN Device: Cloud

 Another network

 Include layer 1 – 7 devices

Trang 76

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 76/85

Devices function at Layers

Trang 77

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 77/85

Teaching Topology

Trang 78

DATA FLOW THROUGH LANs

Trang 79

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 79/85

Air Mail Example

Trang 80

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 80/85

Encapsulation

Trang 81

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 81/85

Encapsulation: Example

Trang 82

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 82/85

Host to host communication

Trang 83

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 83/85

Packet Flow: Layer 1 Device

Trang 84

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 84/85

Packet Flow: Layer 2 Device

Trang 85

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 85/85

Packet Flow: Layer 3 Device

Trang 86

Khoa CNTT – ĐH Nông Lâm TP HCM 2014 86/85

Packet Flow: Layer 1-7 Device

Ngày đăng: 29/03/2021, 11:15

TỪ KHÓA LIÊN QUAN