Patent attributes
The router of the invention comprises a routing table and an NAT table, which comprises an internet routing field for recording an address where a routing path to a WAN is stored, an intranet routing field for recording an address where a routing path to an LAN is stored, and a routing flag field for recording information indicating whether the NAT table stores an address where a routing path to a destination address is stored. When receiving a packet to a destination address, the router checks whether the NAT table records the address where a routing path to the destination address is stored. The router transmits the packet based on the routing information of the NAT table if the result is positive. If the result is negative, the router selects a routing path to the destination address from the routing table and transmits the packet base on the selected routing path.