Benefits:
Drawback:
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:
Drawback:
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:
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.