Re: network in virtual machine [KVM]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Konstantin Svist wrote:
Konstantin Svist wrote:
Hi all,

Question: how do I set up networking in a [KVM] virtual machine guest so
that I can get to the internet?

I've set up an F8 install with default option (Virtual Network/default)
- and I can connect to the guest from the host - but I can't run a yum
update from the guest.
On the host i see "virbr0" in ifconfig output, with same subnet as the
guest - but that doesn't show up in standard network configuration applets.


Thanks!

found answer on my own:
go to firewall config applet and enable masquerading for eth0

You do need masquerading some place, but not necessarily there. For reasons not relevant to the topic, I run several /24 networks here; each needs to be able to route to all the others, but the only place I need to masquerade is at the boundary to the Internet, a Pentium IV server (as opposed to the inconnect router that attaches it to the 'net).

Xen on fedora (and probably the alternatives) can share the LAN, or use its own virtual LAN. If you use the former, DHCP functions as usual and you get the regular network setup. In the latter case, masquerading may be convenient, but isn't essential (and is harmful if you want to run virtual servers).




--

Cheers
John

-- spambait
1aaaaaaa@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux