An information processing apparatus (1100, 100) characterized by comprising: a processing device configured to process data; a first line connecting device configured to be connected to the processing device; a second line connecting device configured to be connected to the processing device; a first input and output port configured to be connected to a first end device via a first line; a second input and output port configured to be connected to a second end device via a second line; a first selecting unit that includes a first terminal, a second terminal and a third terminal, the first terminal being connected to the first line connecting device and either the second terminal or the third terminal; a second selecting unit that includes a fourth terminal, a fifth terminal and a sixth terminal, the fourth terminal being connected to the first input and output port, the fifth terminal being connected to the second terminal, the fourth terminal being connected to either the fifth terminal or the sixth terminal; a third selecting unit that includes a seventh terminal, an eighth terminal and a ninth terminal, the seventh terminal being connected to the second input and output port, the eighth terminal being connected to the second line connecting device, the seventh terminal being connected to either the eighth terminal or the ninth terminal; a switching unit that includes a tenth terminal, a eleventh terminal and a twelfth terminal, the tenth terminal being connected to the third terminal, the eleventh terminal being connected to the sixth terminal, the twelfth terminal being connected to the ninth terminal, the tenth terminal being connected to either the eleventh terminal or the twelfth terminal; a management device configured to control the first selecting unit, the second selecting unit and the third selecting unit to be either a first connected state or a second connected state; wherein, in the first connected state, the first terminal is connected to the third terminal, the fourth terminal is connected to the sixth terminal, and the seventh terminal is connected to the ninth terminal; and in the second connected state, the first terminal is connected to the second terminal, the fourth terminal is connected to the fifth terminal, and the seventh terminal is connected to the eighth terminal. a processing device configured to process data; a first line connecting device configured to be connected to the processing device; a second line connecting device configured to be connected to the processing device; a first input and output port configured to be connected to a first end device via a first line; a second input and output port configured to be connected to a second end device via a second line; a first selecting unit that includes a first terminal, a second terminal and a third terminal, the first terminal being connected to the first line connecting device and either the second terminal or the third terminal; a second selecting unit that includes a fourth terminal, a fifth terminal and a sixth terminal, the fourth terminal being connected to the first input and output port, the fifth terminal being connected to the second terminal, the fourth terminal being connected to either the fifth terminal or the sixth terminal; a third selecting unit that includes a seventh terminal, an eighth terminal and a ninth terminal, the seventh terminal being connected to the second input and output port, the eighth terminal being connected to the second line connecting device, the seventh terminal being connected to either the eighth terminal or the ninth terminal; a switching unit that includes a tenth terminal, a eleventh terminal and a twelfth terminal, the tenth terminal being connected to the third terminal, the eleventh terminal being connected to the sixth terminal, the twelfth terminal being connected to the ninth terminal, the tenth terminal being connected to either the eleventh terminal or the twelfth terminal; a management device configured to control the first selecting unit, the second selecting unit and the third selecting unit to be either a first connected state or a second connected state; wherein, in the first connected state, the first terminal is connected to the third terminal, the fourth terminal is connected to the sixth terminal, and the seventh terminal is connected to the ninth terminal; and in the second connected state, the first terminal is connected to the second terminal, the fourth terminal is connected to the fifth terminal, and the seventh terminal is connected to the eighth terminal.