Re: ssh into kvm-clients

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

 



On Sun, 06 Jun 2010 10:37:48 +0200
brizly vaan van Ulciputz wrote:

> so i set up a bridge, it's running fine (the bridge itself...).
> But how do i tell the default kvm-network to use the bridge instead of
> using nat?

I don't know if there is any way to change the existing
virtual machines other than editing the xml file. Here's
what the network related xml looks like in one of my bridged
machines:

    <interface type='bridge'>
      <mac address='52:54:00:78:24:5b'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </interface>

virsh edit machine-name

will bring up $EDITOR on the raw xml files and let you
change things.

On a new machine install there is an "Advanced" button on the last
page virt-manager displays and you can press that to make the
network choices visible and pick bridge.

If you get everything switched to bridge and you never ever
want to use the nat default stuff again, you can even do
this:

virsh net-destroy default
virsh net-undefine default

Then the nat infrastructure won't be created by libvirtd
and bridge will be the only choice in virt-manager when
installing new machines so you won't have to explicitly
select it.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux