Chương 2

120 0 0
Tài liệu đã được kiểm tra trùng lặp
Chương 2

Đ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

Mạng Ethernet là một mạng cục bộ (LAN) sử dụng công nghệ Ethernet để kết nối các thiết bị điện tử với nhau. Ethernet là một họ các tiêu chuẩn định nghĩa cách truyền dữ liệu qua cáp xoắn đôi hoặc cáp quang. Các thiết bị được kết nối với mạng Ethernet thường bao gồm máy tính, máy tính xách tay, máy in, máy chủ và thiết bị định tuyến.

Trang 2

 Cơ bản về mạng

Trang 3

What Is a Network?

A network is a connected collection of devices that can

communicate with each other Networks carry data in many kinds of environments, including homes, small businesses, and large enterprises

Trang 4

Common Physical

Components of a Network

Trang 5

Interpreting a Network Diagram

Trang 6

Resource-Sharing Functions and Benefits

Data and applications

Trang 7

Network User Applications

Web browser (IE, Firefox, and so on)

Instant messaging (Yahoo IM, Microsoft Messenger, and so on)

Collaboration (Whiteboard, Netmeeting, WebEx, and so on)

Databases (file servers)

Trang 8

Impact of User Applications on the Network

Batch applications

FTP, TFTP, inventory updates

No direct human interaction

Bandwidth important, but not critical

Trang 10

Physical Topology Categories

Trang 11

Logical Topologies

Trang 12

Bus Topology

All devices receive the signal.

Trang 13

Star Topology

Transmission through a central point.

Single point of failure.

Trang 14

Extended-Star Topology

More resilient than star topology.

Trang 15

Ring Topology

Signals travel around ring.

Single point of failure.

Trang 16

Dual-Ring Topology

Signals travel in opposite directions.

More resilient than single ring.

Trang 17

Full-Mesh Topology

Highly fault-tolerant

Trang 18

Partial-Mesh Topology

Trade-off between fault tolerance and cost

Trang 19

Connection to the Internet

Trang 20

Local Area Network

Trang 23

LAN Sizes

Trang 24

2.1 Giới thiệu về mạng Ethernet.

started a project, called Project 802, to set

standards to enable intercommunication among equipment from a variety of

manufacturers Project 802 does not seek to replace any part of the OSI or the Internet model Instead, it is a way of specifying

functions of the physical layer and the data

Trang 25

2.1 Giới thiệu về mạng Ethernet.

into two sublayers: logical link control

(LLC) and media access control (MAC).

IEEE has also created several physical layerstandards for different LAN protocols.

25

Trang 26

2.1 Giới thiệu về mạng Ethernet.

traditional OSI model

Trang 27

LAN Standards

2.1 Giới thiệu về mạng Ethernet.

Trang 28

2.1 Giới thiệu về mạng Ethernet.

Data Link Layer:

1)Logical Link Control (LLC) :

In IEEE Project 802, flow control, error control, and part ofthe framing duties are collected into one sublayer called the

logical link control

The LLC provides one single data link control protocol for allIEEE LANs.

A single LLC protocol can provide interconncctivity betweendifferent LANs because it makes the MAC sublayertransparent.

The purpose of the LLC is to provide flow and error controlfor the upper layer protocols that actually demand these

Trang 29

2.1 Giới thiệu về mạng Ethernet.

2)Media Access Control (MAC):

802.3 MAC frame

Trang 30

2.1 Giới thiệu về mạng Ethernet.

IEEE Project 802 has created a sublayer called

media access control that defines the specific access method for each LAN

For example, it defines CSMA/CD as the media access method for Ethernet LANs and the token passing method for Token Ring and Token Bus LANs

In contrast to the LLC sublayer, the MAC sublayer contains a number of distinct modules; each defines the access method and the framing format specific to the corresponding LAN protocol.

Trang 31

MAC Address Components

Trang 32

2.1 Giới thiệu về mạng Ethernet.

MAC addresses:

Trang 33

2.1 Giới thiệu về mạng Ethernet.

on the implementation and type of physical

specifications for each LAN implementation.

33

Trang 34

2.1 Giới thiệu về mạng Ethernet.

b) Ethernet:

The original Ethernet was created in 1976 atXerox's Palo Alto Research Center (PARC).Since then, it has gone through four generations:Standard Ethemet (10 Mbps), Fast Ethemet (100Mbps), Gigabit Ethemet (1 Gbps), and TenGigabit Ethemet (10 Gbps).

Trang 35

Ethernet Evolution

2.1 Giới thiệu về mạng Ethernet.

Trang 36

CSMA/CD

Trang 37

Ethernet Frame Structure

Trang 38

Communicating Within the LAN

Trang 39

2.1 Giới thiệu về mạng Ethernet.

Ethernet evolution through four generations

Trang 40

2.1 Giới thiệu về mạng Ethernet.

1) Standard Ethernet :

Trang 41

2.1 Giới thiệu về mạng Ethernet.

-Frame Format :

41

Trang 42

2.1 Giới thiệu về mạng Ethernet.

-Frame Length :

Trang 43

2.1 Giới thiệu về mạng Ethernet.

-Addressing : Each station on an Ethernet network (such as aPC, workstation, or printer) has its own network interface card(NIC) The NIC fits inside the station and provides the stationwith a 6-byte physical address.

Example of an Ethernet address in hexadecimal notation:

Trang 44

2.1 Giới thiệu về mạng Ethernet.

Unicast, Multicast, and Broadcast Addresses: Asource address is always a unicast address-theframe comes from only one station Thedestination address, however, can be unicast,multicast, or broadcast.

Trang 45

2.1 Giới thiệu về mạng Ethernet.

- Access Method: CSMA/CD

45

Trang 46

2.1 Giới thiệu về mạng Ethernet.

Trang 47

2.1 Giới thiệu về mạng Ethernet.

Encoding in a Standard Ethernet implementation:

47

Trang 48

2.1 Giới thiệu về mạng Ethernet.

2)Fast Ethernet

The goals of Fast Ethemet can be summarized:

Upgrade the data rate to 100 Mbps.

Make it compatible with Standard Ethernet.

Keep the same 48-bit address.

Keep the same frame format.

Keep the same minimum and maximum frame lengths.

Trang 49

2.1 Giới thiệu về mạng Ethernet.

MAC Sublayer

-Autonegotiation: is a new feature added to Fast

negotiate the mode or data rate of operation

- Autonegotiation was designed particularly for thefollowing purposes:

49

Trang 50

2.1 Giới thiệu về mạng Ethernet.

Trang 51

2.1 Giới thiệu về mạng Ethernet.

Physical Layer.

- Topology :

51

Trang 52

2.1 Giới thiệu về mạng Ethernet.

-Implementation

Trang 53

2.1 Giới thiệu về mạng Ethernet.

53

Trang 54

2.1 Giới thiệu về mạng Ethernet.

3) Gigabit Ethernet

The goals of the Gigabit Ethernet design can be summarized as follows:

Upgrade the data rate to 1 Gbps.

Make it comoatible with Standard or Fast Ethernet.

Use the same 48-bit address.

Use the same frame format.

Keep the same minimum and maximum frame lengths.

To support autonegotiation as defined in Fast Ethernet

Trang 55

2.1 Giới thiệu về mạng Ethernet.

The maximum length of the cable is determined bythe signal attenuation in the cable

Trang 56

2.1 Giới thiệu về mạng Ethernet.

The half-duplex approach uses CSMA/CD.

The maximum length of the network in this approach is totallydependent on the minimum frame size Three methods havebeen defined: traditional, carrier extension, and framebursting

Trang 57

2.1 Giới thiệu về mạng Ethernet.

Physical Layer

57

Trang 58

2.1 Giới thiệu về mạng Ethernet.

-Implementation

Trang 59

2.1 Giới thiệu về mạng Ethernet.

59

Trang 60

2.2 Kết nối mạng cục bộEthernet.

Connecting devices

Five categories of connecting devices

Trang 61

2.2 Kết nối mạng cục bộEthernet.

-Passive hub is just a connector.

-Passive hub connects the wires coming from differentbranches.

- In a star-topology Ethemet LAN, a passive hub is just apoint where the signals coming from different stationscollide; the hub is the collision point This type of a hub ispart of the media; its location in the Internet model is belowthe physical layer.

61

Trang 62

2.2 Kết nối mạng cục bộEthernet.

Trang 63

2.2 Kết nối mạng cục bộEthernet.

-A repeater is a device that operates only in the physicallayer.

-Signals that carry information within a network can travel afixed distance before attenuation endangers the integrity ofthe data.

-A repeater connects segments of a LAN

63

Trang 64

2.2 Kết nối mạng cục bộEthernet.

Trang 65

2.2 Kết nối mạng cục bộEthernet.

repeater It is normally used to create connectionsbetween stations in a physical star topology Hubs canalso be used to create multiple levels of hierarchy

65

Trang 66

2.2 Kết nối mạng cục bộEthernet.

link layer.

addresses in a frame

Trang 67

2.2 Kết nối mạng cục bộEthernet.

A bridge connecting two LANs

Trang 68

2.2 Kết nối mạng cục bộEthernet.

Routers

A router is a three-layer device that routes packets

based on their logical addresses (host-to-hostaddressing) A router normally connects LANs andWANs in the Internet and has a routing table that isused for making decisions about the route Therouting tables are normally dynamic and are updatedusing routing protocols

Trang 69

2.2 Kết nối mạng cục bộEthernet.

Routers connecting independent LANs and WANs

Trang 70

2.2 Kết nối mạng cục bộEthernet.

Gateway

