[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: virt-manager and qemu: virtual networking missing



On Sun, 26 Oct 2025 09:39:42 +0100
didier gaumet <didier.gaumet@gmail.com> wrote:

> Le 26/10/2025 à 02:11, Charles Curley a écrit :
> [...]
> > In the past installing virt manager was sufficient; the virtual
> > network Just Worked. Not so now.  
> 
> Hello,
> 
> Here (Trixie, Gnome (thus network-manager)) this is still the case:

I run xfce, but I don't think that is significant.


> bridge-utils is not installed, dnsmasq-base is installed as a

The lack of bridge-utils is interesting.

> dependency of network-manager. Just installing virt-manager was
> sufficient to have network in the guests.
> 
> Please verify your setup in virt-manager (QEMU/KVM, right click, 
> details, virtual networks, XML), you should have something like that:
> <network>
>    <name>default</name>
>    <uuid>849111bd-18c3-4ae2-857b-1a6f2ee88b32</uuid>
>    <forward mode="nat">
>      <nat>
>        <port start="1024" end="65535"/>
>      </nat>
>    </forward>
>    <bridge name="virbr0" stp="on" delay="0"/>
>    <mac address="52:54:00:cc:c4:91"/>
>    <ip address="192.168.122.1" netmask="255.255.255.0">
>      <dhcp>
>        <range start="192.168.122.2" end="192.168.122.254"/>
>      </dhcp>
>    </ip>
> </network>
> 
> in the "details" tab (instead of the "XML" one) please verify that
> the state is active and that automatic start is checked
> 
> My setup was automatically created, if that is not the case, you can 
> create it manually
> 

I have the default network, XML and all, as you describe. What I don't
have is the interface virbr0 for the default network to use. What I
need to know is how to set the interface virbr0 up.

Thanks.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


Reply to: