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 220.127.116.11/ 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
iface br0 inet dhcp
it looks fine as it outputs
br0 Link encap:Ethernet HWaddr 00:1f:3b:21:25:13
inet addr:192.168.1.72 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21f:3bff:fe21:2513/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1259 errors:0 dropped:0 overruns:0 frame:0
TX packets:753 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:449060 (438.5 KiB) TX bytes:173260 (169.1 KiB)
and the qemu-ifup is
if [ -n "$1" ];then
/usr/bin/sudo /usr/sbin/tunctl -u `whoami` -t tap0
/usr/bin/sudo /sbin/ip link set tap0 up
/usr/bin/sudo /usr/sbin/brctl addif $switch tap0
echo "Error: no interface specified"
then start first image with
sudo kvm -hda k1.img -net nic,macaddr=DE:AD:BE:EF:90:26 -net tap,script=/home/path/to/qemu-ifup.0
this creates tap0 in the output of ifconfig.
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,