Multi-wan device and method of updating routing table
AssigneesHon Hai Precision Industry Co., Ltd., HONG FU JIN PRECISION INDUSTRY (ShenZhen) CO., LTD.
InventorJING LIN
Life of this patent
Estimating the term…
Abstract
A multi-WAN interface device includes a first WAN interface, a second WAN interface, an application module, a detection module, a register module, an updating module and a routing table. The first WAN interface connects to a first network and the second WAN interface connects a second network. The application module applies the first network and the second network for a mobile IP home address and a care-of-address. The detection module detects whether it is necessary for switching between the first network and the second network. The register module registers the care-of-address to the home agent. The updating module updates the default routing table of the first network. A method for the multi-WAN interface device updating the routing table is also provided.
Claims13
A multi-WAN device comprising:
- a first WAN interface connected to a first network;
- a second WAN interface connected to a second network, wherein the multi-WAN device communicates with a home agent by the first network or the second network;
- a processor;
- and
- a storage system, storing one or more software programs in the form of computerized codes operable to be executed by the processor, the one or more software programs comprising:
- an application module, applying for a first IP address as a mobile IP address from the first network via the first WAN interface, and applying for a second IP address as a care-of-address from the second network via the second WAN interface;
- a detection module, determining whether communication quality of the first network is less than a first threshold by the first WAN interface, and whether communication quality of the second network is more than a second threshold by the second WAN interface upon the condition that the communication quality of the first network is less than the first threshold;
- a register module, enabling the second network upon the condition that the communication quality of the second network is more than the second threshold, and registering the care-of-address to the home agent by the second network to cause the home agent to bind the care-of-address and the mobile IP address and to transmit information of binding to the register module;
- and
- an updating module, adding the information of binding to a routing table of the first network as a new routing rule, and receiving tunnel information relating to the second network and the home agent from the second network, and updating default routing rules about data transmitting of the first network based on the tunnel information.
A routing table updating method of a multi-WAN device comprising a first WAN interface connected to a first network and a second WAN interface connected to a second network and communicating with a home agent by the first network or the second network, the method comprising:
- applying for a first IP address as a mobile IP address from the first network by the first WAN interface;
- detecting and determining whether communication qualities of the first network is less than a first threshold by the first WAN interface, and detecting and determining whether communication quality of the second network is more than a second threshold by the second WAN interface when the communication quality of the first network is less than the first threshold;
- Enabling the second network when the communication quality of the second network is more than the second threshold, and applying for a second IP address as a care-of-address from the second network by the second WAN interface;
- registering the care-of-address to the home agent by the second network so that the home agent binds the care-of-address and the mobile IP address and transmits information of binding;
- adding the information of binding to a routing table of the first network as a new routing rule;
- receiving tunnel information relating to the second network and the home agent from the second network, and updating default routing rules about data transmitting of the first network based on the tunnel information.
Dependencies are inferred from the claim text.