Alibabacloud.com offers a wide variety of articles about cisco policy based routing next hop, easily find your cisco policy based routing next hop information here online.
Problem description
You can define your own rules to route data packets, not just the destination address. Here
You can learn how to use policy-based routing to solve this problem.
In specific applications, policy-based routes include:
☆Source IP address-
While dynamic routing protocols provide easy deployment, there will be situations in which more specific selection of routing paths can be advantageous. cisco Policy Based Routing provides a flexible mechanic for network administr
Problem description
You can define your own rules for routing packets, not just the destination address. Over here
You can learn how to use policy-based routing to solve this problem.
In a specific application, policy-based
Note: PBR was previously a major tool used by Cisco to discard messages. For example, set interface null 0, which, according to Cisco, would save a bit more overhead than the ACL's deny. Here I remind:
Interface NULL 0No IP unreachable//Join this commandThis avoids the return of many ICMP unreachable messages because of the large number of packets discarded.
When a three-tier device forwards a packet
problem, a huge internet, how to believe that so many hop-on route stitching up a complete path is really the most optimized? The answer is clearly definite, and the question is how to prove it.Routing algorithms in the book, the routing algorithm is basically divided into distance vector algorithm and link state algorithm, the respective protocol masterpiece is RIP and OSPF (I am relying on these two to f
, a huge internet, how to believe that so many hop-on routing stitching up a complete path is really the most optimized? The answer is clearly definite, and the question is how to prove it.Routing algorithmsIn the book, the routing algorithm is basically divided into the distance vector algorithm and link state algorithm, the respective protocol masterpiece is RI
Cisco L3 switch Policy Routing for network access and Traffic DistributionI. Description of the solution environment 1. There are two groups of Group1 and Group2 in the environment, respectively, to access the Internet from two different network outlets. 2. The core network is a Cisco 3560G layer-3 Switch with four VLA
-list Extended ManagerPermit IP 192.168.4.0 0.0.0.255 any #允许财务全网段访问, you can also define a separate IP or IP segment.Deny IP any any3. Configure Route-mapc_c_3750 (config) #route-map man permit #定义策略路由 man for policy namec_c_3750 (config-route-map) #match IP address manager #指定允许的ACL名称或ACL序号c_c_3750 (config-route-map) #set IP?Address Specify IP AddressDefault Set default InformationDF Set DF BitNext-hop Ne
network address. It is found that the traffic of hosts in different network segments has indeed accessed external resources from different egress, and different Nat addresses are used for address translation!
Note: The NAT address translation function is required for most ISP scenarios. However, in some special cases, the NAT Function is not required. If the NAT Function is not used, remove the NAT configuration in the configuration,
Remove ip nat inside source list 1 interface FastEthernet0/0
the three-layer SVIService-policy input Rate-limitService-policy Output Rate-limit5. Check whether Policy-map is in effectR1#sh Policy-map Interface G0/1An exampleAccess-list permit tcp any 192.168.0.0 0.0.255.255 eq www//service applicationAccess-list 151 permit ip any 192.168.102.0 0.0.0.255//ad, Mailbox network seg
policy-based Routing (PBR) is a flexible packet routing and forwarding mechanism. By applying the policy route on the router, the router determines how the router's packets are handled based on the
occupied by the two lines.
Solution: We should define a policy routing Route Map statement based on the application on the company's network egress router, and apply this statement to the router's Ethernet interface, the application-based policy
"Topology and Software"
The switch used in this paper is the H3C simulator, the download address is as follows:
Http://forum.h3c.com/forum.php?
mod=viewthreadtid=109740highlight=h3c%e6%a8%a1%e6%
8b%9f%e5%99%a8 interested friends can download on the forum
"Networking Requirements"
Running dynamic routing between R1,R2,R3,R4
Packets coming in from R1 's S0/6/3
A 1-63-length walk 192.168.12.2
A 64-10000-length walk 192.168.13.2
Other lengths
-number]
Router (config-route-map) # match length {length}
Router (config-route-map) # set ip next-hop-address
In the policy routing statement based on the packet size, the packet size should be set at the length of the condition sub-command, set the next data transmission address at next-
. Policy routing configuration uses the MATCH and SET statements to select the path. Policy Routing is configured on the receiving packet interface instead of the sending interface.
Source Address-based policy
generated messages and does not work on forwarded messages.
Interface Policy Routing is configured under Interface view.
Local Policy Routing
The policy routing of locally generated messages is configured in the System view.
matches a datagram successfully? The standard action of the routing software is generally to select the next hop address and the output interface, which can be called a "Match set" action. However, Linux adopts a more flexible approach, and there are multiple actions available in Linux. The default action is to query a specific route table based on the destinat
Summary
This article based on a large number of instances based on the Linux2.2 of the powerful routing function, it provides the routing function is a lot of router products are unmatched, if considering its free, its performance price ratio is no product can be compared.
At present, the traditional
Demonstration: Hybrid configuration of Dynamic Routing Based on Linux winows cisco Environment
With GNS3 + VM, you can complete all the experiments on one physical computer)
Supporting Demo Video: http://edu.51cto.com/course/course_id-499.html
Training focus:The configuration is based on the dynamic
The source address-Based Policy Routing of A Huawei switch is different from that of H3C and cisco, huawei's policy under vlan Oh www.2cto.com [Quidway] acl number 2000 [Quidway-acl-basic-2000] rule permit source 192.168.30.0 0.0.255 [Quidway-acl-basic-2000] quit [Quidway] t
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.