Saturday, September 7, 2013

Introduction to LAN Switching / LAN segmentation / LAN segmentation

Introduction to LAN Switching
LAN segmentation 
4.2.1 This page will explain LAN segmentation.
A network can be divided into smaller units called segments. Figure shows an example of a segmented Ethernet network. The entire network has fifteen computers. Of the fifteen computers, six are servers and nine are workstations. Each segment uses the CSMA/CD access method and maintains traffic between users on the segment. Each segment is its own collision domain.
Segmentation allows network congestion to be significantly reduced within each segment. When data is transmitted within a segment, the devices within that segment share the total available bandwidth. Data that is passed between segments is transmitted over the backbone of the network through a bridge, router, or switch.
The next page will discuss bridges






LAN segmentation wit
4.2.2 This page will describe the main functions of a bridge in a LAN.
Bridges are Layer 2 devices that forward data frames based on the MAC address. Bridges read the source MAC address of the data packets to discover the devices that are on each segment. The MAC addresses are then used to build a bridging table. This allows bridges to block packets that do not need to be forwarded from the local segment. 
Although bridges are transparent to other network devices, the latency on a network increases by ten to thirty percent when a bridge is used. The increased latency is because of the decisions that bridges make before the packets are forwarded. A bridge is considered a store-and-forward device. Bridges examine the destination address field and calculate the cyclic redundancy check (CRC) in the Frame Check Sequence field before the frame is forwarded. If the destination port is busy, bridges temporarily store the frame until that port is available.   
The next page will discuss routers.h bridges 

The benefits of using repeaters / Full-duplex transmitting

The benefits of using repeaters 
4.1.8 This page will explain how a repeater can be used to extend the distance of a LAN.
The distance that a LAN can cover is limited due to attenuation. Attenuation means that the signal weakens as it travels through the network. The resistance in the cable or medium through which the signal travels causes the loss of signal strength. An Ethernet repeater is a physical layer device on the network that boosts or regenerates the signal on an Ethernet LAN. When a repeater is used to extend the distance of a LAN, a single network can cover a greater distance and more users can share that same network. However, the use of repeaters and hubs adds to problems associated with broadcasts and collisions. It also has a negative effect on the overall performance of the shared media LAN. 
The Interactive Media Activity will teach students about the Cisco 1503 Micro Hub.
The next page will discuss full-duplex technology.

Full-duplex transmitting 
4.1.9 This page will explain how full-duplex Ethernet allows the transmission of a packet and the reception of a different packet at the same time. This simultaneous transmission and reception requires the use of two pairs of wires in the cable and a switched connection between each node. This connection is considered point-to-point and is collision free. Because both nodes can transmit and receive at the same time, there are no negotiations for bandwidth. Full-duplex Ethernet can use a cable infrastructure already in place, as long as the medium meets the minimum Ethernet standards.
To transmit and receive simultaneously, a dedicated switch port is required for each node. Full-duplex connections can use 10BASE-T, 100BASE-TX, or 100BASE-FX media to create point-to-point connections. The NICs on all connected devices must have full-duplex capabilities.
The full-duplex Ethernet switch takes advantage of the two pairs of wires in the cable and creates a direct connection between the transmit (TX) at one end of the circuit and the receive (RX) at the other end. With the two stations connected in this manner a collision free environment is created as the transmission and receipt of data occurs on separate non-competitive circuits.
Ethernet can usually only use 50 to 60 percent of the available 10 Mbps of bandwidth because of collisions and latency. Full-duplex Ethernet offers 100 percent of the bandwidth in both directions. This produces a potential 20 Mbps throughput, which results from 10 Mbps TX and 10 Mbps RX.
The Interactive Media Activity will help students learn the different characteristics of two full-duplex Ethernet standards.
This page concludes this lesson. The next lesson will introduce LAN switching. The first page describes LAN segmentation.

Network latency / Ethernet 10BASE-T transmission time

