主权项 |
1. A multichannel gateway that is connected to a terminal and two or more communication units that establish two or more lines of one logical line, comprising:
a memory that stores line information including information that indicates for each line whether or not the line is established, and information that indicates the communication bandwidth of each line; a line manager that detects the status of the communication units and updates the line information; a packet acquirer that acquires a packet for transmission from the terminal to be transmitted to another terminal; a segmentation necessity determiner that, based on the line information and according to the communication bandwidth of each line, calculates segment sizes for the packet for transmission so that when that packet is segmented the transmission time for each respective line will be the same, then based on the segment sizes, determines whether or not dividing the packet for transmission is necessary; a packet divider that segments the packet for transmission into the segments when the segmentation necessity determiner determines that segmentation is necessary; and a packet transmitter that transmits the packet for transmission that was segmented by the packet divider or the packet for transmission that has not been segmented to the corresponding communication unit, wherein the packet divider attaches headers to each of the packets for transmission that were segmented into the segments, and generates transmission packets; the packet transmitter transmits the transmission packets to the corresponding respective communication units; and the segmentation necessity determiner, based on the segment sizes, determines for the packet for transmission whether or not the packet size of the transmission packet that is to be transmitted using the line having the narrowest communication bandwidth is greater than the size of the packet header for that line, and when the packet size of the transmission packet that is to be transmitted using the line having the narrowest communication bandwidth is greater than the size of the packet header for that line, determines to segment the packet for transmission. |