OSA LabModule 5
OSA LabModule 5
From Lab Module 4 we have a network of three VMs called RedHatA, Fedora39 and Mint213. They
are network with a NAT Network segment called OSANet with CIDR No. = 192.168.101.0/24. They
also obtained the IPAddress through DHCP.
In this Lab Module 5, we will assign manual IPAddress to all three VMs. We will be using the same
network address as above.
Name: NetOSA
CIDR No: 192.168.202.0/24
We will set the manual IPAddress as follow
RedHatA - 192.168.202.10
RedHatB - 192.168.202.11
Fedora39 - 192.168.202.65
Mint213 - 192.168.202.66
Ubuntu2243 - 192.168.202.67
A. Individual Manual IPAddress setting using system network setting.
1. Open the Network Setting from Menu:
oracl
3. Select the IPv4 tab
4. Click Apply then on the return dialogbox disable then enable the network
Move the cursor to IPv4 configuration Automatic and change to Manual then click show
Edit the values of Addresses, Gateway and DNS servers as shown above for the RedHatA
VM
Network Manager Command Line Interface (nmcli) is a command that will provide users
with a lot of option to configure your system. This method doesn’t show any dialogboxes, so
we need to exercise and understand that the nmcli works by experiencing it. We will work
from terminal as root. The following show Ubuntu Network setting set to NOSNet NAT
Network
From the nmtui display it show that the profile name is Wired connection 1
#ip a
AS we type and configure using nmcli we can immediate check any changes in the system by
running nmtui. See complete nmcli commands below:
In the listing of the nmcli above, we need to set the IPAddress and Gateway of the
system before setting to manual. The after setting the dns and additional dns using the
‘+’ symbol we can then reset the NIC. The last two command we type we performed the
resetting.
G. Setup Port Forwarding to enable ssh from Host (Windows) to Vms(EARTH, MARS, VENUS)
1. From the Menu in VirtualBox Manager Select File|Preference|Network
2. Select the NATNetwork (NetOSA) and click edit
3. Click PortForwarding button
4. Edit the table :