Abstract:
Embodiments of the present invention provide a method and a label forwarding router for initiating an LDP session connection. The method includes: using an address of a first transport address family of a local device as a connection address, and starting an LDP session setup procedure for the local device and a peer device according to the address; setting a random time value in the procedure; determining that current time reaches the random time value and that the LDP session setup fails; and selecting an address of a second transport address family as a new connection address, and starting a new LDP session setup procedure according to the new address. The present invention can implement normal initiation of an LDP session connection.
Abstract:
This application discloses a load balancing method and apparatus, and a device, and relates to the field of network technologies. The method includes: after a packet sent by a server is received, determining whether the packet is a first packet of a flowlet, if the packet is the first packet of the flowlet, determining a destination switch based on a destination address of the packet, determining a weight value of at least one equal-cost path associated with the destination switch in a stored equal-cost path weight table, where the equal-cost path weight table stores a correspondence between the at least one equal-cost path and the weight value, and scheduling, based on the weight value of the at least one equal-cost path, the packet onto a corresponding equal-cost path for transmission.
Abstract:
Embodiments of the present invention provide a method and a label forwarding router for initiating an LDP session connection. The method includes: using an address of a first transport address family of a local device as a connection address, and starting an LDP session setup procedure for the local device and a peer device according to the address; setting a random time value in the procedure; determining that current time reaches the random time value and that the LDP session setup fails; and selecting an address of a second transport address family as a new connection address, and starting a new LDP session setup procedure according to the new address. The present invention can implement normal initiation of an LDP session connection.