The company headquarters has just moved to the new office building, the new room and the old room through the optical cable connection. Internet exports in the old computer room, the new office Internet must go through the old room, two of the center of the room switch is the use of IP route connection. The default point is the gateway to the Unicom exit.
The old room has telecommunications and unicom two exports, of which unicom is as a common user Internet use, telecommunications to do SAP, special line, web site applications such as exports. With too many new office buildings on the Internet, Unicom export pressure is too large, often appear out of line phenomenon (in fact, is lost packet seriously, probably in 8-9%, after testing, is estimated to be Unicom export router load is too high to carry), in order to ensure that some key users do business, such as financial network silver, using Route-map to do Policy Routing , let some IP take the export of telecommunications.
1. Set Route-map
(config) # Route-map dianxin permit 10; Defines a policy route with the name Dianxin
(config-route-map) # match IP address 104;
(CONFIG-ROUTE-MAP) # set IP next-hop 192.168.3.252; Set Next hop Address
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Network/lyjs/
2. Set IP policy in VLAN
(config) # interface VLAN 107
(config-if) # IP policy route-map dianxin; Configure Policy Routing in this VLAN dianxin
3. Add some of the addresses in the VLAN with IP policy to the Access-list (access list)
(config) # access-list permit IP host 192.168.107.61 any
So 192.168.107.61 this address will be to find 3.252 (our telecommunications gateway), rather than 3.254 (Unicom Gateway)
This policy route is a source address route, and also a destination routing and an intelligent equalization route.