Abstract:
A method for generating the route according to the accessing response information in the accessing device of communication network is disclosed to differ the traffic based on the destination IP subnet and make different traffic shunt in the access device. Said method comprises the following steps: receiving the accessing response information from the server to the subscriber terminal; getting the route related information from the accessing response information; generating or updating the route table entry according to said route related information. Said method achieves the traffic shunting based on layer 3 and reduces the demand of the accessing device. Moreover, said method does not operate route protocol in layer 2 of the subscriber and reduces the demand of the border router.