1. Routing Table When the frame reaches the router's interface, the router checks the destination address in the frame. If the destination address is the router's interface address or the broadcast address, the router strips the packet from the frame and passes it to the Network Layer. The destination address in the packet is then checked, followed by the protocol field, and finally sent to the appropriate process. If the packet is routable, the router searches its own routing table for the corresponding routing entry. 1. Two important elements in the routing table:
2. The router matches the address to the maximum extent during the address matching process, and the addresses are arranged in descending order of accuracy.
If the address cannot be matched with any entry in the routing table during the address matching process, the packet will be discarded. [An ICMP message named Destination Unreachable will be sent back to the source address] 2. Static routing configuration
Set a static route with a slightly larger management distance than the normal route. For example, set the management distance of a route to 50. When the normal link goes down, the backup link set as the floating route is enabled.
Load balancing can be based on the destination address or on the so-called opportunistic destination address of each packet. This means that if there are two paths to the destination address, the first packet will reach the first destination device through the first link, the second packet will reach the second destination device through the second link, the third packet will reach the third destination device through the first link, and so on. When Cisco routers work in the default switching mode, Fast Switching mode, they use this type of load balancing. 4. How Fast Switching works: When the router processes the first packet to be sent to the destination address, it first checks the routing table and selects the egress interface, then obtains the information that makes up the frame (such as the ARP table query) and encapsulates it before transmitting it. The previously obtained routing and data link information will be stored in the fast switching cache. Next, when there is a packet that is destined for the same destination address as the first packet, the packet can be directly exchanged without querying the routing table and ARP table. Fast switching reduces CPU usage and processing time, and means that packets destined for a certain destination are routed out of the same router interface. When there are packets destined for different hosts on the same network, the router may route these packets through another link. Therefore, the best a router can do is to balance the load of the target address. Packet-based load balancing means that if there are two paths to the target address, the first packet will reach the target device through the first link, the second packet will reach the target device through the second link, the third packet will reach the target device through the first link, and so on (here we consider equivalent balanced load). |
<<: How much room do operators have for increasing speed and reducing fees?
>>: Share a few DOS commands that are not outdated. Please save them if you need them.
The tech world has long embraced high-risk, high-...
I encountered this problem on a physical server. ...
Computer network course is an important basic cou...
Now no one asks "how far are we from 5G"...
A new report from IDC predicts that global privat...
At the beginning of the year, we shared informati...
1. First of all, it is clear that fiber optic tra...
The latest data: The number of video ringtone use...
If you are a telecom broadband user, then you mus...
Germany is even more reliant on Huawei for its 5G...
[[374198]] Image source: https://pixabay.com/imag...
iONcloud's Double 11 promotion runs throughou...
With the booming development and implementation o...
Domestic 5G construction is still in full swing, ...
[Original article from 51CTO.com] On November 29t...