Page 1 of 1
How to add “virtio” networking drivers to Ubuntu guest
Posted: 31. Oct 2010, 05:12
by sluk
My Virtualbox host is Windows XP, I am running a Ubuntu 10.04 Desktop guest, what procedures are required to add the “virtio” networking drivers to Ubuntu guest so that I can select “Paravirtualized network adapter (virtio-net)“ for use with the Ubuntu guest machine in Virtualbox so as to improve network transfer performance. I can't find any procedure or step about this in Virtualbox, Ubuntu manual or Google....
Re: How to add “virtio” networking drivers to Ubuntu guest
Posted: 31. Oct 2010, 05:23
by Perryg
If you are using the GUI you set it in the network section. If you don't use the gui you set it by using VBoxManage (see your users manual for the syntax)
Ubunt 10.04 has native support for virtio network.
Re: How to add “virtio” networking drivers to Ubuntu guest
Posted: 31. Oct 2010, 06:12
by sluk
Already tried, it doesn't work, I believe virtio-net drivers need to be installed in the Ubuntu guest (that is mentioned in Virtualbox manual but it just doesn't provide further details on how to add the virtio-net driver in Ubuntu guest and that's is my question here):

Re: How to add “virtio” networking drivers to Ubuntu guest
Posted: 31. Oct 2010, 14:31
by Sasquatch
That error means that the MAC address value is empty or incomplete. Open the VM settings, go to Network, select the adapter that you want to use and click on the Advanced arrow. Now you can generate a MAC address. Do that, save the settings by pressing OK and start the VM.
Re: How to add “virtio” networking drivers to Ubuntu guest
Posted: 31. Oct 2010, 15:45
by sluk
Fixed, problem due to:
1) I have previously defined in .VirtualBox/Machines/virtual_machine_name.xml:
<ExtraDataItem name="VBoxInternal/Devices/e1000/0/LUN#0/Config/ssh/GuestPort" value="22"/>
<ExtraDataItem name="VBoxInternal/Devices/e1000/0/LUN#0/Config/ssh/HostPort" value="2222"/>
<ExtraDataItem name="VBoxInternal/Devices/e1000/0/LUN#0/Config/ssh/Protocol" value="TCP"/>
to re-direct ssh, so need to change all e1000 to virtio-net after network adapter type changed.
2) On the Ubuntu guest side since I use Ubuntu Desktop so I have to:
'modprobe virtio'
also add "virtio" to
/etc/modules
Re: How to add “virtio” networking drivers to Ubuntu guest
Posted: 31. Oct 2010, 15:58
by Sasquatch
1) That is now deprecated. Please remove those entries and create the forwarding again with the new syntax, which will make sure that changing the adapter won't give the same error.
2) I didn't need to do that, it worked right out of the box.