2. Setup Guests
Important
Always start RTOS as first guest, as this will create the initial instance of RtosVnet
!
2.1. Host
No setup required, as this guide uses the default IP
address (192.168.157.1) of the Host.
2.2. RT-Linux
No setup required, as this guide uses the default IP
address (192.168.157.2) of the RTOS.
2.3. Linux I (UBUNTU)
2.3.1. Linux I Host-side guest configuration
Attention
This changes must be done on the Host side for the Linux (UBUNTU)
guest!
Open configuration script of vm1 and edit the rtosvnet_nw
value.
cd /hv/VMs/vm1
gedit ./vmconfig.sh
Search the following line:
# Private RtosVnet network between RTOS and GP-OS
export rtosvnet_nw=0
and change it to:
# Private RtosVnet network between RTOS and GP-OS
export rtosvnet_nw=1
Hint
Changes to the other values of the RtosVnet
config section only needed if different IP
ranges or names are required!
2.3.2. Linux I Guest-side configuration
Attention
This changes must be done in running Linux (UBUNTU)
guest!
Caution
To start the Linux I (UBUNTU)
guest with a loaded RtosVnet
instance, the Rtos (RT-Linux
) must be started before!
start
RT-Linux
cd /hv/lx
sudo ./lx.sh
./dbgcon.sh
start
Linux I (UBUNTU)
guest
cd /hv/VMs/vm1
sudo ./vmrun.sh
Switch into UBUNTU
guest and goto Settings
-> Network
and edit the ens10 adapter.
Goto IPv4 tab and edit the following values:
IPv4 Method: manual
Address: 192.168.157.10
Netmask: 255.255.255.0
2.4. Linux II (UBUNTU)
2.4.1. Linux II Host-side guest configuration
Attention
This changes must be done on the host side for the Linux (UBUNTU)
guest!
Open configuration script of vm2 and edit the rtosvnet_nw
value.
cd /hv/VMs/vm2
gedit ./vmconfig.sh
Search the following line:
# Private RtosVnet network between RTOS and GP-OS
export rtosvnet_nw=0
and change it to:
# Private RtosVnet network between RTOS and GP-OS
export rtosvnet_nw=1
Hint
Changes to the other values of the RtosVnet
config section only needed if different IP
ranges or names are required!
2.4.2. Linux II Guest-side configuration
Attention
This changes must be done in running Linux (UBUNTU)
guest!
Caution
To start the Linux II (UBUNTU)
guest with a loaded RtosVnet
instance, the Rtos (RT-Linux
) must be started before!
start
RT-Linux
(if not yet started!)
cd /hv/lx
sudo ./lx.sh
./dbgcon.sh
start
Linux II (UBUNTU)
guest
cd /hv/VMs/vm2
sudo ./vmrun.sh
Switch into UBUNTU
guest and goto Settings
-> Network
and edit the ens10 adapter.
Goto IPv4 tab and edit the following values:
IPv4 Method: manual
Address: 192.168.157.11
Netmask: 255.255.255.0
2.5. Final IP configuration
Host
: 192.168.157.1RT-Linux
: 192.168.157.2Linux I (UBUNTU)
: 192.168.157.10Linux II (UBUNTU)
: 192.168.157.11