Đang tải... (xem toàn văn)
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 3What 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 4Common Physical
Components of a Network
Trang 5Interpreting a Network Diagram
Trang 6Resource-Sharing Functions and Benefits
Data and applications
Trang 7Network 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 8Impact of User Applications on the Network
Batch applications
FTP, TFTP, inventory updates
No direct human interaction
Bandwidth important, but not critical
Trang 10Physical Topology Categories
Trang 11Logical Topologies
Trang 12Bus Topology
All devices receive the signal.
Trang 13Star Topology
Transmission through a central point.
Single point of failure.
Trang 14Extended-Star Topology
More resilient than star topology.
Trang 15Ring Topology
Signals travel around ring.
Single point of failure.
Trang 16Dual-Ring Topology
Signals travel in opposite directions.
More resilient than single ring.
Trang 17Full-Mesh Topology
Highly fault-tolerant
Trang 18Partial-Mesh Topology
Trade-off between fault tolerance and cost
Trang 19Connection to the Internet
Trang 20Local Area Network
Trang 23LAN Sizes
Trang 242.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 252.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 262.1 Giới thiệu về mạng Ethernet.
traditional OSI model
Trang 27LAN Standards
2.1 Giới thiệu về mạng Ethernet.
Trang 282.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 292.1 Giới thiệu về mạng Ethernet.
2)Media Access Control (MAC):
802.3 MAC frame
Trang 302.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 31MAC Address Components
Trang 322.1 Giới thiệu về mạng Ethernet.
MAC addresses:
Trang 332.1 Giới thiệu về mạng Ethernet.
on the implementation and type of physical
specifications for each LAN implementation.
33
Trang 342.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 35Ethernet Evolution
2.1 Giới thiệu về mạng Ethernet.
Trang 36CSMA/CD
Trang 37Ethernet Frame Structure
Trang 38Communicating Within the LAN
Trang 392.1 Giới thiệu về mạng Ethernet.
Ethernet evolution through four generations
Trang 402.1 Giới thiệu về mạng Ethernet.
1) Standard Ethernet :
Trang 412.1 Giới thiệu về mạng Ethernet.
-Frame Format :
41
Trang 422.1 Giới thiệu về mạng Ethernet.
-Frame Length :
Trang 432.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 442.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 452.1 Giới thiệu về mạng Ethernet.
- Access Method: CSMA/CD
45
Trang 462.1 Giới thiệu về mạng Ethernet.
Trang 472.1 Giới thiệu về mạng Ethernet.
Encoding in a Standard Ethernet implementation:
47
Trang 482.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 492.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 502.1 Giới thiệu về mạng Ethernet.
Trang 512.1 Giới thiệu về mạng Ethernet.
Physical Layer.
- Topology :
51
Trang 522.1 Giới thiệu về mạng Ethernet.
-Implementation
Trang 532.1 Giới thiệu về mạng Ethernet.
53
Trang 542.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 552.1 Giới thiệu về mạng Ethernet.
The maximum length of the cable is determined bythe signal attenuation in the cable
Trang 562.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 572.1 Giới thiệu về mạng Ethernet.
Physical Layer
57
Trang 582.1 Giới thiệu về mạng Ethernet.
-Implementation
Trang 592.1 Giới thiệu về mạng Ethernet.
59
Trang 602.2 Kết nối mạng cục bộEthernet.
Connecting devices
Five categories of connecting devices
Trang 612.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 622.2 Kết nối mạng cục bộEthernet.
Trang 632.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 642.2 Kết nối mạng cục bộEthernet.
Trang 652.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 662.2 Kết nối mạng cục bộEthernet.
link layer.
addresses in a frame
Trang 672.2 Kết nối mạng cục bộEthernet.
A bridge connecting two LANs
Trang 682.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 692.2 Kết nối mạng cục bộEthernet.
Routers connecting independent LANs and WANs
Trang 702.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 712.2 Kết nối mạng cục bộEthernet.
Trang 722.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 732.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 742.2 Kết nối mạng cục bộEthernet.
Transmitting Frames through a Switch
Trang 752.2 Kết nối mạng cục bộEthernet.
Trang 762.2 Kết nối mạng cục bộEthernet.
How Switches Learn Host Locations
Trang 772.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 782.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 792.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 802.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 812.2 Kết nối mạng cục bộEthernet.
Loops
Trang 822.2 Kết nối mạng cục bộEthernet.
Spanning tree protocol
Trang 832.4 Quá trình phân phối gói tin từ host to host thông qua switch
83
Trang 85Layer 2 Addressing
Assigned to end devices
Trang 86Layer 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 87Layer 3 Addressing
OSI uses NSAP
TCP/IP uses IP
Trang 88Host-to-Host Packet Delivery (1 of 10) -UDP
Trang 89Host-to-Host Packet Delivery (2 of 10)
Trang 90Host-to-Host Packet Delivery (3 of 10)
Trang 91Host-to-Host Packet Delivery (4 of 10)
Trang 92Host-to-Host Packet Delivery (5 of 10)
Trang 93Host-to-Host Packet Delivery (6 of 10)
Trang 94Host-to-Host Packet Delivery (7 of 10)
Trang 95Host-to-Host Packet Delivery (8 of 10)
Trang 96Host-to-Host Packet Delivery (9 of 10)
Trang 97Host-to-Host Packet Delivery (10 of 10)
Trang 98Host-to-Host Packet Delivery (1 of 22)-TCP
Trang 99Host-to-Host Packet Delivery (2 of 22)
Trang 100Host-to-Host Packet Delivery (3 of 22)
Trang 101Host-to-Host Packet Delivery (4 of 22)
Trang 102Host-to-Host Packet Delivery (5 of 22)
Trang 103Host-to-Host Packet Delivery (6 of 22)
Trang 104Host-to-Host Packet Delivery (7 of 22)
Trang 105Host-to-Host Packet Delivery (8 of 22)
Trang 106Host-to-Host Packet Delivery (9 of 22)
Trang 107Host-to-Host Packet Delivery (10 of 22)
Trang 108Host-to-Host Packet Delivery (11 of 22)
Trang 109Host-to-Host Packet Delivery (12 of 22)
Trang 110Host-to-Host Packet Delivery (13 of 22)
Trang 111Host-to-Host Packet Delivery (14 of 22)
Trang 112Host-to-Host Packet Delivery (15 of 22)
Trang 113Host-to-Host Packet Delivery (16 of 22)
Trang 114Host-to-Host Packet Delivery (17 of 22)
Trang 115Host-to-Host Packet Delivery (18 of 22)
Trang 116Host-to-Host Packet Delivery (19 of 22)
Trang 117Host-to-Host Packet Delivery (20 of 22)
Trang 118Host-to-Host Packet Delivery (21 of 22)
Trang 119Host-to-Host Packet Delivery (22 of 22)
Trang 120Default Gateway