Description of problem: On my F8 laptop i installed F8 in kvm, but i can't get connected to Internet. I get an IP-adress from the virtual network. If i ping an URL, looks up the correct ip-adress but doesn't return anything else. Version-Release number of selected component (if applicable): libvirt-0.3.3-2.fc8 libvirt-python-0.3.3-2.fc8 python-virtinst-0.300.1-3.fc8 virt-manager-0.5.2-2.fc8 virt-viewer-0.0.2-2.fc8 kvm-36-7.fc8 How reproducible: Every time Steps to Reproduce: 1. Boot up virtual machine 2. 3. Actual results: No Internet Expected results: Should ba able to connect to Internet Additional info:
To get Internet working on a guest, I usually need this on a host: # echo 1 > /proc/sys/net/ipv4/ip_forward # /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE (where eth0 is my connection to the Internet)
(In reply to comment #1) > To get Internet working on a guest, I usually need this on a host: > > # echo 1 > /proc/sys/net/ipv4/ip_forward > # /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE > That fixed it nicely for me (using a Win XP SP2 virtual machine). Can we get this added to the default initscript or similar?
This appears to be the same issue as reported in #240922, so I'm closing this as a duplicate of that one. Please feel free to re-open this bug with further details should the issue persist differently. Thanks. *** This bug has been marked as a duplicate of 240922 ***