Re: [libvirt-users] network interface management in bridge firewall configuration

2010-06-27 Thread Laine Stump
On 06/17/2010 11:01 AM, Aleksander Trofimowicz wrote: Hello, I'm just wondering why I can't manage my network interfaces through libvirt when the following kernel parameters are turned on: net.bridge.bridge-nf-call-ip6tables net.bridge.bridge-nf-call-iptables

Re: [libvirt-users] XML

2010-09-21 Thread Laine Stump
On 09/18/2010 04:52 PM, Glynn D. Reynolds wrote: Hi! I am new to libvirt. I would like to know where would you make the change to correct this error. I am not sure to add an entry in /etc/libvirt/network/default.xml or not. Could you provide ne with a current link to the documentation that

Re: [libvirt-users] Updating Multiple VM Guests?

2010-11-10 Thread Laine Stump
On 11/10/2010 01:20 PM, Kenneth Stailey wrote: --- On Wed, 11/10/10, Laine Stumpla...@laine.org wrote: From: Laine Stumpla...@laine.org Subject: Re: [libvirt-users] Updating Multiple VM Guests? To: libvirt-users@redhat.com Date: Wednesday, November 10, 2010, 12:41 PM On 11/10/2010 11:59 AM,

Re: [libvirt-users] ICMP into guest not working

2010-12-22 Thread Laine Stump
On 12/22/2010 04:02 PM, David Lane wrote: Good afternoon. I have a RHEL6 host, running RHEL 3.8 as a guest. The NIC is bridged. From the guest, I can ping successfully to a variety of network devices. From the host, I can ping successfully to a variety of network devices AND the guest OS.

Re: [libvirt-users] libvirt bridge configuration

2011-01-31 Thread Laine Stump
On 01/31/2011 12:18 AM, Justin Clift wrote: On 31/01/2011, at 5:52 AM, Taras Lipatov wrote: Hi Every one, I'm hoping some one can point me in the right direction. We are piloting KVM + Libvirt for migrating off Xen and I'm stuck with the network bridge configuration via libvirt. What we have

Re: [libvirt-users] Network/bridge questions

2011-02-05 Thread Laine Stump
On 02/05/2011 01:06 AM, Alex wrote: Hi, I have an fc14 install and would like to install a few kvm guests but am having difficulty with the networking. On the host I have disabled NetworkManager and configured a bridge which has eth0, the only physical interface on the server. I have a dhcp

Re: [libvirt-users] [libvirt] configuring network interface

2011-02-10 Thread Laine Stump
On 02/10/2011 08:50 AM, Tanguy ROZIER wrote: Your problem is related to udev : every reboot of VM, udev in VM checks the MAC address of the ethernet interface of the system to associate it with a static name (eth0, eth1...). If you change the MAC address of the Ethernet interface of your VM, it

Re: [libvirt-users] [libvirt] configuring network interface

2011-02-10 Thread Laine Stump
On 02/10/2011 09:51 AM, Tanguy ROZIER wrote: OK so he should fix the problem with libvirt to associate a fixed MAC to the interface of the VM : interface type='bridge' source bridge='br0'/ mac address=00:11:22:33:44:55/--this is here : you must *define* the MAC address

Re: [libvirt-users] Connecting to Standalone KVM

2011-03-04 Thread Laine Stump
On 03/04/2011 01:47 PM, Markiewicz, Patrick F (N-No Laurels) wrote: Hi, Can virsh be used to connect to a standalone KVM? I.e. I started a KVM from the command line, and I wondered how to connect to it. Virsh list shows no VMs. Thanks. No. libvirt (and consequently virsh) only knows

Re: [libvirt-users] how to restart the network connection of kvm guest OS ?

2011-03-25 Thread Laine Stump
On 03/25/2011 12:43 AM, Osier Yang wrote: ?? 2011??03??24?? 19:16, ?? : When a vm move from one VLAN(e.g. VLAN 1) to another VLAN (e.g. VLAN 2), it is needed to restart the network connection of guest OS, so that it can begin a dhcp discover and get a new ip again. But i can't find the

Re: [libvirt-users] Default network / net-edit

2011-04-18 Thread Laine Stump
On 04/18/2011 10:49 AM, ssa...@nrln.us wrote: How do you modify the default network parameters? The net-edit command within virsh does not seem to work as expected. Changes made to the configuration of a network do not take effect until the network has been net-destroyed, then net-started

Re: [libvirt-users] libvirt-bin MOSTLY fails to create default virtual network

2011-06-12 Thread Laine Stump
On 06/06/2011 03:24 PM, m m wrote: I have observed 3 scenarios after I reboot the host with 2 guests (which are supposed to autostart after boot/reboot of the host): 1. Default network is created but I can not ping guests. Gests don't have assigned IP address or they both have IP address

Re: [libvirt-users] Using libvirt with a preexisting network infrastructure

2011-08-04 Thread Laine Stump
On 07/29/2011 07:19 AM, Vegard Vesterheim wrote: On Fri, 29 Jul 2011 10:15:09 +0100 Tom Hughest...@compton.nu wrote: - virt-manager should offer the bridges as options when you create an interface and you just select the one you want. I do not see my bridges as options in virt-manager, but

