How To Set Up A Serial Port Between Two Virtual Machines In VirtualBox
|
Submitted by Rudika79 (Contact Author) (Forums) on Wed, 2011-04-13 19:33. :: VirtualBox | Virtualization
How To Set Up A Serial Port Between Two Virtual Machines In VirtualBoxI needed to test serial communication between two VirtualBox guest machines on Linux. This tutorial describes what I did to set up a serial port between two virtual machines running on VirtualBox.
On the host machine you don't need to install or configure anything. On guest virtual machines you need to configure serial port settings.
First Guest VM Serial Port Settings - Debian
Figure 1. - First Guest VM Serial Port Settings Enable Serial Port check box: checked (enabled)
Second Guest VM Serial Port Settings - Microsoft Windows XP
Figure 2. - Second VM Serial Port Settings Enable Serial Port check box: checked (enabled)
Starting VirtualBox MachinesFirst you need to start a machine with checked "Create Pipe" check box (in my example this is the Debian VM). Afterwards you can start your second machine (in my example this is my Microsoft Windows XP VM). If you try to start the first machine with an unchecked "Create Pipe" check box then you will get one error message.
Figure 3. - Error message if you try to start VM with unchecked "Create Pipe" check box
TestingI have enabled serial console login in Debian Linux and I don't have any problem to connect to the Linux machine from the Windows terminal program.
Figure 4. - Proof of working serial port connection Rudolf - http://www.bodocsi.net
|







Recent comments
1 day 15 hours ago
1 day 23 hours ago
2 days 2 hours ago
2 days 3 hours ago
2 days 5 hours ago
2 days 6 hours ago
2 days 8 hours ago
2 days 9 hours ago
3 days 1 hour ago
3 days 2 hours ago