Monday 2 March 2020

switch layers


Traditional switching operates at layer 2 of the OSI model, where packets are sent to a specific switch port based on destination MAC addresses. Routing operates at layer 3, where packets are sent to a specific next-hop IP address, based on destination IP address. Devices in the same layer 2 segment do not need routing to reach local peers. What is needed however is the destination MAC address which can be resolved through the Address Resolution Protocol (ARP) as illustrated below:
Since VLANs exist in their own layer 3 subnet, routing will need to occur for traffic to flow in between VLANs.  This is where a layer 3 switch can be utilized.  A Layer 3 switch is basically a switch that can perform routing functions in addition to switching.  A client computer requires a default gateway for layer 3 connectivity to remote subnets.  When the computer sends traffic to another subnet, the destination MAC address in the packet will be that of the default gateway, which will then accept the packet at layer 2, and proceed to route the traffic to the appropriate destination based on its routing table.

 switch layers

The diagram below shows an example of a layer 3 switching routing between VLANs through its two VLAN interfaces. As before, the layer 3 device will still need to resolve the MAC address of PC B through an ARP request broadcasted out to VLAN 20.  It then rewrites the appropriate destination MAC address and forwards the packet back out the layer 2 segment:


The Cisco hierarchical model, also known as the hierarchical internetworking model, is a three-layer model for network design which is widely used in industry. It divides enterprise networks into three layers: core, distribution and access layer. As the lowest level of Cisco three-tier network model, the access layer is responsible for providing end user devices with a connection to network resources. Access layer devices contain a hub, multi-station access unit and switch. In this article, we will put emphasis on the access switch. In the meanwhile, some important features of the access switch will be introduced as well.

2 comments:

  1. If you're trying to lose weight then you certainly need to get on this totally brand new personalized keto meal plan.

    To produce this keto diet service, licensed nutritionists, personal trainers, and cooks have united to develop keto meal plans that are effective, painless, cost-efficient, and delightful.

    Since their grand opening in 2019, 1000's of people have already remodeled their figure and well-being with the benefits a good keto meal plan can offer.

    Speaking of benefits; in this link, you'll discover eight scientifically-tested ones provided by the keto meal plan.

    ReplyDelete
  2. Entrepreneurs and business owners have a certain kind of spirit and drive that keeps pushing them forward. Use this business article to find out if you possess the qualities of an entrepreneur yourself.
    Spiredesk
    Spiredesk
    Spiredesk
    Spiredesk
    Spiredesk
    As an entrepreneur in a tech-facing business, you might find that the economy series has a unique outlook on how challenging it can be to keep up in the tech industry.

    ReplyDelete

gigabit managed switches

Switches occupy the same place in the network as hubs. Unlike hubs, switches examine each packet and process it accordingly rather than sim...