Hi everyone and happy new week :) Recently I installed qemu to run Ubuntu (virtualized) on my computer, so far the combination of qemu+kvm+virtio works great! it is blazingly fast! But not without troublue though, I can' get the network to work. Here is what I did:
+ create a bridge br0, add eth1 to it without any IP, assign the (should be) eth1 IP to br0, set the route etc... -> the host can connect to the internet normally (if not then I won't be able to write this, lol), then add tap0 (for the VM) to it. + set forwarding, proxy_arp (is this really needed?) for the network interfaces (all three: eth1, br0, tap0) + start the VM with tap0. Then if I add the route "10.0.0.0 dev eth0" inside the VM I can ping the host IP, but can't reach anything else, even the router of my LAN. I think I have misconfigured the host somewhere but can't figured out where is it yet :-/ FYI: Qemu is a virtualization program, its biggest disadvantage is that it's quite slow. KVM makes use of Intel-VT and solved that, but qemu-kvm still has a weak point that is IO (it has to emulate the IO device) -> still slow, and this is where virtio comes in. It is a set of driver for the guest that help easing the load on the host. One another strong point of this suite is that it is pure FOSS so I can have my daily mental masturbation. ;) -- My job: Writing buggy softwares to make the world a worse place for humanity ( ???)???????????? ? / ?/ ?
