How to configure two-line access for lingke Router

Source: Internet
Author: User

Currently, the two-line access setting of the lingke router is commonly used by China Southern Telecom North China Netcom. The access speed between different networks is greatly affected. Therefore, some websites only use the two-line access method, this article uses the lingke router as an example to describe how to set up dual-line access. By rationally allocating the destination IP address, you can make better use of the network, so that the access to China Telecom can be sent to the telecom link, and the access to China Netcom can be sent to the China Netcom link more intelligently. I. Routing Policy www.2cto.com in most cases, we solve the two-line actual network problem through the computer's routing information. This method is only limited to operations on a single computer. If there are many computers, it is not realistic to set each route. In this case, you can use a routing policy to manage the route egress of an Enterprise Network and configure a reasonable routing policy on the egress router, so that network packets can be forwarded to different lines according to different requirements. The commands of the routing policy only need to be set on the vro connecting to the external egress of the network. The vro actually connects to two lines. 2. Routing Policy command the significance of routing policy is to allow the router to select the next hop route information according to certain rules, so that the basic information of the received network packet will be automatically selected, determine the route table in which the route table should be forwarded. Through the routing policy, we can specify multiple next hop forwarding route addresses for a vro.
(1) set the basic information of the routing policy route-map src80 permit 10 // create a policy route with the name src80, serial number 10, and rule as allowed; match ip address 151 www.2cto.com // set match to meet the condition. This means that the set operation is performed only when the ip address meets the requirements in access control list 151. Otherwise, the set operation is skipped; set ip next-hop 10.23.31.25 // if the preceding conditions are met, modify the next hop route information of the data to 10.23.31.25; access-list 150 deny tcp any 10.80.0.0 0.7.255.255 eq wwwaccess-list 150 permit tcp 10.80.0.0 0.7.255.255 any eq www // set the matching information in access control list 150.
(2) Enable and take effect of the configured routing policy on an interface int FastEthernet3/2 // enter the Gigabit Ethernet interface; ip policy route-map src80 // apply the routing policy src80; no ip policy route-map src80 // cancel the application of the src80 routing policy. The above is a detailed introduction of the routing policy. Of course, the actual commands of each routing policy are different, but the basic commands are similar. In actual use, you can enter them according to the actual situation.
This article is from

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.