Network latency
4.1.6 This page will help students understand the factors that increase network latency.
Latency, or delay, is the time a frame or a packet takes to travel from the source station to the final destination. It is important to quantify the total latency of the path between the source and the destination for LANs and WANs. In the specific case of an Ethernet LAN, it is important to understand latency and its effect on network timing as it is used to determine if CSMA/CD will work properly.
Latency has at least three sources:
  • First, there is the time it takes the source NIC to place voltage pulses on the wire and the time it takes the destination NIC to interpret these pulses. This is sometimes called NIC delay, typically around 1 microsecond for a 10BASE-T NIC.
  • Second, there is the actual propagation delay as the signal takes time to travel through the cable. Typically, this is about 0.556 microseconds per 100 m for Cat 5 UTP. Longer cable and slower nominal velocity of propagation (NVP) results in more propagation delay.
  • Third, latency is added based on network devices that are in the path between two computers. These are either Layer 1, Layer 2, or Layer 3 devices.
Latency does not depend solely on distance and number of devices. For example, if three properly configured switches separate two workstations, the workstations may experience less latency than if two properly configured routers separated them. This is because routers conduct more complex and time-intensive functions. A router must analyze Layer 3 data.
The next page will discuss transmission time. 

Ethernet 10BASE-T transmission time 
4.1.7 This page will explain how transmission time is determined for 10BASE-T.
All networks have what is called bit time or slot time. Many LAN technologies, such as Ethernet, define bit time as the basic unit of time in which one bit can be sent. In order for the electronic or optical devices to recognize a binary one or zero, there must be some minimum duration during which the bit is on or off.
Transmission time equals the number of bits to be sent times the bit time for a given technology. Another way to think about transmission time is the interval between the start and end of a frame transmission, or between the start of a frame transmission and a collision. Small frames take a shorter amount of time. Large frames take a longer amount of time.
Each 10-Mbps Ethernet bit has a 100 ns transmission window. This is the bit time. A byte equals eight bits. Therefore, 1 byte takes a minimum of 800 ns to transmit. A 64-byte frame, which is the smallest 10BASE-T frame that allows CSMA/CD to function properly, has a transmission time of 51,200 ns or 51.2 microseconds. Transmission of an entire 1000-byte frame from the source requires 800 microseconds. The time at which the frame actually arrives at the destination station depends on the additional latency introduced by the network. This latency can be due to a variety of delays including all of the following:
  • NIC delays
  • Propagation delays
  • Layer 1, Layer 2, or Layer 3 device delays
The Interactive Media Activity will help students determine the 10BASE-T transmission times for different frame sizes.
The next page will describe the benefits of repeaters.

Network congestion

Network congestion
4.1.5 This page will discuss some factors that create a need for more bandwidth on a network.
Advances in technology produce faster and more intelligent desktop computers and workstations. The combination of more powerful workstations and network intensive applications has created a need for greater network capacity, or bandwidth. All these factors place a strain on networks with 10 Mbps of available bandwidth and that is why many networks now provide 100 Mbps bandwidth on their LANs.
The following are types of media that have increased in transmission over networks:
  • Large graphics files
  • Full-motion video
  • Multimedia applications
There is also an increase in the number of users on a network. As more people utilize networks to share larger files, access file servers, and connect to the Internet, network congestion occurs. This results in slower response times, longer file transfers, and less productive network users. To relieve network congestion, either more bandwidth is needed or the available bandwidth must be used more efficiently.
The next page will discuss network latency. 

Half-duplex networks

Half-duplex networks
4.1.4 This page will explain how collisions occur on a half-duplex network.
Originally Ethernet was a half-duplex technology. Half-duplex allows hosts to either transmit or receive at one time, but not both. Each host checks the network to see whether data is being transmitted before it transmits additional data. If the network is already in use, the transmission is delayed. Despite transmission deferral, two or more hosts could transmit at the same time. This results in a collision. When a collision occurs, the host that detects the collision first, sends out a jam signal to the other hosts. When a jam signal is received, each host stops data transmission, then waits for a random period of time to re-transmit the data. The back-off algorithm generates this random delay. As more hosts are added to the network, collisions are more likely to occur.
Ethernet LANs become saturated because users run network intensive software, such as client/server applications, which cause hosts to transmit more often and for longer periods of time. The network interface card (NIC), used by LAN devices, provides several circuits so that communication among devices can occur.  The next page will discuss some other factors that cause network congestion.

Factors that impact network performance / Elements of Ethernet/802.3 networks

Factors that impact network performance 
4.1.2 This page will describe some factors that cause LANs to become congested and overburdened. In addition to a large number of network users, several other factors have combined to test the limits of traditional LANs:
  • The multitasking environment present in current desktop operating systems such as Windows, Unix/Linux, and Mac OS X allows for simultaneous network transactions. This increased capability has lead to an increased demand for network resources.
  • The use of network intensive applications such as the World Wide Web has increased. Client/server applications allow administrators to centralize information and make it easier to maintain and protect information.
  • Client/server applications do not require workstations to maintain information or provide hard disk space to store it. Given the cost benefit of client/server applications, such applications are likely to become even more widely used in the future.
The next page will discuss Ethernet networks.

Elements of Ethernet/802.3 networks 
4.1.3 This page will describe some factors that can have a negative impact on the performance of an Ethernet network.
Ethernet is a broadcast transmission technology. Therefore network devices such as computers, printers, and file servers communicate with one another over a shared network medium. The performance of a shared medium Ethernet/802.3 LAN can be negatively affected by several factors:
  • The data frame delivery of Ethernet/802.3 LANs is of a broadcast nature.
  • The carrier sense multiple access/collision detect (CSMA/CD) method allows only one station to transmit at a time.
  • Multimedia applications with higher bandwidth demand such as video and the Internet, coupled with the broadcast nature of Ethernet, can create network congestion.
  • Normal latency occurs as frames travel across the network medium and through network devices.
Ethernet uses CSMA/CD and can support fast transmission rates. Fast Ethernet, or 100BASE-T, provides transmission speeds up to 100 Mbps. Gigabit Ethernet provides transmission speeds up to 1000 Mbps and 10-Gigabit Ethernet provides transmission speeds up to 10,000 Mbps. The goal of Ethernet is to provide a best-effort delivery service and allow all devices on the shared medium to transmit on an equal basis. Collisions are a natural occurrence on Ethernet networks and can become a major problem.  
The next page will describe half-duplex networks.

Introduction to Ethernet/802.3 LANs / Ethernet/802.3 LAN development

Introduction to Ethernet/802.3 LANs
4.1.1 Ethernet/802.3 LAN development

This page will review the devices that are found on a network.
The earliest LAN technologies used either thick Ethernet or thin Ethernet infrastructures. It is important to understand the limitations of these infrastructures, as shown in Figure, in order to understand the advancements in LAN switching.
The addition of hubs or concentrates into the network offered an improvement on thick and thin Ethernet technology. A hub is a Layer 1 device and is sometimes referred to as an Ethernet concentrate or a multi-port repeater. Hubs allow better access to the network for more users. Hubs regenerate data signals which allows networks to be extended to greater distances. Hubs do not make any decisions when data signals are received. Hubs simply regenerate and amplify the data signals to all connected devices, except for the device that originally sent the signal.
Ethernet is fundamentally a shared technology where all users on a given LAN segment compete for the same available bandwidth. This situation is analogous to a number of cars that try to access a one-lane road at the same time. Since the road has only one lane, only one car can access it at a time. As hubs were added to the network, more users competed for the same bandwidth.
Collisions are a by-product of Ethernet networks. If two or more devices try to transmit at the same time, a collision occurs. This situation is analogous to two cars that try to merge into a single lane and cause a collision. Traffic is backed up until the collision can be cleared. Excessive collisions in a network result in slow network response times. This indicates that the network is too congested or has too many users who need to access the network at the same time.
Layer 2 devices are more intelligent than Layer 1 devices. Layer 2 devices make forwarding decisions based on Media Access Control (MAC) addresses contained within the headers of transmitted data frames.
A bridge is a Layer 2 device used to divide, or segment, a network. Bridges collect and selectively pass data frames between two network segments. In order to do this, bridges learn the MAC address of devices on each connected segment. With this information, the bridge builds a bridging table and forwards or blocks traffic based on that table. This results in smaller collision domains and greater network efficiency. Bridges do not restrict broadcast traffic. However, they do provide greater traffic control within a network.
A switch is also a Layer 2 device and may be referred to as a multi-port bridge. Switches make forwarding decisions based on MAC addresses contained within transmitted data frames. Switches learn the MAC addresses of devices connected to each port and this information is entered into a switching table.
Switches create a virtual circuit between two connected devices that want to communicate. When the virtual circuit is created, a dedicated communication path is established between the two devices. The implementation of a switch on the network provides micro segmentation. This creates a collision free environment between the source and destination, which allows maximum utilization of the available bandwidth. Switches are able to facilitate multiple, simultaneous virtual circuit connections. This is analogous to a highway that is divided into multiple lanes and each car has its own dedicated lane.
The disadvantage of Layer 2 devices is that they forward broadcast frames to all connected devices on the network. Excessive broadcasts in a network result in slow network response times.
A router is a Layer 3 device. Routers make decisions based on groups of network addresses, or classes, as opposed to individual MAC addresses. Routers use routing tables to record the Layer 3 addresses of the networks that are directly connected to the local interfaces and network paths learned from neighbor routers.
The following are functions of a router:
  • Examine inbound packets of Layer 3 data
  • Choose the best path for the data through the network
  • Route the data to the proper outbound port
Routers do not forward broadcasts unless they are programmed to do so. Therefore, routers reduce the size of both the collision domains and the broadcast domains in a network. Routers are the most important devices to regulate traffic on large networks. Routers enable communication between two computers regardless of location or operating system.
LANs typically employ a combination of Layer 1, Layer 2, and Layer 3 devices. Implementation of these devices depends on factors that are specific to the particular needs of the organization.  
The Interactive Media Activity will require students to match network devices to the layers of the OSI model.
The next page will discuss network congestion.

Module 4: Switching Concepts / Overview

Module 4: Switching Concepts
Overview

LAN design has evolved. Network designers until very recently used hubs and bridges to build networks. Now switches and routers are the key components in LAN design, and the capabilities and performance of these devices continue to improve.
This module describes the roots of modern Ethernet LANs with an emphasis on the evolution of Ethernet/802.3, the most commonly deployed LAN architecture. A look at the historical context of LAN development and various network devices that can be utilized at different layers of the OSI model will help students better understand the reasons why network devices have evolved as they have.
Until recently, repeaters were used in most Ethernet networks. Network performance suffered as too many devices shared the same segment. Network engineers then added bridges to create multiple collision domains. As networks grew in size and complexity, the bridge evolved into the modern switch which allows microsegmentation of the network. Modern networks are now built with switches and routers, often with both functionalities in one device.
Many modern switches are capable of performing varied and complex tasks in the network. This module will provide an introduction to network segmentation and will describe the basics of switch operation.
Switches and bridges perform much of the heavy work in LANs where they make nearly instantaneous decisions when frames are received. This module describes in detail how switches learn the physical addresses of nodes, and how switches transmit and filter frames. This module also describes the principles of LAN segmentation and collision domains.
Switches are Layer 2 devices that are used to increase available bandwidth and reduce network congestion. A switch can segment a LAN into micro segments, which are segments with only a single host. Micro segmentation creates multiple collision-free domains from one large domain. As a Layer 2 device, the LAN switch increases the number of collision domains, but all hosts connected to the switch are still part of the same broadcast domain.
This module covers some of the objectives for the CCNA 640-801 and ICND 640-811 exams.  
Students who complete this module should be able to perform the following tasks:
  • Describe the history and function of shared, or half-duplex Ethernet
  • Define collision as it relates to Ethernet networks
  • Define CSMA/CD
  • Describe some of the key elements that affect network performance
  • Describe the function of repeaters
  • Define network latency
  • Define transmission time
  • Define network segmentation with routers, switches, and bridges
  • Define Ethernet switch latency
  • Explain the differences between Layer 2 and Layer 3 switching
  • Define symmetric and asymmetric switching
  • Define memory buffering
  • Compare and contrast store-and-forward and cut-through switching
  • Understand the differences between hubs, bridges, and switches
  • Describe the main functions of switches
  • List the major switch frame transmission modes
  • Describe the process by which switches learn addresses
  • Identify and define forwarding modes
  • Define LAN segmentation
  • Define micro segmentation with the use of switches
  • Describe the frame-filtering process
  • Compare and contrast collision and broadcast domains
  • Identify the cables needed to connect switches to workstations
Identify the cables needed to connect switches to other switches