Bug 371571 - No Internet-connection in F8 kvm installation
Summary: No Internet-connection in F8 kvm installation
Keywords:
Status: CLOSED DUPLICATE of bug 240922
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-08 18:09 UTC by Espen Stefansen
Modified: 2008-05-07 00:36 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-05-07 00:36:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Espen Stefansen 2007-11-08 18:09:28 UTC
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:

Comment 1 Jan Hutař 2007-11-20 10:15:29 UTC
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)

Comment 2 Peter Gordon 2007-12-21 21:45:39 UTC
(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?


Comment 3 Peter Gordon 2008-05-07 00:36:22 UTC
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 ***


Note You need to log in before you can comment on or make changes to this bug.