Layer 2 and Layer 3 switches Network switches are often described as Layer 2 or Layer 3. But what exactly does that mean and what are the advantages and disadvantages of the technologies involved? 1 Tutorial on Network Layers 2 and 3 Radia Perlman Intel Labs ([email protected]). FAQ: What is the difference between a Layer-3 switch and a router? What is the difference between a Layer-3 switch and a router? Is the Extra Layer Better? Layer 2 Versus Layer 3 Networking. Layer 3 reminds me of a difference between a LAN. Why layers? Switches are used to built networks, linking network devices together and forwarding (i. Information is organised to conform to the OSI (Open Systems Interconnection) seven- layer model, which is adhered to by networking vendors to insure interoperability between their products. Hence terms like Layer 2, Layer 3 and so on, which you'll hear used mostly in relation to switches but other networking devices, too. How Layer 2 switches work. Layer 1, also referred to as the Physical Layer, describes the electrical interface and isn't of much interest to switch vendors. Rather it's to Layer 2 (the Data Link layer) that most switches look when deciding how to move packets around a network. It's here, for instance, that a switch can find the Media Access Control or MAC address of both sending and receiving devices. Understanding Layer 2, 3, and 4 Protocols. Routing updates sent between Layer 3 devices can use OSPF, RIP, or BGP as their Layer 4 transport. Layer 2 switches learn MAC addresses automatically, building a table which can be used to selectively forward packets. For example, if a switch receives packets from MAC address X on Port 1 it then knows that packets destined for MAC address X can simply be forwarded out of that port rather than having to try each available port in turn. Because Layer 2 information is easily retrieved, packets can be forwarded (switched) very quickly, typically, at the wire speed of the network. Layer 2 switching, therefore, has little or no impact on network performance or bandwidth. And because they are relatively dumb devices no setup or management is required, making them cheap and easy to deploy. What Layer 2 switches can't do is apply any intelligence when forwarding packets. They can't route packets based on IP address or prioritise packets sent by particular applications to, for example, guarantee bandwidth to Voice over IP users. The information required for that only starts to become available at Layer 3 (the Network Layer). Layer 3 advantages. Intelligent packet forwarding (routing) based on Layer 3 information is traditionally the function of routers. It's here that IP addresses are found, for example, enabling a router to link different subnets together. Specialised routing protocols also use Layer 3, enabling routers to . Routers are still used to forward packets across (relatively) slow WAN (Wide Area Network) connections but on local networks, high- performance Layer 3 switches - sometimes referred to as . Facilities to prioritise different types of traffic are also commonplace, to provide guaranteed Quality of Service (Qo. S) when, for example, building converged voice and data networks. Layer 3 issues. Extra processing power is required to retrieve and make use of Layer 3 information. As a result, early switches could cause bottlenecks; nowadays, most Layer 3 switches operate at full wire speed just like their Layer 2 counterparts. Prices are higher than for a Level 2 switch because extra processing power and memory is required for Layer 3 switching. Such switches also require setup and management. Most are configured via a Web based GUI, although support for the Simple Network Management Protocol (SNMP) is another common option. Layer 3 switches can be complex to manage, especially on large distributed networks, but the concepts aren't that difficult and affordable Layer 3 switches are now available for small business deployment. Which switch? Small networks can be built using just Layer 2 devices, but most corporate networks will have a mix of Layer 2 and Layer 3 switches. Dumb Layer 2 products are a cheap and easy way of providing connectivity to workgroups while more intelligent Layer 3 switches enable departmental networks to be segmented and controlled with no loss of bandwidth. Finally, it's worth noting that some switch vendors claim to support Layer 4 (the Transport Layer) and above. Load balancing switches, for example, use information beyond Layer 3 to distribute packets across large server farms. However, there's blurring of the levels in these more sophisticated products such that it's now more usual to refer to them as multi- level switches. Multi- level switches are more expensive and complicated to deploy and mostly reserved for specialist applications. Differences between layer 2, 3, 4 Switching, Multilayer switching and Routing has. 4 Switching / Multilayer Switching / Layer 3.Differences between Level 1, 2, and 3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |