Fun writing (8)-three-layer exchange

Source: Internet
Author: User

Previously, you could use VLAN in a switch to break down a large LAN into several small LAN, and then use DHCP to help each LAN have its own IP address, each of which belongs to its own IP address. Then let's talk about the remaining things.

What will the switch do?First, not every vswitch can be used. L3 SwitchThis function is available. This Layer 3The concept refers to the Layer 3 of OSI: network layer. It is more practical: Generally, it is a series starting with Cisco Catalyst 3. Different from L2 switches, they have an additional routing template, which is much larger. The routing means: Choose a name. It is like saying that if you want to take the subway to the Guangzhou Railway Station, you can "first take line 4, then turn line 8, and then take line 2 ", alternatively, you can "take line 4 first and then switch to line 5". Of course, if you have a leisurely experience, you can also take the subway around Guangzhou and then go to the railway station. However, data transmission is usually 100,000 in a rush. Of course, the sooner the better. Therefore, the more specific features of the routing module are as follows: Select all possible routes and find the shortest path.. However, to connect a vswitch to a network, you only need to check the CIDR block of its destination IP address. IP PortAnd then throw it there. It uses Longest Matching Principle, Not like the MAC address. Each address must be matched one by one before forwarding. The more network bits match, the better. It uses its own TCAM table instead of the two-layer MAC table. The current switch generally uses CEF technology, which is a proprietary Cisco technology. However, the technology of other vendors is similar to its principle. The core of CEF is hardware and software isolation. MSFC is responsible for protocol negotiation and path calculation, which is equivalent to brain. The other layer is PFC, which is specifically used to forward data. From the "brain", it receives the strategy, and then this strong worker will start to work hard. After so long, it is only limited to the size of the internal LAN of a company or a building dormitory. It's time to scale up ......


This article from the "small days, slowly" blog, please be sure to keep this source http://yangxiaoxiao.blog.51cto.com/6916159/1271486

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.