So, I'm trying to set up kvm and bridged networking. My host has a wireless connection to my router, which uses dhcp. I've set up a bridge network device, and linked the wireless network adapter and tap0 to it. From a null network config:
Code: Select all
wpa_supplicant ... wlan0
tunctl -u <user> -t tap0
brctl addbr br0
brctl addif br0 wlan0
brctl addif br0 tap0
ifconfig tap0 up 0.0.0.0 promisc
ifconfig wlan0 promisc
dhcpcd br0 (successfully gets an ip address)
kvm -net nic,macaddr=72:7d:39:89:4a:e1 -net tap,ifname=tap0,script=no,downscript=no -hda gentoo.img -cdrom install-amd64-minimal-2008.0.iso -boot d
But dhcpcd within the guest doesn't receive any response from the dhcp server on the wireless router. What am I missing, or how can I help diagnose the issue?