Re: Capture pcap for each VM

2025-03-30 Thread Laine Stump via Users
(added users@lists.libvirt.org back into the Cc so that anyone else asking the same question in the future will benefit from the answer) On 3/28/25 8:12 AM, James Liu wrote: Hi Laine, I tried your first solution but somehow it didn't work(the network is NAT). I edited the xml in virt-manager

Re: Capture pcap for each VM

2025-03-26 Thread Laine Stump via Users
On 3/26/25 6:03 AM, icefrog1...@gmail.com wrote: Hi, Is possible to capture pcaps for each VM individually? QEMU supports command line '-object filter-dump, file=test.pcap'. I'm not sure if Libvirt supports this features, or there are better ways to solve this. libvirt doesn't diredctly sup

Re: Running DHCP server inside of the Guest VM instead of the host.

2025-03-26 Thread Laine Stump via Users
On 3/25/25 9:19 AM, gameplayer2019pl--- via Users wrote: Hello, I've recently tried to run KEA DHCP server inside of a Debian VM and the following host interface configuration, attached to that VM: ``` netasn-dhcpv6 ``` But whenever I'm trying to run dhclient on an

Re: So hey let's talk about this nftables ordering situation.

2025-02-25 Thread Laine Stump
On 2/25/25 1:58 AM, Robin Lee Powell wrote: On Mon, Feb 24, 2025 at 04:25:58PM -0500, Laine Stump wrote: On 2/21/25 7:02 PM, robinleepow...@gmail.com wrote: So I, like many other people, have hit problems with nftables ordering, as has been discussed on this mailing list MANY TIMES. This

Re: So hey let's talk about this nftables ordering situation.

2025-02-24 Thread Laine Stump
On 2/21/25 7:02 PM, robinleepow...@gmail.com wrote: So I, like many other people, have hit problems with nftables ordering, as has been discussed on this mailing list MANY TIMES. This whole thing seemed ridiculous so I asked the nftables people about what one is *supposed* to do in this situat

Re: How can I control iptables/nftables rules addition on libvirtd host on Debian 12 ?

