Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 41295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:09:30+00:00 2026-05-10T15:09:30+00:00

I’m trying to use libvirt with virsh to manage my kvm/qemu vms. The problem

  • 0

I’m trying to use libvirt with virsh to manage my kvm/qemu vms. The problem I have is with getting it to work with public IPs. The server is running ubuntu 8.04.

libvirt keeps trying to run it as:

/usr/bin/kvm -M pc -m 256 -smp 3 -monitor pty -no-acpi \    -drive file=/opt/virtual-machines/calculon/root.qcow2,if=ide,boot=on \    -net nic,vlan=0,model=virtio -net tap,fd=10,vlan=0 -usb -vnc 127.0.0.1:0 

Which boots, but does not have any network access (pings go nowhere). Running it without fd=10 makes it work right, with kvm creating the necessary TAP device for me and networking functioning inside the host. All the setup guides I’ve seen focus on setting up masquerading, while I just want a simple bridge and unfiltered access to the net (both the guests and host must use public IPs).

Running ifconfig on the host gives this, the bridge is manually setup in my /etc/network/interfaces file. :

br0   Link encap:Ethernet  HWaddr 00:1e:c9:3c:59:b8       inet addr:12.34.56.78  Bcast:12.34.56.79  Mask:255.255.255.240       inet6 addr: fe80::21e:c9ff:fe3c:59b8/64 Scope:Link       UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1       RX packets:3359 errors:0 dropped:0 overruns:0 frame:0       TX packets:3025 errors:0 dropped:0 overruns:0 carrier:0       collisions:0 txqueuelen:0       RX bytes:180646 (176.4 KB)  TX bytes:230908 (225.4 KB)  eth0  Link encap:Ethernet  HWaddr 00:1e:c9:3c:59:b8       inet6 addr: fe80::21e:c9ff:fe3c:59b8/64 Scope:Link       UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1       RX packets:6088386 errors:0 dropped:0 overruns:0 frame:0       TX packets:3058 errors:0 dropped:0 overruns:0 carrier:0       collisions:0 txqueuelen:1000       RX bytes:680236624 (648.7 MB)  TX bytes:261696 (255.5 KB)       Interrupt:33 

Any help would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T15:09:31+00:00Added an answer on May 10, 2026 at 3:09 pm

    I followed the bridged networking guide at https://help.ubuntu.com/community/KVM and have the following in /etc/network/interfaces:

    auto eth0 iface eth0 inet manual  auto br0 iface br0 inet static         address 192.168.0.10         network 192.168.0.0         netmask 255.255.255.0         broadcast 192.168.0.255         gateway 192.168.0.1         bridge_ports eth0         bridge_fd 9         bridge_hello 2         bridge_maxage 12         bridge_stp off 

    I have not changed any libvirt network settings and my kvm images are booted like:

    /usr/bin/kvm -M pc -no-kqemu -m 256 -smp 1 -monitor pty -boot c -hda \     /libvirt/apt.img -net nic,macaddr=00:16:3e:77:32:1d,vlan=0 -net \     tap,fd=11,script=,vlan=0 -usb -vnc 127.0.0.1:0 

    I then specify the static network settings in the kvm image as normal. Has all worked ok since I followed the guide.

    I do have the following settings in my xml files in /etc/libvirt/qemu/ though under devices:

    <interface type='bridge'>   <mac address='00:16:3e:77:32:1d'/>   <source bridge='br0'/> </interface> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I have been unable to fix a problem with Java Unicode and encoding. The
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I am trying to loop through a bunch of documents I have to put
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.