主权项 |
1. A routing method for a network transmission apparatus connected to a first and a second network, the routing method comprising:
determining, upon receiving an address resolution query specifying an address of a first type from a client, whether direct routing to the first network is allowed or not, based on the address of the first type; querying the first network for address resolution to resolve the address of the first type when the direct routing to the first network is determined to be allowed, and querying the second network for the address resolution when the direct routing to the first network is determined not to be allowed; transmitting, to the client, an address response obtained from the first network or the second network by the querying, the address response including an address of a second type; configuring, when having queried the first network for the address resolution, a routing table such that a packet including, as a destination, the address of the second type that is included in the obtained address response is forwarded to the first network; and configuring, when having queried the second network for the address resolution, the routing table such that a packet including, as a destination, the address of the second type that is included in the obtained address response is forwarded to the second network. |