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
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux