[libvirt-users] routed network and physical interface

Giovanni Tirloni gpt at gtirloni.com
Tue May 26 13:00:55 UTC 2015


 I've created a routed network that forwards to a physical interface:

  <forward dev='eth0' mode='route'/>
  <mac address='52:54:00:f2:5b:4f'/>
  <ip address='' netmask=''>
      <range start='' end=''/>

 When this network is started, the iptables rules are associated with
 eth0, as expected. However, the "virbr0" bridge interface that is
 create automatically does not contain the eth0 interface. I have to
 manually run "brctl addif virbr0 eth0" so the guests can communicate
 with the outside.

 I was under the impression libvirt would add the physical interface
 automatically, based on the <forward> definition. Is it how it should


More information about the libvirt-users mailing list