Bridge networking with qemu

So, I followed Wendell's awesome post about PCI pass through with VFIO and QEMU etc. The results are awesome and thanks to everyone who answered my questions before including the man himself. Now to the issues at hand.

I would like to setup a network interface device for the windows virtual machine that is bridged into my LAN. This would allow me to attempt the steam in home streaming approach. After researching this for several hours I can not for the life of me seem to get this to work.

I followed these steps below.

# vde_switch -tap tap0 -daemon -mod 660 -group users
# ip link set tap0 up
# brctl addbr br0
# brctl addif br0 eth0
# brctl addif br0 tap0
# dhcpcd br0

After running these commands my main nic, eth0 is not connected to the network. I don't understand this as it is connected to the network bridge br0 and br0 has been given an ip address.

What am I not getting here?


ip a

and check for status DOWN

maybe br0 is still down since you created it manually.

Depending on what you want to do, you could drop vde and just use ip to create the tunnel

then just keep adding tap adapters to the bridge, this works for the KVM stuff I use.