You are not logged in.
dear arch experts---I am trying to run arch as a guest, that then serves a website to the internet. I think I got pretty far. I am following https://wiki.archlinux.org/index.php/QE … dge-helper .
on the host:
cat > /etc/qemu/bridge.conf
allow br0
allow bridge0
EOF
chmod u+s /usr/lib/qemu/qemu-bridge-helper
I add the bridge
brctl addbr bridge0 eth0
and bring up the link
ip link set up dev bridge 0
now I need to start up.
qemu-system-x86_64 -enable-kvm -m 2048 $* -hda arch.vmdk -netdev bridge,br=bridge0
almost.
>> qemu-system-x86_64: -netdev bridge,br=bridge0: Parameter 'id' is missing
I tried to add id=eth0, but this only gives me a warning that "netdev eth0 has no peer". it starts up, but then I have no networking in the guest.
for a networking qemu guru, this is probably a 10 second question, but I am stumped. help appreciated.
/iaw
Offline
hmmm...on a ubuntu host, something like
-net nic,model=virtio,netdev=hn0 -netdev bridge,br=bridge0,id=hn0
seems to work. not sure why, but it does ;-).
Offline