A gateway is normally a computer that operates in all fivelayers of the Internet or seven layers of OSI model Agateway takes an application message, reads it, andinterprets it This means that it can be used as a connectingdevice between two internetworks that use different models.For example, a network designed to use the OSI model canbe connected to another network using the Internet model.The gateway connecting the two systems can take a frame asit arrives from the first system, move it up to the OSIapplication layer, and remove the message

Trang 71

2.2 Kết nối mạng cục bộEthernet.

Trang 72

2.2 Kết nối mạng cục bộEthernet.

Operate at Layer 2 of the OSI model

Forward, filter, or flood frames

Have few ports

Trang 73

2.2 Kết nối mạng cục bộEthernet.

LAN Switch

High port density

Large frame buffers

Mixture of port speeds

Fast internal switching

Switching modes:

–Fragment-free

Trang 74

2.2 Kết nối mạng cục bộEthernet.

Transmitting Frames through a Switch

Trang 75

2.2 Kết nối mạng cục bộEthernet.

Trang 76

2.2 Kết nối mạng cục bộEthernet.

How Switches Learn Host Locations

Trang 77

2.2 Kết nối mạng cục bộEthernet.

•Station A sends a frame to Station C

•Switch caches station A MAC address to port E0 by learning the source address of data frames

•The frame from station A to station C is flooded out to all ports except port E0 (unknown unicasts are flooded)

Trang 78

2.2 Kết nối mạng cục bộEthernet.

•Station D sends a frame to station C

•Switch caches station D MAC address to port E3 by learning the source Address of data frames

•The frame from station D to station C is flooded out to all ports except port E3 (unknown unicasts are flooded)

Trang 79

2.2 Kết nối mạng cục bộEthernet.

How Switches Filter Frames

Station A sends a frame to station C

Destination is known, frame is not flooded

Trang 80

2.2 Kết nối mạng cục bộEthernet.

Broadcast and Multicast Frames

•Station D sends a broadcast or multicast frame

•Broadcast and multicast frames are flooded to all ports other than the originating port

Trang 81

2.2 Kết nối mạng cục bộEthernet.

Loops

Trang 82

2.2 Kết nối mạng cục bộEthernet.

Spanning tree protocol

Trang 83

2.4 Quá trình phân phối gói tin từ host to host thông qua switch

83

Trang 85

Layer 2 Addressing

Assigned to end devices

Trang 86

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

Trang 87

Layer 3 Addressing

OSI uses NSAP

TCP/IP uses IP

Trang 88

Host-to-Host Packet Delivery (1 of 10) -UDP

Trang 89

Host-to-Host Packet Delivery (2 of 10)

Trang 90

Host-to-Host Packet Delivery (3 of 10)

Trang 91

Host-to-Host Packet Delivery (4 of 10)

Trang 92

Host-to-Host Packet Delivery (5 of 10)

Trang 93

Host-to-Host Packet Delivery (6 of 10)

Trang 94

Host-to-Host Packet Delivery (7 of 10)

Trang 95

Host-to-Host Packet Delivery (8 of 10)

Trang 96

Host-to-Host Packet Delivery (9 of 10)

Trang 97

Host-to-Host Packet Delivery (10 of 10)

Trang 98

Host-to-Host Packet Delivery (1 of 22)-TCP

Trang 99

Host-to-Host Packet Delivery (2 of 22)

Trang 100

Host-to-Host Packet Delivery (3 of 22)

Trang 101

Host-to-Host Packet Delivery (4 of 22)

Trang 102

Host-to-Host Packet Delivery (5 of 22)

Trang 103

Host-to-Host Packet Delivery (6 of 22)

Trang 104

Host-to-Host Packet Delivery (7 of 22)

Trang 105

Host-to-Host Packet Delivery (8 of 22)

Trang 106

Host-to-Host Packet Delivery (9 of 22)

Trang 107

Host-to-Host Packet Delivery (10 of 22)

Trang 108

Host-to-Host Packet Delivery (11 of 22)

Trang 109

Host-to-Host Packet Delivery (12 of 22)

Trang 110

Host-to-Host Packet Delivery (13 of 22)

Trang 111

Host-to-Host Packet Delivery (14 of 22)

Trang 112

Host-to-Host Packet Delivery (15 of 22)

Trang 113

Host-to-Host Packet Delivery (16 of 22)

Trang 114

Host-to-Host Packet Delivery (17 of 22)

Trang 115

Host-to-Host Packet Delivery (18 of 22)

Trang 116

Host-to-Host Packet Delivery (19 of 22)

Trang 117

Host-to-Host Packet Delivery (20 of 22)

Trang 118

Host-to-Host Packet Delivery (21 of 22)

Trang 119

Host-to-Host Packet Delivery (22 of 22)

Trang 120

Default Gateway

Ngày đăng: 10/05/2024, 09:38

Tài liệu cùng người dùng

Tài liệu liên quan