CCNA Study Notes 6-routing principle, Static Routing

Source: Internet
Author: User

CCNA Study Notes 6-routing principle, Static Routing
The router works on the third layer. The device that provides the IP packet forwarding function generally refers to the routing information. The routing information is a piece of information to the destination, indicating the direction to the destination, A route can also represent a path. It refers to the process in which a router searches for its route information for forwarding after receiving an IP packet. Route table: route table is used to forward IP packets where route information is stored. The information contained in a route entry: the prefix mask is used to scare the Hop/out interface and manage the IP packet forwarding distance from the AD metric value. The IP packet is forwarded when a route entry is matched, if no route entry matches Multiple Route entries, the route table is generated following the longest matching principle. Route entry: ip route + Destination CIDR Block and mask + next hop interface address (or local outbound Interface) both ends of the static route must be configured (directly connected to the router is not needed). The routes inside the network must be consistent with the back-to-back paths, however, when the internet is consistent or not, it doesn't matter if there is no connection service. After forwarding, it will no longer take care of it. ◆ Summary of Static Routing advantages: reducing the route table size to reduce the CPU, memory overhead network addressing, more flexible 192.16.12.0/24192.16.htm/24192.16.14.0/24192.16.15.0/24192.16.0000 20171101.0192.16.0000 license 1111.0 with the same prefix as photocopied. The default route mask from 0 to 192.16.12.0 varies with different locations: ip route 0.0.0.0 0.0.0.0 + next hop interface address (or local outbound Interface) to configure normal static configurations, 18 must be configured to connect the entire network to R1: ip route 23.1.1.0 255.255.255.0 12.1.1.2 ip route 3.1.1.1 255.12.1.1.2 ip route 24.1.1.0 255.255.255.0 12.1.1.2 ip route 4.1.1.1 255.255.255.255.255 12.1.1.2 ip route 2.1.1.1 255.12.1.1.2 Similarly, R3 is also 5 R2: ip route 1.1.1.1 route 12.1.1.1 ip route 3.1.1.1 route 255.255 23.1.1.3 ip route 4.1.1.1 route 255.255 24.1.1.4 by default, only six R1 R3 R4 ip route 0.0.0.0 0.0.0.0 points to R2 R2 and writes three to 1.1.1.1 3.1.1.1 4.1.1.1 ◆ floating static routes are not permanently stored in the routing table, he only loads backup routes when a preferred route fails to match. The smaller the active route, the smaller the active route. The default value is 1 ◆ Server Load balancer equivalent R1 ip route 4.1.1.1 255.255.255.255 14.1.1.4 ip route 4.1.1.1. 255.255.255.255 12.1.1.2 test the target router debug ip packet; source router no ip cef (the load under the cef is based on the flow load, that is, the same source to the same destination only follows the same path; and after the cef is disabled, process-based forwarding is performed, that is, one packet goes through one path, and the second packet goes through another path.) ping a packet to ping 4.1.1.1 repeat 1, which is not equivalent) the traffic distribution of each path is inversely proportional to the route cost ◆ recursive Table query

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.