2025-01-30 Thread Laine Stump
On 1/30/25 10:48 AM, Andrea Bolognani wrote: On Wed, Jan 29, 2025 at 12:24:47PM -0500, Laine Stump wrote: On 1/29/25 8:39 AM, oza.4...@gmail.com wrote: (BTW, if your distro has libvirt 10.4.0 or newer, you can tell it to use nftables rules rather than iptables - just add: firewall_backend

Re: How can I control iptables/nftables rules addition on libvirtd host on Debian 12 ?

2025-01-29 Thread Laine Stump
On 1/29/25 8:39 AM, oza.4...@gmail.com wrote: Hello, When I install libvirt-daemon on a Debian 12 host, I can see the iptables rules below beeing added. *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :LIBVIRT_FWI - [0:0] :LIBVIRT_FWO - [0:0] :LIBVIRT_FWX - [0:0] :LIBVIR

Re: reconfiguring a two vms bridge to two vms + the host with proper iface naming

2024-10-28 Thread Laine Stump
On 10/24/24 12:47 PM, daggs via Users wrote: Sent: Thursday, October 24, 2024 at 7:43 PM From: "Daniel P. Berrangé" To: "daggs" Cc: users@lists.libvirt.org Subject: Re: reconfiguring a two vms bridge to two vms + the host with proper iface naming On Thu, Oct 24, 2024 at 06:18:26PM +0200,

Re: FreeBSD dhcp failing with UDP checksum errors

2024-10-20 Thread Laine Stump
On 10/14/24 12:06 PM, Daniel P. Berrangé wrote: On Mon, Oct 14, 2024 at 04:55:37PM +0100, Daniel P. Berrangé wrote: On Mon, Oct 14, 2024 at 04:37:42PM +0100, Richard W.M. Jones wrote: On Mon, Oct 14, 2024 at 10:46:22AM -0400, Laine Stump wrote: On 10/14/24 5:35 AM, Richard W.M. Jones wrote

Re: FreeBSD dhcp failing with UDP checksum errors

2024-10-14 Thread Laine Stump
On 10/14/24 5:35 AM, Richard W.M. Jones wrote: On Mon, Oct 14, 2024 at 09:52:13AM +0100, Daniel P. Berrangé wrote: Urgh, I wonder if this is fallout from switching to NFT instead of iptables. I can list the firewall rules if you tell me what I'm looking for ... IIUC, the NFT kernel maintain

Re: Host network conflicting with guests network

2024-09-19 Thread Laine Stump
On 9/18/24 11:39 AM, bd730c5053df9efb via Users wrote: Hi Laine! Thank you very much for your answer, it does make perfect sense but my use case is much simpler. The two servers are two samba 4 ad domain controllers and I have to demote one of them remove it from the net and then add another

Re: Host network conflicting with guests network

2024-09-17 Thread Laine Stump
On 9/17/24 12:27 PM, bd730c5053df9efb via Users wrote: Hi! Thanks for the reply and I'm sorry if my question wasn't clear enough. I have a network, let's say 192.168.0.0/24, and two servers 192.168.0.1 and 192.168.0.2. On this same network I have a wokstation, lets call it 192.168.0.100 which

Re: Host network conflicting with guests network

2024-09-17 Thread Laine Stump
On 9/17/24 10:07 AM, Alvin Starr via Users wrote: On 2024-09-17 08:05, bd730c5053df9efb via Users wrote: Hi all! I have a question about networking and haven't been able to find it online. I need to replicate a server installation in a host to be able to test a procedure but the host is on th

Re: autostart fails on host boot. NAT-bridge doesn't come up fast enough

2024-08-26 Thread Laine Stump
On 8/26/24 3:33 PM, Fred Clift wrote: # diff b a 83c83 <     --- >     85c85 <       --- >       Here is the config difference before and after... All is working now as it should.  Thanks very much. I'm glad to hear that! (It means we don't need to go off searching for an obscure order

Re: splitting a bt wifi combo between two vms

2024-08-26 Thread Laine Stump
On 8/26/24 1:07 PM, daggs via Users wrote: Greetings Michal, Sent: Monday, August 26, 2024 at 12:42 PM From: "Michal Prívozník" To: "daggs" , users@lists.libvirt.org Subject: Re: splitting a bt wifi combo between two vms On 8/26/24 10:37, daggs via Users wrote: Greetings, I have the followi

Re: autostart fails on host boot. NAT-bridge doesn't come up fast enough

2024-08-26 Thread Laine Stump
On 8/26/24 12:33 PM, Fred Clift wrote: I have 18 VMs that are all supposed to attach to a NAT-bridge. The bridge definition seems to be ok - it used to work when I didn't have any guests defined.  It worked when I had only a couple guests defined.  Now that I have 18 of them, it seems to take

Re: cap seach for session libvirt

2024-08-08 Thread Laine Stump
On 8/8/24 2:40 AM, daggs wrote: Greetings Laine, Sent: Thursday, August 08, 2024 at 6:16 AM From: "Laine Stump" To: users@lists.libvirt.org Cc: "daggs" Subject: Re: cap seach for session libvirt On 8/7/24 2:25 PM, daggs via Users wrote: Greetings, I'm working on

Re: cap seach for session libvirt

2024-08-07 Thread Laine Stump
On 8/7/24 2:25 PM, daggs via Users wrote: Greetings, I'm working on allowing a session vm to create a tap iface. the vm has this defintion: If you were able to create a tap device with session-mode libvirt, what would you do with it? It's not connected to anything, and your session-mo

Re: setting bridge for VMs IP assignment by router's DHCP server

2024-08-02 Thread Laine Stump
On 8/2/24 11:44 AM, Germano Massullo wrote: I am running a libvirt hostmachine (Fedora 40) which has 192.168.1.6 IP address, assigned by router's DHCP server. I want the libvirt VMs IPs to be assigned by router's DHCP server, so I tried to setup a bridge via # virsh net-define foo.xml and tryin

Re: Statically Defining a Network

2024-06-13 Thread Laine Stump
On 6/12/24 6:42 AM, Andrea Bolognani wrote: On Tue, Jun 11, 2024 at 04:23:33PM GMT, richard.schmitt--- via Users wrote: We install libvirt in a AlmaLinux 9 Kickstart file. The version of libvirt we are using is 10.0.0. What we'd like to do is to statically define a network in the kickstart fil

Re: How can I create a VM in virt-manager that can access the internet through the host but can't even see the host or other devices on the LAN?

2024-05-22 Thread Laine Stump
On 5/17/24 11:16 AM, Michal Prívozník wrote: On 5/17/24 14:21, Anchal Nigam wrote: I don't have a router that I can create custom rules to block things. I was hoping there would be a way to do this entirely on the host but it doesn't look like it is possible. macvtap IS purely host thing. No

Re: Set up networking so the VM Guest uses LAN DHCP?

2024-02-27 Thread Laine Stump
On 2/27/24 6:52 AM, Michal Prívozník wrote: On 2/25/24 10:34, Jeffrey Walton wrote: Hi Everyone, I'm having trouble understanding what I need to do so my VM guests use the DHCP server on my LAN. I've read , but I don't see the

Re: non-root bridge set-up on Fedora 39 aarch64

2024-02-19 Thread Laine Stump
On 2/19/24 10:21 AM, Chuck Lever wrote: Hello- I'm somewhat new to the libvirt world, and I've encountered a problem that needs better troubleshooting skills than I have. I've searched Google/Ecosia and stackoverflow without finding a solution. I set up libvirt on an x86_64 system without a pro

Re: trustGuestRxFilters broken after upgrade to Debian 12

2024-01-22 Thread Laine Stump
On 1/22/24 1:55 AM, Yalan Zhang wrote: Hi Paul, May I know the purpose of  "trustGuestRxFilters='yes'" setting in your configuration? Refer to [1], currently this "trustGuestRxFilters" parameter  is only supported for the virtio device model and for macvtap connections on the host. The hostd

Re: How can I have a list of interfaces in virt-manager network config

2023-12-12 Thread Laine Stump
On 12/8/23 10:48 AM, Marc Haber wrote: [very detailed description of a network setup, the important point being that there is a bridge created outside of libvirt] I can attach a VM to that vlan in virt-manager by selecting the virtual NIC, network source: bridge device, device name: int188. T