You are not logged in.

#1 2021-09-16 15:15:37

sree32awda
Member
Registered: 2021-08-28
Posts: 8

Network Interface virbr0 is down, unable to start it

I have installed and setup QEMU and virt-manager, and have installed a kali-linux VM. I tried using the default NAT netwok from virt-manager but I cant connect to the network in my VM
the settings is as follows:

[root@HomeDesktop sree32]# cat /etc/libvirt/qemu/networks/default.xml 
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  virsh net-edit default
or other application using the libvirt API.
-->

<network>
  <name>default</name>
  <uuid>1cb77b7d-ca0b-437e-b05f-1a9617203b28</uuid>
  <forward mode='nat'/>
  <bridge name='virbr0' stp='on' delay='0'/>
  <mac address='52:54:00:76:f4:6c'/>
  <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>

Listing all the services using virtsh

[sree32@HomeDesktop ~]$ virsh list --all
 Id   Name   State
--------------------

Viewing the interface, it says that it is down

3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 52:54:00:76:f4:6c brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
       valid_lft forever preferred_lft forever

I tried manually starting the interface using ip link set up virbr0, but it does not respond with anything

However, virt-manager says the network is up
The img is here: https://i.postimg.cc/02ZCM8qn/Selection-014.png

Offline

#2 2021-09-17 01:51:48

Kinrar
Member
Registered: 2021-09-12
Posts: 13

Re: Network Interface virbr0 is down, unable to start it

Did some testing on my computer. From what I understand, the bridge is only brought up when at least one VM is started, and from what I can see in your post ("virsh list" output) there is none, so the down state is to be expected.

Offline

#3 2021-09-17 01:56:36

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,231
Website

Re: Network Interface virbr0 is down, unable to start it

What does brctl tell you? It looks like the bridge it up, but there's no interfaces (physical or virtual) joined to it?

Offline

Board footer

Powered by FluxBB