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

Chương 2

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

Đ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

Tiêu đề Mạng Ethernet
Định dạng
Số trang 120
Dung lượng 4,58 MB

Nội dung

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 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

Because a human is waiting for a

response, response time is important but not critical, unless the wait becomes excessive.

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 layer standards 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 of the framing duties are collected into one sublayer called the

logical link control

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

 A single LLC protocol can provide interconncctivity between different LANs because it makes the MAC sublayer transparent.

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

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 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 40

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

Ethernet.

1) Standard Ethernet :

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 a

PC, workstation, or printer) has its own network interface card (NIC) The NIC fits inside the station and provides the station with a 6-byte physical address.

43

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: A source address is always a unicast address-the frame comes from only one station The destination 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 the following purposes:

49

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.

-Encoding

53

Trang 54

 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

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

Trang 56

 The half-duplex approach uses CSMA/CD.

 The maximum length of the network in this approach is totally dependent on the minimum frame size Three methods have been defined: traditional, carrier extension, and frame bursting

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.

-Encoding

59

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 different branches.

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

61

Trang 62

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

Ethernet.

Trang 63

-A repeater connects segments of a LAN

capability

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 connections between stations in a physical star topology Hubs can also be used to create multiple levels of hierarchy

65

Trang 66

addresses in a frame

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-host addressing) A router normally connects LANs and WANs in the Internet and has a routing table that is used for making decisions about the route The routing tables are normally dynamic and are updated using routing protocols

Trang 70

be connected to another network using the Internet model The gateway connecting the two systems can take a frame as

it arrives from the first system, move it up to the OSI application layer, and remove the message

Trang 72

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

Ethernet.

72

 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.

73

LAN Switch

 High port density

 Large frame buffers

 Mixture of port speeds

 Fast internal switching

 Switching modes:

– Cut-through

– Store-and-forward

– Fragment-free

Trang 74

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

Ethernet.

Transmitting Frames through a Switch

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.

77

• 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.

79

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.

81

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Ừ KHÓA LIÊN QUAN

w