Bug 506527
Summary: | Expectations for kvm networking in RHEL 5.4 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Gurhan Ozen <gozen> |
Component: | doc-Virtualization_Guide | Assignee: | Christopher Curran <ccurran> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Lawrence Lim <llim> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 5.4 | CC: | anross, anton.fang, berrange, chrisw, clalance, ehabkost, james.brown, jburke, jjarvis, llim, mjenner, pkennedy, rlerch, sghosh, smayhew, syeghiay, tools-bugs, virt-maint, xen-maint |
Target Milestone: | rc | Keywords: | Documentation |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-10-09 04:15:15 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Gurhan Ozen
2009-06-17 16:08:29 UTC
I don't see what made you conclude the defaults are different. The network configuration options depend on the way you tell libvirt to set up the guest networking. I am not familiar with the libvirt network setup code, but I expect both modes (bridge and NAT) to work both hypervisors (KVM and Xen), you just need to give libvirt the corresponding configuration to the mode you want. I guess we didn't articulate this correctly. Basically in xen, the default network configuration is such that when a guest is started, the xen network scripts create a virtual interface for the guest and using the bridged networking, all network is forwarded so that the guest has a hostname etc. Whereas with kvm, the default is to create a local private network and nothing is bridged over to the guest so it has no dns etc. Is this how we're intending to ship whereas users installing/running guest will have to do more configuration to make their guests available online, or are we intending to ship it the way we xen is shipped as far as networking is concerned. Did this clear things up? There is no default network configuration as you described on KVM, unless you run qemu-kvm directly. But running qemu-kvm directly isn't recommended and won't be supported (see bug #503955). You should use libvirt, and libvirt doesn't have a default networking configuration (as far as I know). But it is better to clarify this with the libvirt folks. I think the real symptom this bz is trying to address is how does a RHEL 5.4 system installed and started with the KVM hypervisor get similar public pass-through networking running akin to the way a sytem booted with the Xen Hypervisor does by default (not talking implementation here I am taking functionality). I understand there are many possibe networkng options through libvirt but as far as I understand it the default networking option we provide out the box when booting the Xen hypervisor in RHEL is the one most of our customers use and probably what they expect when using kvm. I guess the question are; - what is the optimal procedure to set the Xen style of bridging (term used loosly) with libvirt for RHEL5.4 with kvm ? - can we setup RHEL 5.4 to setup this style of network bridging to be the default ? This page describes the 2 recommended setups with libvirt, and is applicable to both Xen and KVM (though users can optionally continue with xen's network-bridge if desired): http://wiki.libvirt.org/page/Networking This is a libvirt question, not a KVM question. Both modes are supported by KVM, and if there are anything that can be called "default settings", they are upper in the stack. This really has not been worked upstream, and there isn't a clear resolution for this. In any case this can't make Update 4 at this point so updating the flags accordingly, Daniel I've incorporated the content from libvirt.org with a bit of paraphrasing. http://documentation-stage.bne.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Virtualization/chap-Virtualization-Network_Configuration.html It still needs a better edit which it shall receive after QE tests it against RHEL 5.4. In my view though, this chapter is a big improvement on the previous bridging information. Terms in the config files need more description. If time permits I would like to describe each individual variable and what it actually does. I also intend to get the network architecture diagrams beautified for the end release. That should enhance understanding of how libvirt, kvm, xen and the network mesh together. (https://bugzilla.redhat.com/show_bug.cgi?id=512655) Chris Marking this Modified. The libvirt section covers networking in RHEL5.4. The Xen stuff has been kept for 5.0-1 but marked as legacy. Has this bug been tested by QE yet? Please test the two procedures in this chapter: http://documentation-stage.bne.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Virtualization/chap-Virtualization-Network_Configuration.html Ran through the procedures as part of Documentation review. No problems. |