Bridge

From John's wiki
Jump to navigation Jump to search

Just working on getting a network bridge to work for my qemu/kvm virtual machine configured with virt-manager.

The VM network config now looks like this:

<interface type="direct">
  <mac address="52:54:00:7e:2a:23"/>
  <source dev="enp6s0" mode="bridge"/>
  <target dev="macvtap2"/>
  <model type="rtl8139"/>
  <alias name="net0"/>
  <address type="pci" domain="0x0000" bus="0x10" slot="0x01" function="0x0"/>
 </interface>

The VM network config used to look like this:

<interface type="bridge">
  <mac address="52:54:00:11:76:5e"/>
  <source bridge="nm-bridge"/>
  <target dev="vnet7"/>
  <model type="rtl8139"/>
  <alias name="net0"/>
  <address type="pci" domain="0x0000" bus="0x10" slot="0x01" function="0x0"/>
 </interface>