How to add “virtio” networking drivers to Ubuntu guest
How to add “virtio” networking drivers to Ubuntu guest
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....
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: How to add “virtio” networking drivers to Ubuntu guest
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.
Ubunt 10.04 has native support for virtio network.
Re: How to add “virtio” networking drivers to Ubuntu guest
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):


-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: How to add “virtio” networking drivers to Ubuntu guest
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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
Re: How to add “virtio” networking drivers to Ubuntu guest
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
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
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: How to add “virtio” networking drivers to Ubuntu guest
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.
2) I didn't need to do that, it worked right out of the box.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.