摘要 |
<p>A method for implementing Virtual Private Network includes: in the PE, a static label is configured for the VRF in the PE; a static route arriving at the network entity is configured in other PEs that are entitled to access the network entity corresponding to the VRF, wherein the destination address of the static route is the address of the network entity, the address of the next hop is the address of the PE connected with the network entity, and the static label of the said VRF is used as the label of the static route; when the PE receives the message needing to be transmitted, it searches the static route according to the destination address brought by the message, adds the label in the static route as an inner label to the message, chooses a channel according to the address of the next hop in the static route to transmit the said message to the PE in destination side corresponding to the address of the next hop; after the PE in the destination side receives the said message, according to the inner label brought by the message it searches the VRF corresponding to the label, and transmits the said message to the destination network entity according to the VRF.</p> |