I am trying to create a network bridge to allow virtual machines to use my wireless card to connect to my home network. My plan was to do something like:iw dev wlp12s0 set 4addr onbrctl addbr xenbr0brctl addif xenbr0 wlp12s0ip link set dev xenbr0 upwpa_supplicant -B -b xenbr0 -i wlp12s0 -c <(wpa_passphrase $MYSSID $MYPASSPHARSE)dhcpcd xenbr0ebtables -t nat -A POSTROUTING -s $VMMAC -j snat --to-source $HOSTMACWhich I think works in principle, but my wireless router cannot handle iw dev wlp12s0 set 4addr oneven if I do not setup a bridge. I would consider buying a new wireless router if this is the correct approach and there is an affordable home router that is known to work. Is there a different way of tackling the problem?
Wireless network bridge
networking;wifi;bridge