Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
      virbr0    Link encap:Ethernet  HWaddr a2:17:ea:e3:47:7e  
      inet addr:  Bcast:  Mask:
      UP BROADCAST MULTICAST  MTU:1500  Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0 
      RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

can anyone tell me what this interface does and how I can change the IP address? I want to see if it is the reason my guests cannot connect.

share|improve this question

The virbr0, or "Virtual Bridge 0" interface is used for NAT (Network Address Translation). It is provided by the libvirt library, and virtual environments sometimes use it to connect to the outside network.

It was likely bundles with a VM software you installed at some point. If you'd like to remove it, and you're sure nothing else depends on it, you can use the following command:

sudo brctl delbr virbr0

(from UbuntuForums)

It is unlikely that the virtual bridge is affecting your guests' ability to connect to the Internet, though.

share|improve this answer
thanks for the quick response. Do you know how i can change the address that was assigned by default? – user125242 Jan 22 '13 at 22:11
it looks like my guests are being assigned to the virbr0 bridge even though the ip is in a different range and I can not assign the interface to br0. – user125242 Jan 22 '13 at 22:14
You may need to run sudo ip link set dev virbr0 down first to disable the interface. Thanks +1 – Wilf Jul 15 '15 at 19:16
What if it just started showing up out of the blue? – KI4JGT Nov 18 '15 at 17:54

For changing the ip address of virbr0 under ubuntu 12.04

sudo cp /var/lib/libvirt/network/default.xml /tmp/default.xml
sudo vi /tmp/default.xml # edit the ip address
sudo virsh net-destroy default
sudo virsh net-define /tmp/default.xml
sudo virsh net-start default

You could refer to:

share|improve this answer

If you are unable to connect to the internet due to "vibr0" interface then follow the commands below

virsh net-destroy default
virsh net-undefine default
service libvirtd restart
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.