Re: [libvirt-users] Graphical framebuffers confuse, XML format about spice

2011-09-08 Thread Laine Stump
On 09/07/2011 11:03 PM, huachao yao wrote: Hello, i want to start a guest OS in the server, and use spice to achieve graphical interaction with the guest OS. But when i config the XML file, i was confuse by spice . The graphic node is : graphics type='spice' port='5990' listen type='address'

Re: [libvirt-users] Graphical framebuffers confuse, XML format about spice

2011-09-08 Thread Laine Stump
On 09/07/2011 11:13 PM, huachao yao wrote: When i set the Graphic node as : graphics type='spice' listen type='network' network='rednet'/ /graphics the Error is : libvir: QEMU error : XML error: listen network 'rednet' had no usable address Unless you actually have a network

Re: [libvirt-users] [libvirt] how did libvirt manage Virtual Network?

2011-09-09 Thread Laine Stump
(This seems more appropriate for the libvirt-users mailing list) On 09/08/2011 10:16 PM, Wayne Xia wrote: Working at the network management, I am a bit confused about the VLAN model in libvirt. in the xml definition, there is a section as following: devices interface type='network'

Re: [libvirt-users] Second VM cannot get dhcp ip in NAT mode

2011-10-02 Thread Laine Stump
On 09/29/2011 11:45 PM, Magicloud Magiclouds wrote: On Fri, Sep 30, 2011 at 10:34 AM, Magicloud Magiclouds magicloud.magiclo...@gmail.com wrote: Hi, Yesterday I started to use libvirt with kvm under centos6. The first VM works great. Today I added another VM and start to initialize with

Re: [libvirt-users] QEMU hook on restore

2012-02-10 Thread Laine Stump
On 02/10/2012 01:45 PM, Eric Blake wrote: On 02/10/2012 05:43 AM, Székelyi Szabolcs wrote: I've also noticed that the domain description passed to the hook script doesn't contain the network device the host will be attached to (XPath: /domain/devices/interface/target/@dev). This is a

Re: [libvirt-users] QEMU hook on restore

2012-02-10 Thread Laine Stump
On 02/10/2012 03:35 PM, Eric Blake wrote: On 02/10/2012 12:42 PM, Laine Stump wrote: On 02/10/2012 01:45 PM, Eric Blake wrote: On 02/10/2012 05:43 AM, Székelyi Szabolcs wrote: I've also noticed that the domain description passed to the hook script doesn't contain the network device the host

Re: [libvirt-users] QEMU hook on restore

2012-02-10 Thread Laine Stump
On 02/10/2012 01:45 PM, Eric Blake wrote: On 02/10/2012 05:43 AM, Székelyi Szabolcs wrote: Hi, I'm using libvirt 0.8.3. It looks like to me that when a QEMU domain is restored from save, the hook is called with the stopped end - arguments. I've also noticed that the domain description

Re: [libvirt-users] QEMU hook on restore

2012-02-13 Thread Laine Stump
On 02/12/2012 09:15 PM, Székelyi Szabolcs wrote: On 2012. February 10. 16:59:09 Laine Stump wrote: On 02/10/2012 01:45 PM, Eric Blake wrote: From the documentation page, it looks like the prepare hook didn't exist until 0.9.0; my guess would be that the xml sent to the hook for start pre

Re: [libvirt-users] [libvirt] Fail to import available VM image

2012-02-14 Thread Laine Stump
On 02/14/2012 11:01 AM, Jun Koi wrote: On Tue, Feb 14, 2012 at 11:47 PM, Alex Jia a...@redhat.com wrote: Hi Jun, I assume you haven't changed libvirt default URI, it may be a issue, I want to know whether it works for you if you explicitly specify --connect qemu:///system with virt-install? I

Re: [libvirt-users] [libvirt] Problem with Open vSwitch and dnsmasq

2012-03-22 Thread Laine Stump
(Cc'ing to libvirt-users@redhat.com) On 03/22/2012 02:43 PM, Ansis Atteka wrote: On Thu, Mar 22, 2012 at 11:11 AM, Daniele Milani dano1...@hotmail.it mailto:dano1...@hotmail.it wrote: I think I could try the first solution. Can you explain me how do I create the port used by

Re: [libvirt-users] help:any docs for open vswitch supporting?

2012-04-13 Thread Laine Stump
On 04/12/2012 03:35 AM, yue wang wrote: hi everybody, i saw the new feature: network: support Open vSwitch. how to use this feature? are there any documents about that? i didn't find it on the website. It's a very new feature, only in libvirt-0.9.10 and newer. Here is the commit log that

Re: [libvirt-users] Guests can't connect to each other

2012-04-15 Thread Laine Stump
On 04/13/2012 03:17 PM, Richard W.M. Jones wrote: On Fri, Apr 13, 2012 at 02:33:24PM +0200, Anthony Bourguignon wrote: Hi, I'm using libvirt and qemu on Debian Wheezy. I'm having a strange behavior. Guests can't connect to each other when they're on the same host. On the host I'm using

Re: [libvirt-users] Guests can't connect to each other

2012-04-16 Thread Laine Stump
On 04/16/2012 07:02 AM, Anthony Bourguignon wrote: Le dimanche 15 avril 2012 à 10:19 -0400, Laine Stump a écrit : Your config looks fine (the important part is that you're using bridge mode for macvatap rather than private). I would suspect some sort of bug related to using macvtap on a vlan

Re: [libvirt-users] F14-F16 Upgrade Results in Win2003 Server Client BSOD 0x7f

2012-05-17 Thread Laine Stump
On 05/09/2012 08:11 AM, Thomas J. Baker wrote: Hello, I upgraded my kvm server from Fedora 14 to Fedora 16 and the only casualty was a Windows 2003 Server client that will no longer boot with and produces a BSOD. I admittedly know very little about Windows and this VM has been around -

Re: [libvirt-users] How can a bridge be optimized?

2012-06-13 Thread Laine Stump
On 06/11/2012 03:28 PM, Whit Blauvelt wrote: On Mon, Jun 11, 2012 at 07:22:48PM +0300, Henrik Ahlgren wrote: On 06/11/2012 06:34 PM, Whit Blauvelt wrote: Looking into background info on these, it looks like SR-IOV capability is specific to certain NICs and not documented for KVM/libvirt in any

Re: [libvirt-users] How can a bridge be optimized?

2012-06-13 Thread Laine Stump
On 06/11/2012 11:34 AM, Whit Blauvelt wrote: On Sat, Jun 02, 2012 at 11:43:34PM -0400, Andrew Cathrow wrote: On Jun 1, 2012 2:17 PM, Whit Blauvelt whit.v...@transpect.com wrote: I recall the kernel recently adding a new alternative for handling VM interfaces, but can't recall what it was

Re: [libvirt-users] VM dies with error regarding virConnectNumOfInterfaces

2012-07-21 Thread Laine Stump
On 07/20/2012 05:12 PM, Helga Velroyen wrote: Hi! I ran into a problem using a USB device and was wondering if you could help me. I'm running a Win XP SP3 in a VM with libvirt on a Xubuntu 11.10. I configured it to talk to several USB devices. With one particular device (a Phonak

Re: [libvirt-users] VM dies with error regarding virConnectNumOfInterfaces

2012-07-24 Thread Laine Stump
On 07/23/2012 05:59 AM, Helga Velroyen wrote: Hi! thanks for your mail! See my answers inline. I ran into a problem using a USB device and was wondering if you could help me. I'm running a Win XP SP3 in a VM with libvirt on a Xubuntu 11.10. I configured it to talk

Re: [libvirt-users] Can't NAT in KVM

2012-07-28 Thread Laine Stump
On 07/27/2012 03:15 AM, Borden Rhodes wrote: I have tried creating a Windows 8 Release Preview machine and a Kubuntu Live CD machine. Despite recognising the hardware and network interface, neither machine will connect to the Internet. From what I can see in both virtual machines, it seems

Re: [libvirt-users] Can't NAT in KVM

2012-07-28 Thread Laine Stump
On 07/28/2012 01:41 AM, Borden Rhodes wrote: On 28 July 2012 01:23, vipul borikar vipulc...@gmail.com wrote: Can you just disable the firewall and see whether it works or not . I did that. The virtual machine can get an IP address now but can't connect to the Internet. The VMs can, however,

Re: [libvirt-users] cannot start domain with SR-IOV interface

2012-10-24 Thread Laine Stump
On 10/15/2012 06:29 PM, Radhika Niranjan wrote: Hi, I've been using libvirt (versions 0.9.11.5, and recently upgraded to 0.10.2), and have been attaching an SR-IOV VF to my VM with the following device configuration: hostdev mode='subsystem' type='pci' managed='yes' source

Re: [libvirt-users] IPV6 configuration

2012-11-26 Thread Laine Stump
On 11/13/2012 04:05 PM, Patrick Chemla wrote: Hi, I am running package libvirt-0.9.11.6-1.fc17.x86_64 on a kernel-3.6.5-1.fc17.x86_64 Fedora 17. I have set up the host with an IPv6 address, and I made some successfull tests transferring in IPv6 mode to/from other hosts. I want to set up

Re: [libvirt-users] NWFilter and IPv6

2012-11-26 Thread Laine Stump
On 11/07/2012 03:22 AM, Guido Winkelmann wrote: Hi, Libvirt's nwfilter ships a number of useful filter scripts by default, but none to handle IPv6 traffic. Is there a particular reason for that, or is that just because nobody has got around to that yet? Hi Guido! I just saw this message

Re: [libvirt-users] what interface does virbr0 forward message to?

2012-11-26 Thread Laine Stump
On 11/26/2012 04:48 AM, Timon Wang wrote: brctl show That command won't show anything relevant to the question. The virbr0 bridge created by libvirt for the default network is not attached directly to any physical interfaces, so brctl will not show anything other than guest tap devices

Re: [libvirt-users] NWFilter and IPv6

2012-12-04 Thread Laine Stump
On 12/04/2012 10:22 AM, Guido Winkelmann wrote: Am Montag, 26. November 2012, 10:41:47 schrieb Laine Stump: On 11/07/2012 03:22 AM, Guido Winkelmann wrote: One interesting thing about dealing with IPv6 traffic is that hosts often have several auto-configured addresses, usually at least one

Re: [libvirt-users] openvswitch

2013-01-08 Thread Laine Stump
On 01/06/2013 01:07 PM, do...@mailoo.org wrote: Hello I'm a newbie with libvirt and I would like to know if when I compile libvirt (0.10 on amd64 debian) I have to specify an option for the management of openvswitch or if it's integrated in the code? (If you're compiling it yourself, why

Re: [libvirt-users] Problems with VM networking on Ubuntu Quantal

2013-01-08 Thread Laine Stump
On 01/02/2013 06:10 AM, Dale Amon wrote: I have shifted some VM's to a new server running Quantal and have had a world of trouble. The first one was caused by issues with an apparently compiled in path in their apparmor version which forced VM pools to be in /srv or similar rather than where

Re: [libvirt-users] firewalld, no dhcp and virsh

2013-01-17 Thread Laine Stump
On 01/16/2013 12:27 AM, Paul Wouters wrote: On all of the networks I create, I really don't want libvirt/KVM/virt-manager to do any kind of DHCP. I'm currently using xml files to feed into libvirt via virsh, for example: network name192_0_1/name bridge name='swan01' stp='on' delay='0'

Re: [libvirt-users] Libvirt node is not getting booted through network with KVM too

2013-01-17 Thread Laine Stump
On 01/16/2013 12:20 AM, Varun Bhatnagar wrote: Hi, Sorry for putting the images. Posting this question again. I am trying to boot my node through network with the following configuration (even with KVM it is not getting booted): * domain type='kvm'* * nameNode-2-3/name* * os* *

Re: [libvirt-users] http problem with (a particular url) and default (nat) networking

2013-01-28 Thread Laine Stump
On 01/26/2013 07:30 PM, John McFarlane wrote: At work I have a script that provisions a vm for use by employees. One step in this process is to fetch hadoop, which we happen to get from cloudera. I noticed the script always failed when I used libvirt's default networking (nat) but worked

Re: [libvirt-users] Networking problem - multiple guests using MacVTap in bridge mode

2013-02-03 Thread Laine Stump
On 02/01/2013 08:26 AM, Filip Korzeniowski wrote: Dear list, I am getting strange problems using a setup outlined in the subject. I want to run three guests on a single kvm host. The guests are connected through macvtap directly to the network device 'eth0' of the host using this

Re: [libvirt-users] netfilter+libvirt=(smth got broken?)

2013-03-27 Thread Laine Stump
On 03/26/2013 10:18 AM, Pablo Neira Ayuso wrote: On Fri, Mar 22, 2013 at 02:10:33PM -0400, Laine Stump wrote: On 03/22/2013 06:53 AM, Pablo Neira Ayuso wrote: On Thu, Mar 21, 2013 at 10:55:42AM +0100, Pablo Neira Ayuso wrote: Hi Eric, On Wed, Mar 20, 2013 at 09:18:21PM -0600, Eric Blake

Re: [libvirt-users] Host modifications

2013-03-28 Thread Laine Stump
On 03/25/2013 05:12 PM, Benoit Friry wrote: On 03/25/2013 16:21, Eric Blake wrote: On 03/25/2013 03:09 AM, Benoit Friry wrote: Examples: - editing interfaces with virsh or virt-manager modifies my /etc/network/interfaces. It's not clear at first glance that I can even cut myself from the host

Re: [libvirt-users] Problem with net-define using Open vSwitch bridge

2013-04-08 Thread Laine Stump
On 04/08/2013 02:44 PM, Will Dennis wrote: Update: I have upgraded from libvirt 0.9.8 on the virtualization server to libvirt 1.0.4. Now the net-define command works with the virtualport type='openvswitch' directive in it. So I did a net-edit on the networks, added that line in, and saved

Re: [libvirt-users] Issue with macvtap bridge and forwarding

2013-04-08 Thread Laine Stump
On 04/04/2013 10:48 PM, Matt LaPlante wrote: I have three hosts running Ubuntu 12.04 (libvirt 0.9.8). The configuration is one host running on bare metal while the other two are KVM guests. The first guest is my network router. It has a direct connection to a physical nic going out to the

Re: [libvirt-users] Faulty manual?

2013-04-09 Thread Laine Stump
On 04/09/2013 09:48 AM, Daniele Testa wrote: Hi, Look under examples: http://builder.virt-tools.org/artifacts/libvirt-virshcmdref/html/sect-attach-disk.html (root@h2)-(/)# virsh attach-disk vps_99 /dev/nbd2 vdb --address pci:.00.11.0 --persistent *error: command 'attach-disk' doesn't

Re: [libvirt-users] Issue with macvtap bridge and forwarding

2013-04-09 Thread Laine Stump
?) On Mon, Apr 8, 2013 at 3:24 PM, Laine Stump la...@laine.org wrote: On 04/04/2013 10:48 PM, Matt LaPlante wrote: I have three hosts running Ubuntu 12.04 (libvirt 0.9.8). The configuration is one host running on bare metal while the other two are KVM guests. The first guest is my network router

Re: [libvirt-users] Problem with net-define using Open vSwitch bridge

2013-04-09 Thread Laine Stump
On 04/08/2013 05:20 PM, Will Dennis wrote: Thanks, Laine, for your reply. The OVS bridge named 'vl20-ovsbr0' does exist, but it is an Open vSwitch fake bridge -- see http://blog.scottlowe.org/2012/10/19/vlans-with-open-vswitch-fake-bridge s/ for why I'm doing this. Here's some relevant output

Re: [libvirt-users] Problem with net-define using Open vSwitch bridge

2013-04-09 Thread Laine Stump
! Will -Original Message- From: sendmail [mailto:justsendmailnothinge...@gmail.com] On Behalf Of Laine Stump Sent: Tuesday, April 09, 2013 10:47 AM To: libvirt-users@redhat.com Cc: Will Dennis Subject: Re: [libvirt-users] Problem with net-define using Open vSwitch bridge On 04/08/2013 05:20

Re: [libvirt-users] Port forwarding for KVM

2013-04-12 Thread Laine Stump
On 04/12/2013 07:06 AM, ??? (Wei-Ren Chen) wrote: Hi all, Let me illustrate what I want to do. I want to launch a QEMU inside a KVM virtual machine, then get that QEMU's vnc output. I am using libvirt 0.9.13 (`libvirtd --version`), and attach is my vm's original config xml. Is there a

Re: [libvirt-users] how to start virbr0-nic when start NAT network virbr0

2013-04-15 Thread Laine Stump
On 04/14/2013 09:56 PM, yue wrote: in my case each ethernet must in UP status even it is a NAT network where is the point i can start its virt-ethernet when i start a NAT-network? I've discussed this with (who I *think* is) the author of this email on irc, but just in case anyone in the

Re: [libvirt-users] network under session

2013-04-15 Thread Laine Stump
On 04/13/2013 02:42 PM, Evaggelos Balaskas wrote: Perhaps a stupid question, but i will give it a try: I have two machines on libvirtd session and network on usermod. Can i (somehow) cross these two machines ? machineA: ip addr add 10.10.10.101/24 dev eth0 ip route add default via

Re: [libvirt-users] dnsmasq does not start

2013-04-24 Thread Laine Stump
On 04/24/2013 03:23 AM, Alexey Kardashevskiy wrote: Hi! I am trying to run tap networking with libvirtd. My test system is Fedora18/ppc64, libvirt 1.0.4 (compiled from git and installed). On another system with Fedora17/ppc64 with the same settings, dnsmasq is running. All configs in

Re: [libvirt-users] Basic Network Connections

2013-04-29 Thread Laine Stump
On 04/26/2013 02:41 PM, Slater, Joseph wrote: Hi, If I have these fragments in a domain definition, the guest will start with eth0 assigned by dhcp to an address on my lan. Things seem to work according to the documentation I can find. network namedirect-macvtap/name

Re: [libvirt-users] Using source installed open vswitch with libvirt(or virsh).

2013-05-31 Thread Laine Stump
On 05/27/2013 05:22 AM, ??? wrote: At that time, /var/log/libvirt/libvirtd.log (these are also translated) - 2013-05-23 04:32:14.588+: 11455: error : virNetDevGetMTU:343 : Cannot get interface MTU on 'ovsbr0': No such device 2013-05-23

Re: [libvirt-users] Libvirt, virtmanager Windows 7 installation partition

2013-07-04 Thread Laine Stump
On 07/04/2013 04:21 PM, Roland Giesler wrote: I need to use an existing windows 7 installation in a virtual machine form a libvirt host running Ubuntu 12.10. Windows 7 installs on two partitions. There a 100MB boot partitiona and then the main partition for the installation. If I boot the

Re: [libvirt-users] Modify Iptables Rules (virbr0 virbr1)

2013-08-13 Thread Laine Stump
On 08/06/2013 06:38 PM, Jorge Fábregas wrote: On 07/31/2013 11:01 AM, Jorge Fábregas wrote: That is, the first network can reach all other networks (just because it happens to be the first one defined). Is this the intention (only default can talk to the others but not the other way around)?

Re: [libvirt-users] SR-IOV Pool Availability

2013-09-26 Thread Laine Stump
On 09/20/2013 02:28 AM, Dax Kelson wrote: I have an Intel X540 SR-IOV NIC in a box with ACS support running RHEL6.4. Hi Hongming, I'm hoping you can please help with two issues: 1. The pool works, but I transparent VLAN with the pool does not. I have to manually run ip afterwards to get it

Re: [libvirt-users] network filter and openvswitch bridge

2013-10-07 Thread Laine Stump
On 10/01/2013 10:27 AM, Pavel Tokarev wrote: Hello all! I try to use network filters for openvswitch interfaces. This is the xml configuration of my bridge interface interface type='bridge' mac address='00:11:22:33:44:55'/ source bridge='virbr1'/ virtualport type='openvswitch'

Re: [libvirt-users] Automatically assign static ipv4 via dhcp to new VMs (Tim)

2013-10-07 Thread Laine Stump
On 10/05/2013 08:22 PM, Chandana De Silva wrote: You can do this with the built in dhcp server for the virtual network. The definition is passed to dnsmasq. ... ip address=192.168.122.1 netmask=255.255.255.0 dhcp range start=192.168.122.100 end=192.168.122.254 / host

Re: [libvirt-users] Automatically assign static ipv4 via dhcp to new VMs

2013-10-07 Thread Laine Stump
On 10/04/2013 12:09 PM, Tim wrote: Hi guys, I'm running a KVM/libvirt host in a datacenter and got a fancy IPv4 subnet from my provider. I'm able to assign IPs from that subnet via dhcp to my VMs: host01 ~ # virsh net-dumpxml internet network connections='3' nameinternet/name

Re: [libvirt-users] sr-iov with openvswitch possible?

2013-10-30 Thread Laine Stump
On 10/23/2013 05:17 PM, Vasiliy Tolstov wrote: Hi all. I'm try to find answer for my qustion in google, but i can't. if i use openvswitch virtualport in domain and want to use sr-iov does it possible? Or if i use sr-iov traffic not goes to openvswitch? What do you mean by use sr-iov? If you

Re: [libvirt-users] bridged networking using VLAN : guest with 2 NIC

2013-10-30 Thread Laine Stump
(There is no need or advantage to Cc'ing individuals who are already subscribed to the mailing list.) On 10/28/2013 05:34 PM, Dan Sa wrote: hello all, I have been trying to set-up bridged network with VLAN and not able to succeed as many tutorials address only single NIC. I am trying to

Re: [libvirt-users] Automatically assign static ipv4 via dhcp to new VMs

2013-10-30 Thread Laine Stump
On 10/18/2013 12:31 AM, Tim wrote: Thanks for the hint with net-update, thats exactly that what I was looking for. Am 07.10.2013 13:10, schrieb Laine Stump: Fortunately, in libvirt 0.10.0 and later (I think that is the version it was added) you can use the virsh net-update command to add net

Re: [libvirt-users] Problem with bridged network configuration

2013-11-13 Thread Laine Stump
On 11/12/2013 06:52 PM, Bob Doolittle wrote: For the record - I figured this out so am sharing the result for posterity: The issue was that I didn't follow the instructions literally. Since, once booted, my primary NIC name was em1 I assumed I had to create an initscript called ifcfg-em1

Re: [libvirt-users] macvtap direct and ip spoofing

2013-11-19 Thread Laine Stump
On 11/19/2013 11:00 AM, vlad halilov wrote: Hi there. I have configured kvm domain (rhel6.4) with ethernet bridged over macvtap, and found no filtration applied except mac. 'virsh' just silently ignoring attributes 'filterref' and 'ip address' in different formats. No error on validate stage.

Re: [libvirt-users] Using hostdev to plug a PCI-E host device into Q35 pcie-root port

2013-11-19 Thread Laine Stump
On 11/15/2013 03:35 PM, Thomas Kuther wrote: Hello, I'm trying to migrate a working qemu command line configuration to libvirt. The part I'm currently failing on is: $ qemu-system-x86_64 -M Q35 ... -device vfio-pci,host=05:00.0,bus=pcie.0 The right way to translate this into libvirt XML

Re: [libvirt-users] Asterisk, pci passthrough, and pri card

2013-11-19 Thread Laine Stump
On 11/15/2013 05:18 PM, Mauricio Tavares wrote: Has anyone been successfully running asterisk in libvirt with a pri card? I thought we had it working but we seem to be experiencing long (1h+) calls being dropped. Since you've got it working at all, that means that libvirt has done its

Re: [libvirt-users] layer2 tunnel between guests across hosts

2013-12-03 Thread Laine Stump
On 12/03/2013 11:45 AM, sujay g wrote: Hi, Is it possible to setup layer2 tunnels between guests across hosts? Using vrbr? -- i.e the Guest is unaware. On Host 1: guest (a) --- vrbr0 --- | | On Host 2:

Re: [libvirt-users] How to Position a Network Interface in Physical PCI Slot

2013-12-17 Thread Laine Stump
On 12/17/2013 08:02 AM, Thiru Murugan wrote: Hi , I would like to assign a Network Interface card to Physical Slot X in the virtual machine, I have gone through the XML file definition[Now i have some idea on how to position the Network Interface in Logical PCI Slot.] What is logical slot

Re: [libvirt-users] assign static external IP to container

2013-12-20 Thread Laine Stump
On 12/16/2013 04:47 AM, Gao feng wrote: On 12/14/2013 10:51 AM, scar wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gao feng @ 12/12/2013 10:18 PM: I saw there are two bridge br0 and virbr0 in your host. which bridge the libvirt uses? what's result of #virsh net-list ? well i

Re: [libvirt-users] Best practice for custom iptables rules

2014-01-08 Thread Laine Stump
On 01/08/2014 01:43 PM, ZeroUno wrote: Hi, I'm using libvirt to manage some VMs on a CentOS host, and I need some custom iptables rules to always be in place for some communications to happen, e.g. between the VMs and the outside world in both directions. Some of these rules need to be at

Re: [libvirt-users] Best practice for custom iptables rules

2014-01-09 Thread Laine Stump
On 01/09/2014 12:38 PM, ZeroUno wrote: Il 08/01/14 16:17, Laine Stump ha scritto: On 01/08/2014 01:43 PM, ZeroUno wrote: Also, regarding the iptables restart problem described in the last paragraph at http://libvirt.org/firewall.html, is there really no acceptable way to make libvirt add its

Re: [libvirt-users] Best practice for custom iptables rules

2014-01-13 Thread Laine Stump
On 01/10/2014 06:02 PM, ZeroUno wrote: Il 09/01/14 13:40, Laine Stump ha scritto: you asked for best, not ideal :-) Aside from eliminating all use of ;) solve by itself. But that same paragraph also tells you how to have the iptables service signal libvirt to reload its iptables rules

Re: [libvirt-users] Fake Network Interface

2014-01-14 Thread Laine Stump
On 12/30/2013 11:25 AM, Andrew Martin wrote: Is there a supported method for creating a fake network interface in a VM's configuration file? I was using the below construct, however it is no longer working for me in recent versions of libvirt (libvirt 1.0.2 with qemu-kvm 1.4.0). I assume

Re: [libvirt-users] virDBusCallMethod:1173 : Launch helper exited with unknown return code

2014-01-15 Thread Laine Stump
On 01/15/2014 10:05 AM, Karoline Haus wrote: Good morning, I'm using libvirtd on Gentoo. This is libvirt version: 1.1.3.1 I have trouble starting a VM using virsh start $vm. I do this as root, because as non-root user it did not work at all (especially it failed attaching to the networks).

Re: [libvirt-users] How to update filterref of a vm on the fly?

2014-01-17 Thread Laine Stump
On 01/15/2014 05:01 PM, Gao Yongwei wrote: No, I don't believe we have a way to update the parameters. Hi, Daniel :-),it would be very nice if there is a way to update filterref , :-) thanks. Patches welcome :-) (really - if someone (with reasonable experience programming in C)

Re: [libvirt-users] Newbie question about network setup

2014-01-23 Thread Laine Stump
On 01/23/2014 02:45 PM, hubert depesz lubaczewski wrote: On Wed, Jan 22, 2014 at 07:41:51PM -0400, Jorge Fábregas wrote: On 01/22/2014 09:44 AM, hubert depesz lubaczewski wrote: Is the solution to it addition of 5 separate networks in libvirt, and then connecting each guest to its own network?

Re: [libvirt-users] intel quad gigabit nic and pci passthrough

2014-01-28 Thread Laine Stump
On 01/25/2014 06:54 PM, Ivan Kabaivanov wrote: Hi all I have a very weird case of pci passthrough. I have a machine with 7 network interfaces, all of them intel. Four of them are on one quad giga ethernet device. If I manually unbind the devices and allow qemu to use them, with intel

Re: [libvirt-users] SR-IOV: no traffic isolation between VFs with Broadcom 10Gbps cards

2014-02-05 Thread Laine Stump
On 02/04/2014 05:10 PM, Yoann Juet wrote: Hi all, I'm testing on debian/unstable SR-IOV feature with Broadcom BCM57810 cards and KVM hypervisor: Compiled against library: libvirt 1.2.1 Using library: libvirt 1.2.1 Using API: QEMU 1.2.1 Running hypervisor: QEMU 1.7.0 bnx2x - firmware

Re: [libvirt-users] F20 Virt-Manager with MacVTap not working

2014-02-12 Thread Laine Stump
On 02/12/2014 10:07 AM, John Obaterspok wrote: Hello, I've setup a VM with default networking (NAT) and this works fine but hosts on my LAN can't get to the VM since it uses NAT. When I try to set network to use MacVTap with either default or bridged I get no networking for the VM. Any

Re: [libvirt-users] F20 Virt-Manager with MacVTap not working

2014-02-13 Thread Laine Stump
more MacVtap devices to choose from. 2014-02-12 11:41 GMT+01:00 Laine Stump la...@laine.org mailto:la...@laine.org: I am using macvtap on F20 with no problems. Which device are you selecting to connect the macvtap device to? You should use the physical device that your host

Re: [libvirt-users] bridge / ubuntu / no arp reply

2014-02-26 Thread Laine Stump
On 02/26/2014 02:56 PM, Michal Privoznik wrote: On 25.02.2014 22:45, François Chenais wrote: Hello I'm trying to setup a bridged guest on an ubuntu 13.10 but it doesn't work. (Everything is ok with NAT) Network sniffing shows that arp replies don't come back to the guest. Test 1

Re: [libvirt-users] POOL of SRIOV networks with multiple PFs

2014-02-27 Thread Laine Stump
On 02/26/2014 08:43 PM, Dax Kelson wrote: On Wed, Feb 26, 2014 at 11:22 AM, john fisher j...@jpfisher.net mailto:j...@jpfisher.net wrote: I get this error: error: Failed to create domain from ./vm0.xml error: internal error Process exited while reading console log output:

Re: [libvirt-users] PCI Passthrough of 2 identical devices

2014-03-12 Thread Laine Stump
On 03/12/2014 06:29 AM, Thomas Jagoditsch wrote: hi, i have a small trouble with pci-passthrough. i have a working configuration passing a tv card into the guest, all is fine and dandy. as soon as i add my second identical card into the host i cant start the guest anymore, whether i add

Re: [libvirt-users] questions on clock catchup

2014-03-13 Thread Laine Stump
On 03/13/2014 07:04 AM, Martin Kletzander wrote: On Thu, Mar 13, 2014 at 02:49:13AM -0400, Jincheng Miao wrote: In http://libvirt.org/formatdomain.html#elementsTime , we could find there are three attributes of catchup tickpolicy: limit, threshold and slew. The catchup element has three

Re: [libvirt-users] How assign static ip using NAT?

2014-03-15 Thread Laine Stump
On 03/14/2014 05:12 PM, Peng Yu wrote: Hi, I have the following configuration in the xml of the guest. But if I set a static ip on the guest, then the guest can not access the outside network. I don't find an example on how to set a static IP address for the guest. Could anybody know how to

Re: [libvirt-users] Changing dnsmasq DNS settings for virtual machines

2014-04-10 Thread Laine Stump
On 04/06/2014 08:33 AM, Johannes Kastl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everyone, maybe this is an old fart, but I cant get it to work. I am running libvirt on a laptop, where a dnsmasq is already running to delegate dns info for my local (not-public) network. My

Re: [libvirt-users] Changing dnsmasq DNS settings for virtual machines

2014-04-14 Thread Laine Stump
On 04/13/2014 10:23 PM, Johannes Kastl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Laine, thanks for the answer. On 13.04.14 16:13 Laine Stump wrote: There is no provision for that. If you want additional hosts to be known by the libvcirt instance of dnsmasq, you must enter

Re: [libvirt-users] What's the meaning of sub-element ip address='X.X.X.X' in interface type='bridge' of domain xml?

2014-04-17 Thread Laine Stump
On 04/17/2014 10:42 AM, Jianwei Hu wrote: Hi guys, I saw this sub-element in http://libvirt.org/firewall.html, there is some confusion, what's the meaning of sub-element ip address='X.X.X.X' in interface type='bridge' of domain xml? The detail interface in domain xml as below: interface

Re: [libvirt-users] virtual subnet

2014-04-18 Thread Laine Stump
On 04/18/2014 01:58 AM, Lucio Crusca wrote: Hello all, I need to setup a virtual subnet to create a test AD domain (server + clients): guests need to talk to each other, they need to reach the internet through a virtual router with nat (virbr0?), broadcasts must not reach the host nor the

Re: [libvirt-users] routed subnet problem

2014-04-22 Thread Laine Stump
On 04/20/2014 06:31 AM, Patric Buskas wrote: Hi, I'm new to libvirt so please bear with me. I am trying to set up a routed subnet on my laptop with libvirt, hoping it to be able to communicate with all servers in my nw. My laptop is on a subnet, 192.168.2.0/24 http://192.168.2.0/24, with a

Re: [libvirt-users] virsh update-device: need to clear network filters

2014-05-01 Thread Laine Stump
On 04/30/2014 05:01 PM, Oleg Bondarev wrote: Hi, Can anyone please help with the following: I have a running instance with interface interface type='bridge' mac address='fa:16:3e:ba:a4:67'/ source bridge='br100/ target dev='vnet0'/ model type='virtio'/

Re: [libvirt-users] virsh update-device: need to clear network filters

2014-05-01 Thread Laine Stump
On 05/01/2014 12:01 PM, Laine Stump wrote: On 04/30/2014 05:01 PM, Oleg Bondarev wrote: Hi, Can anyone please help with the following: I have a running instance with interface interface type='bridge' mac address='fa:16:3e:ba:a4:67'/ source bridge='br100/ target dev

Re: [libvirt-users] routed mode

2014-05-19 Thread Laine Stump
On 05/17/2014 11:06 PM, JvR O wrote: /etc/sysctl.conf net.ipv4.ip_forward = 1 centos 65 host has static private ip 192.168.1.15 I have added a route ip route add 192.168.1.0/24 http://192.168.1.0/24 via 192.168.1.15 but each time I use 'service network restart' the new route disappears

Re: [libvirt-users] [netcf] Why netcf can not rename a existing physical interface dynamically by itself?

2014-05-23 Thread Laine Stump
On 05/23/2014 06:46 AM, Jianwei Hu wrote: Hi All, I have a usage question about netcf. Why netcf can not rename a existing physical interface dynamically by itself? The name of a physical interface is determined by lower levels of the operating system, and can't be modified by netcf. the

Re: [libvirt-users] [netcf] Why netcf can not rename a existing physical interface dynamically by itself?

2014-05-23 Thread Laine Stump
On 05/23/2014 03:02 PM, jiahu wrote: On 05/23/2014 04:56 PM, Laine Stump wrote: On 05/23/2014 06:46 AM, Jianwei Hu wrote: Hi All, I have a usage question about netcf. Why netcf can not rename a existing physical interface dynamically by itself? The name of a physical interface

  1   2   3   4   >