The current implementation of the gateway, it is often taken to double-line connections to ensure the reliability and continuity of network traffic, one for the trunk line, the other one as a backup line. Given the sheer line backup backup line is bound to make a long idle.
In order to protect existing network investment, make full use of network resources, this paper example, discusses Ruhe Cisco router-based policy routing, costs, Re backup route implementation agreements between the Fuzaijunheng the method of lines.
Policy-based load balancing line
Strategy refers to the network administrator set the router to routing constraints. Constraints according to the data source IP address, packet size, the specific application of these factors, different constraints specify a different transmission lines. Router when routing the packets to be transmitted with the designated order to compare the constraints, forward. When the match with all the constraints specified in the routing of data packets sent or discarded. Constrained by various conditions assigned to a different transmission line to line load balancing.
Cost-based load balancing line
Internal Gateway Protocol (IGRP) and Enhanced Interior Gateway Protocol (EGRP) is Cisco's based on distance - vector routing protocol, through any one of the two protocols can be varied to achieve cost (or cost) of line load balancing. Here the cost can be understood as the source node to destination node from the experience of the total cost of all lines, factors affecting the level of bandwidth, delay, load, etc., when the higher-bandwidth, delay the smaller the lighter the load when the line would cost less .
Backup routing protocol based on load balancing
HSRP uses multicast, UDP-based hello signal to achieve the same HSRP group communication between other routers. Group router based on the specified port priority level, divided into the main router (high priority) and the backup router (low priority). Between the various routers in the default or specified time interval exchange hello signal, even if the main router or the line becomes unavailable, the backup router with the group into the active state, to take over the task of routing the main router to route the hot backup. Each HSRP group has an active HSRP IP address, it belongs to the HSRP group, you can set the connection-oriented group default gateway for all LAN devices, equipment connected through it will be forwarded data packets sent along the active router.
According to this basic principle, can be divided into two mutual hot standby router two HSRP groups, as shown in Groups 1 and 2. Group 1, A-based routers, B is the backup router. Group 2, B-based routers, A to the backup router. All LAN workstations divided into two groups, respectively, group 1 and group 2 by forward data.
Even when the two routers and the normal line from the station A and B data packets will have a router A and router B forward. When one link of a router and the line fails, all data will be transmitted all along the event route.
Were introduced more than three different techniques to achieve network line load balancing method. Three methods are not mutually exclusive relationship between the independent and practical application of different methods can be integrated to achieve more efficient and practical results.