Computer networks ethernet switching

27 334 0
Computer networks ethernet switching

Đ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

Computer networks ethernet switching, mạng máy tính, chuyển mạch ethernet

2008/7/19 1 Module 8: Ethernet Switching 2008/7/19 2 Outline  8.1 Ethernet Switching  Layer 2 bridging  Layer 2 switching  Switch operation  Latency  Switch modes  Spanning-Tree Protocol  8.2 Collision Domains and Broadcast Domains  Shared media environments  Collision domains  Segmentation  Layer 2 broadcasts  Broadcast domains  Introduction to data flow  What is a network segment? 2008/7/19 3  8.1 Ethernet Switching 2008/7/19 4 Layer 2 bridging  Ethernet is a shared media.  Only one node can transmit data at a time.  Within Ethernet physical segment  more nodes  more contention  more retransmissions  Break the large segment into parts and separate it into isolated collision domains. 2008/7/19 5 Layer 2 bridging (cont.)  Example :  Host A is pinging Host B.  The address of Host A is added to its bridge table.  The address of Host B has not been recorded yet as only the source address of a frame is recorded.  Host B processes the ping request and transmits a ping reply back to Host A.  The address of Host B is added to its bridge table.  Host A is now going to ping Host C.  The address of Host C has not been recorded yet as only the source address of a frame is recorded.  Host C processes the ping request and transmits a ping reply back to Host A.  The address of Host C is added to its bridge table.  When Host D transmits data, its MAC address will also be recorded in the bridge table. 2008/7/19 6 Layer 2 bridging (cont.) 2008/7/19 7 Layer 2 switching  Generally, a bridge has only two ports and divides a collision domain into two parts.  All decisions made by a bridge are based on MAC or Layer 2 addressing and do not affect the logical or Layer 3 addressing.  A switch dynamically builds and maintains a Content-Addressable Memory (CAM) table, holding all of the necessary MAC information for each port.  A bridge will divide a collision domain but has no effect on a logical or broadcast domain. 2008/7/19 8 Switch operation  A switch is essentially a multi-port bridge.  When only one host is connected to a switch port, the two nodes (the switch port & host) share this small segment, or collision domain. The small physical segment is called microsegment.  Most switches are capable of supporting full duplex.  No contention for the full duplex media.  The bandwidth is doubled when using full duplex.  Content-addressable memory (CAM) is memory that essentially works backwards compared to conventional memory.  Entering data into the memory will return the associated address.  Using CAM allows a switch to directly find the port that is associated with a MAC address without using search algorithms.  Application-specific integrated circuit (ASIC) -> speed up 2008/7/19 9 Latency  Latency is the delay between the time a frame first starts to leave the source device and the time the first part of the frame reaches its destination.  A wide variety of conditions can cause delays as a frame travels from source to destination:  Media delays caused by the finite speed (10/100/1000Mbps) that signals can travel through the physical media.  Circuit delays caused by the electronics that process the signal along the path.  Software delays caused by the decisions that software must make to implement switching and protocols.  Delays caused by the content of the frame.  For example, a device cannot route a frame to a destination until the destination MAC address has been read. (RARP in routers) 2008/7/19 10 Switch modes  How a frame is switched to the destination port is a trade off between latency and reliability.  Cut-through  A switch can start to transfer the frame as soon as the destination MAC address is received.  Store-and-forward  The switch receives the entire frame before sending it out the destination port.  To verify the Frame Check Sum (FCS).  Fail > it is discarded.  Fragment-free  The switch reads the first 64 bytes (frame header).  This mode verifies the reliability of the addressing and Logical Link Control (LLC) protocol information to ensure the destination and handling of the data will be correct.

Ngày đăng: 22/10/2013, 16:44

Từ khóa liên quan

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

Tài liệu liên quan