routed network and physical interface

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

 



Hello,

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

<network>
  <name>default</name>
  <forward dev='eth0' mode='route'/>
  <mac address='52:54:00:f2:5b:4f'/>
  <ip address='192.168.100.1' netmask='255.255.255.0'>
    <dhcp>
      <range start='192.168.100.10' end='192.168.100.20'/>
    </dhcp>
  </ip>
</network>

 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
 work?

Giovanni

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux