Configuration of virtual machines

  • Ubuntu 10.04 x86 as guest OS
  • Windows XP Professional 5.1.2600, Service Pack 3 as host OS
  • VMware® player 3.0.0 build-203739

Benefits:

  • No configuration necessary
  • Guest is member in the net

Drawback:

  • Guest is in the net like a “normal” host

The IP address of the virtual machine must be registered as the server IP in the target.

Access to NFS or TFTP of the virtual machine does not work.

Benefits:

  • Guest is not reachable from the network
  • Guest can access network via NAT

Drawback:

  • Configuration very complex

The IP address of the host must be registered as the server IP in the target.

The settings of the port forwarding can be done in the Windows Firewall. Go to the “Advanced” tab and select the LAN connection which connects the host and the target. Click on “Settings”.

In the following window click on “add” and enter the necessary details.

For TFTP this is the following data:

  • Service description: Trivial File Transfer Protocol (TFTP)
  • Name or IP address: enter the IP address of the virtual machine
  • External and internal port number: 69 UDP

When copying virtual machines, it may be that a new Ethernet device with a new MAC address is created. If the Ethernet device gets a new name (eth2 …), you have to add auto to the name of the interface in the file etc/network/interfaces (e.g., auto eth2). Then the service networking must be restarted (sudo service networking restart). Alternatively, you can edit the file /etc/udev/rules.d/70-persistent-net.rules and assign the MAC to the eth0 device.

  • Last modified: 2022/08/04 15:02