Network without forward mode

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

 



Hey!

Another question. The documentation about networks say:

╭─────┤ http://libvirt.org/formatnetwork.html#elementsConnect ├─────
│Inclusion of the forward element indicates that the virtual network is
│to be connected to the physical LAN.Since 0.3.0. The mode attribute
│determines the method of forwarding. If there is no forward element, the
│network will be isolated from any other network (unless a guest
│connected to that network is acting as a router, of course).
╰─────

That's exactly what I want: just a vnet interface, no bridge, no
routing, no forwarding. However, if I create a network with just that:

#v+
<network>
  <name>public</name>
  <uuid>4629ba54-9e33-4a1f-9e45-78a1c8faaddc</uuid>
</network>
#v-

libvirt (2.0.0) adds a bridge stanza:

#v+
<network>
  <name>public</name>
  <uuid>4629ba54-9e33-4a1f-9e45-78a1c8faaddc</uuid>
  <bridge name='virbr1' stp='on' delay='0'/>
  <mac address='52:54:00:15:45:da'/>
</network>
#v-

The bridge is created. If I spawn a VM attached to this network, it gets
added to the bridge. Any way to have a network where absolutely no setup
is done?

Thanks!
-- 
Use the "telephone test" for readability.
            - The Elements of Programming Style (Kernighan & Plauger)

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux