VirtualBox

Changeset 39769 in vbox for trunk/doc


Ignore:
Timestamp:
Jan 16, 2012 10:55:32 AM (13 years ago)
Author:
vboxsync
Message:

doc/manual: Update bridge networking for Solaris 11 Crossbow + xxe auto-indent fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/user_Networking.xml

    r39484 r39769  
    11<?xml version="1.0" encoding="UTF-8"?>
    22<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
    3   "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
     3"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
    44<chapter id="networkingdetails">
    55  <title>Virtual networking</title>
     
    6565    the PCNet card, such as Windows Vista.</para>
    6666
    67     <para>The Intel PRO/1000 MT Desktop type works with Windows Vista and later
    68     versions. The T Server variant of the Intel PRO/1000 card is recognized by
    69     Windows XP guests without additional driver installation. The MT Server
    70     variant facilitates OVF imports from other platforms.</para>
     67    <para>The Intel PRO/1000 MT Desktop type works with Windows Vista and
     68    later versions. The T Server variant of the Intel PRO/1000 card is
     69    recognized by Windows XP guests without additional driver installation.
     70    The MT Server variant facilitates OVF imports from other platforms.</para>
    7171
    7272    <para>The <emphasis role="bold">"Paravirtualized network adapter
     
    184184
    185185          <glossdef>
    186             <para>Rarely used modes share the same generic network
    187             interface, by allowing the user to select a driver which can
    188             be included with VirtualBox or be distributed in an extension
    189             pack.</para>
     186            <para>Rarely used modes share the same generic network interface,
     187            by allowing the user to select a driver which can be included with
     188            VirtualBox or be distributed in an extension pack.</para>
     189
    190190            <para>At the moment there are potentially two available
    191191            sub-modes:</para>
    192             <para>
    193               <glosslist>
     192
     193            <para><glosslist>
    194194                <glossentry>
    195195                  <glossterm>UDP Tunnel</glossterm>
     196
    196197                  <glossdef>
    197                     <para>This can be used to interconnect virtual machines running on
    198                       different hosts directly, easily and transparently, over existing
    199                       network infrastructure.</para>
     198                    <para>This can be used to interconnect virtual machines
     199                    running on different hosts directly, easily and
     200                    transparently, over existing network
     201                    infrastructure.</para>
    200202                  </glossdef>
    201203                </glossentry>
     204
    202205                <glossentry>
    203                   <glossterm>VDE (Virtual Distributed Ethernet) networking</glossterm>
     206                  <glossterm>VDE (Virtual Distributed Ethernet)
     207                  networking</glossterm>
     208
    204209                  <glossdef>
    205                     <para>This option can be used to connect to a Virtual Distributed
    206                       Ethernet switch on a Linux or a FreeBSD host. At the moment this
    207                       needs compiling VirtualBox from sources, as the Oracle packages
    208                       do not include it.</para>
     210                    <para>This option can be used to connect to a Virtual
     211                    Distributed Ethernet switch on a Linux or a FreeBSD host.
     212                    At the moment this needs compiling VirtualBox from
     213                    sources, as the Oracle packages do not include it.</para>
    209214                  </glossdef>
    210215                </glossentry>
    211               </glosslist>
    212             </para>
     216              </glosslist></para>
    213217          </glossdef>
    214218        </glossentry>
     
    232236    the virtual machine transparently. In VirtualBox this router is placed
    233237    between each virtual machine and the host. This separation maximizes
    234     security since by default virtual machines cannot talk to each other.</para>
     238    security since by default virtual machines cannot talk to each
     239    other.</para>
    235240
    236241    <para>The disadvantage of NAT mode is that, much like a private network
     
    479484          be addressed in a future release of Solaris 11.</para>
    480485
    481           <para>With VirtualBox 2.0.4 and above, it is possible to use
    482           Crossbow Virtual Network Interfaces (VNICs) with bridged networking,
    483           but with the following caveats:</para>
     486          <para>Starting with VirtualBox 4.1 on Solaris 11 hosts it is
     487          possible to use Solaris' Crossbow Virtual Network Interface (VNICs)
     488          directly with VirtualBox without any additional configuration other
     489          than it must be exclusive for every guest. With VirtualBox 2.0.4 and
     490          above, VNICs can be used but with the following caveats:</para>
    484491
    485492          <itemizedlist>
     
    509516    <para>Internal Networking is similar to bridged networking in that the VM
    510517    can directly communicate with the outside world. However, the "outside
    511     world" is limited to other VMs on the same host which connect to the same internal
    512     network.</para>
     518    world" is limited to other VMs on the same host which connect to the same
     519    internal network.</para>
    513520
    514521    <para>Even though technically, everything that can be done using internal
    515522    networking can also be done using bridged networking, there are security
    516     advantages with internal networking. In bridged networking mode, all traffic
    517     goes through a physical interface of the host system. It is therefore possible
    518     to attach a packet sniffer (such as Wireshark) to the host interface and log
    519     all traffic that goes over it. If, for any reason, you prefer two or more VMs
    520     on the same machine to communicate privately, hiding their data from both
    521     the host system and the user, bridged networking therefore is not an option.</para>
     523    advantages with internal networking. In bridged networking mode, all
     524    traffic goes through a physical interface of the host system. It is
     525    therefore possible to attach a packet sniffer (such as Wireshark) to the
     526    host interface and log all traffic that goes over it. If, for any reason,
     527    you prefer two or more VMs on the same machine to communicate privately,
     528    hiding their data from both the host system and the user, bridged
     529    networking therefore is not an option.</para>
    522530
    523531    <para>Internal networks are created automatically as needed, i.e. there is
     
    634642
    635643    <para>This networking mode allows to interconnect virtual machines running
    636     on different hosts.
    637     </para>
     644    on different hosts.</para>
    638645
    639646    <para>Technically this is done by encapsulating Ethernet frames sent or
    640647    received by the guest network card into UDP/IP datagrams, and sending them
    641     over any network available to the host.
    642     </para>
     648    over any network available to the host.</para>
    643649
    644650    <para>UDP Tunnel mode has three parameters:<glosslist>
     
    657663
    658664          <glossdef>
    659             <para>IP address of the target host of the transmitted data.</para>
     665            <para>IP address of the target host of the transmitted
     666            data.</para>
    660667          </glossdef>
    661668        </glossentry>
     
    673680    their IP addresses must be swapped. On single host, source and destination
    674681    UDP ports must be swapped.</para>
     682
    675683    <para>In the following example host 1 uses the IP address 10.0.0.1 and
    676684    host 2 uses IP address 10.0.0.2. Configuration via command-line:<screen>        VBoxManage modifyvm "VM 01 on host 1" --nic&lt;x&gt; generic
     
    679687        VBoxManage modifyvm "VM 01 on host 1" --nicproperty&lt;x&gt; sport=10001
    680688        VBoxManage modifyvm "VM 01 on host 1" --nicproperty&lt;x&gt; dport=10002</screen>
    681       and <screen>        VBoxManage modifyvm "VM 02 on host 2" --nic&lt;y&gt; generic
     689    and <screen>        VBoxManage modifyvm "VM 02 on host 2" --nic&lt;y&gt; generic
    682690        VBoxManage modifyvm "VM 02 on host 2" --nicgenericdrv&lt;y&gt; UDPTunnel
    683691        VBoxManage modifyvm "VM 02 on host 2" --nicproperty&lt;y&gt; dest=10.0.0.1
    684692        VBoxManage modifyvm "VM 02 on host 2" --nicproperty&lt;y&gt; sport=10002
    685         VBoxManage modifyvm "VM 02 on host 2" --nicproperty&lt;y&gt; dport=10001</screen>
    686     </para>
     693        VBoxManage modifyvm "VM 02 on host 2" --nicproperty&lt;y&gt; dport=10001</screen></para>
    687694
    688695    <para>Of course, you can always interconnect two virtual machines on the
    689     same host, by setting the destination address parameter to 127.0.0.1
    690     on both. It will act similarly to "Internal network" in this case, however
     696    same host, by setting the destination address parameter to 127.0.0.1 on
     697    both. It will act similarly to "Internal network" in this case, however
    691698    the host can see the network traffic which it could not in the normal
    692699    Internal network case.</para>
    693700
    694     <para><note>On Unix-based hosts (e.g. Linux, Solaris, Mac OS X) it is
    695       not possible to bind to ports below 1024 from applications that are not
    696       run by <computeroutput>root</computeroutput>. As a result, if you try to
    697       configure such a source UDP port, the VM will refuse to start.</note></para>
     701    <para><note>
     702        On Unix-based hosts (e.g. Linux, Solaris, Mac OS X) it is not possible to bind to ports below 1024 from applications that are not run by
     703
     704        <computeroutput>root</computeroutput>
     705
     706        . As a result, if you try to configure such a source UDP port, the VM will refuse to start.
     707      </note></para>
    698708  </sect1>
    699709
     
    701711    <title>VDE networking</title>
    702712
    703 
    704     <para>Virtual Distributed Ethernet (VDE<footnote><para>VDE is a project
    705       developed by Renzo Davoli, Associate Professor at the University of
    706       Bologna, Italy.</para></footnote>) is a flexible, virtual network
    707     infrastructure system, spanning across multiple hosts in a secure way.
    708     It allows for L2/L3 switching, including spanning-tree protocol, VLANs,
    709     and WAN emulation. It is an optional part of VirtualBox which is only
    710     included in the source code.</para>
     713    <para>Virtual Distributed Ethernet (VDE<footnote>
     714        <para>VDE is a project developed by Renzo Davoli, Associate Professor
     715        at the University of Bologna, Italy.</para>
     716      </footnote>) is a flexible, virtual network infrastructure system,
     717    spanning across multiple hosts in a secure way. It allows for L2/L3
     718    switching, including spanning-tree protocol, VLANs, and WAN emulation. It
     719    is an optional part of VirtualBox which is only included in the source
     720    code.</para>
    711721
    712722    <para>The basic building blocks of the infrastructure are VDE switches,
     
    729739    <para><orderedlist>
    730740        <listitem>
    731           <para>Create a VDE switch:
    732           <screen>vde_switch -s /tmp/switch1</screen>
    733           </para>
    734         </listitem>
    735         <listitem>
    736           <para>Configuration via command-line:
    737           <screen>VBoxManage modifyvm "VM name" --nic&lt;x&gt; generic</screen>
     741          <para>Create a VDE switch: <screen>vde_switch -s /tmp/switch1</screen></para>
     742        </listitem>
     743
     744        <listitem>
     745          <para>Configuration via command-line: <screen>VBoxManage modifyvm "VM name" --nic&lt;x&gt; generic</screen>
    738746          <screen>VBoxManage modifyvm "VM name" --nicgenericdrv&lt;x&gt; VDE</screen>
    739           To connect to automatically allocated switch port, use:
    740           <screen>VBoxManage modifyvm "VM name" --nicproperty&lt;x&gt; network=/tmp/switch1</screen>
    741           To connect to specific switch port &lt;n&gt;, use:
    742           <screen>VBoxManage modifyvm "VM name" --nicproperty&lt;x&gt; network=/tmp/switch1[&lt;n&gt;]</screen>
    743           The latter option can be useful for VLANs.
    744           </para>
    745         </listitem>
    746         <listitem>
    747           <para>Optionally map between VDE switch port and VLAN: (from switch CLI)
    748           <screen>vde$ vlan/create &lt;VLAN&gt;</screen>
    749           <screen>vde$ port/setvlan &lt;port&gt; &lt;VLAN&gt;</screen>
    750           </para>
     747          To connect to automatically allocated switch port, use: <screen>VBoxManage modifyvm "VM name" --nicproperty&lt;x&gt; network=/tmp/switch1</screen>
     748          To connect to specific switch port &lt;n&gt;, use: <screen>VBoxManage modifyvm "VM name" --nicproperty&lt;x&gt; network=/tmp/switch1[&lt;n&gt;]</screen>
     749          The latter option can be useful for VLANs.</para>
     750        </listitem>
     751
     752        <listitem>
     753          <para>Optionally map between VDE switch port and VLAN: (from switch
     754          CLI) <screen>vde$ vlan/create &lt;VLAN&gt;</screen> <screen>vde$ port/setvlan &lt;port&gt; &lt;VLAN&gt;</screen></para>
    751755        </listitem>
    752756      </orderedlist></para>
    753757
    754758    <para>VDE is available on Linux and FreeBSD hosts only. It is only
    755       available if the VDE software and the VDE plugin library from the
    756       VirtualSquare project are installed on the host system<footnote>
    757         <para>For Linux hosts, the shared library libvdeplug.so must be available
    758         in the search path for shared libraries</para></footnote>. For more
    759       information on setting up VDE networks, please see the documentation
    760       accompanying the software.<footnote>
    761     <para><ulink
    762       url="http://wiki.virtualsquare.org/wiki/index.php/VDE_Basic_Networking">http://wiki.virtualsquare.org/wiki/index.php/VDE_Basic_Networking</ulink>.</para>
    763     </footnote></para>
     759    available if the VDE software and the VDE plugin library from the
     760    VirtualSquare project are installed on the host system<footnote>
     761        <para>For Linux hosts, the shared library libvdeplug.so must be
     762        available in the search path for shared libraries</para>
     763      </footnote>. For more information on setting up VDE networks, please see
     764    the documentation accompanying the software.<footnote>
     765        <para><ulink
     766        url="http://wiki.virtualsquare.org/wiki/index.php/VDE_Basic_Networking">http://wiki.virtualsquare.org/wiki/index.php/VDE_Basic_Networking</ulink>.</para>
     767      </footnote></para>
    764768  </sect1>
    765769</chapter>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette