#Help with making a vm

2 messages · Page 1 of 1 (latest)

boreal estuary
#

After that they tell me this:

Find out which IP address your host-only connection has received:

  1. Open Settings and go to Network.
  2. You will see two Ethernet interfaces, enp0s3 and enp0s8. Click on the gear icon next to enp0s8.
  3. Look for the IP address assigned to this interface. This address usually starts with 192.168.56.

Test the connection to your VM

Once you have found the IP address, open a command-line interface on your physical system (not inside the VM) and check if you can connect to your VM using:

ping 192.168.56.102

Note: In this example, we use the IP address 192.168.56.102. You must replace it with the actual address assigned to your VM.

If the connection fails, your VM’s network adapters may not be configured correctly. Reconfigure them before proceeding.

Assign a Static IP Address to Your VM

For convenience, we will now assign a static IP address to the VM:

  1. Return to the settings screen for the enp0s8 interface.
  2. Select the IPv4 tab and enter the following settings:
    • IPv4 Method: Manual
    • Address: 192.168.56.20
    • Netmask: 255.255.255.0
    • Gateway: Leave this field empty.
  3. Disable and re-enable the interface.

Verify the Network Settings

Run the following command in Terminal to check if the changes were applied:

ip a

Test the Connection Again

Try pinging your VM from your physical system again:

ping 192.168.56.20

If successful, your VM is now properly connected with a static IP.

#

My issue is that none of the settings in virt-manager are particularly similar to those in oracle virtualbox which leads me to a lot of confusion and straight up doing things wrong