kvm wireless bridge network
I've successfully install kvm with private network (nat) up running. I want to switch the kvm network using bridge mode (or host-interface), but do not success.
env: nic iwl4965/ kernel 22.214.171.124/ debian etch upgrade to lenny/ kvm 0.9.1/ hardware hp 6910p
The doc I follow up is at http://kvm.qumranet.com/kvmwiki/Netw...c1547920d9a74a
The way how i set it up is to modify /etc/network/interfaces by adding following section to enable br0
However, the problem is the guest os, which starts with -hda k1.img, can not access to the internet.
Is there any step I miss? or it is because wireless does not support bridge (I've heard doc says that wireless does not support wireless bridge)?
Thank in advice,
KVM over IP
The KVM over IP that I use is from http://www.raritan.info/ and it is not wireless. I run no problem with bridged or unbridged connection. I have never used a wireless KVM.
Of course, that is an entirely different story BUT I have been troubleshooting for wireless connections and wireless does not work on bridged mode.
Thanks for reply. Is there any doc referring to this information (wireless does not support bridge mode.) I've read some doc on the internet saying that wireless does not support bridge mode; but can not find any explain on e.g. http://wireless.kernel.org/en/users/Drivers/iwl4965. This makes me confused as I can not make sure the cause of the problem is due to my misconfiguration or the essense of the driver.
Thanks again for your help.
hi, it is my understanding that most wireless nics do not support bridge mode... other than some old 11mbps cards using a specific chipset...
judging from your post, I am assuming you want a kvm guest to be able to get on the network while running on a host that is networked using a wireless nic.
if this is the case, you have two options: 1. run NAT/DHCP on the host and have it route the traffic out for the guest. 2. try to bridge via using the software layer 3 daemon (parprouted), you can google parprouted + wireless or checkout a guide like this: http://www.scottro.net/vboxbridge.html, or this: http://wiki.voyage.hk/dokuwiki/doku....n_managed_mode
I had this setup and working previously w/ kvm on ubuntu but I don't have it up and running at the moment so I don't have kvm specific scripts available to post here.
Regarding your query about documentation for wireless bridging limitations try this: http://www.linuxfoundation.org/en/Ne...reless_card.21
thanks so much for the tip mkhan01 !
I followed the parprouted VirtualBox tutorial on http://www.hazard.maks.net/blog/inde...70120&blogId=1
And then started my kvm virtual machine like this :
/usr/local/kvm/bin/qemu-system-x86_64 -hda /dev/sdb -m 512 -net nic,macaddr=DE:AD:BE:EF:90:26 -net tap,ifname=tap0,script=no
And configured the network interface in the guest vm with new static IP, subnet, mask, gateway and dns servers.
And it's working nicely :)
here is also an interesting comment with a script about parprouted on wireless ubuntu :
Ubuntu 11.10 and 12.04
I try to summarize my experiences.
Following config works for me perfectly! Host and Guest on same subnet on a wireless NIC.
Host: Ubuntu 11.10
Guest: Ubuntu 12.04
wireless IP address: 192.168.111.20 wlan0 (network 192.168.111.0/24)
$>ip ad list
$>kvm -m 256 -k hu -net nic,macaddr=DE:AD:BE:EF:90:26 -net tap,ifname=tap0,script=no /iso/VM/ubuntu_12.04.img
|All times are GMT -5. The time now is 06:09 AM.|