VirtualBox

Ignore:
Timestamp:
Jul 13, 2011 11:59:57 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
72819
Message:

doc/manual: VNIC templates.

File:
1 edited

Legend:

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

    r37892 r37913  
    13641364
    13651365  <sect1 id="vboxbowsolaris11">
    1366     <title>Installing alternate bridged networking driver on Solaris 11
     1366    <title>Installing the alternate bridged networking driver on Solaris 11
    13671367    hosts</title>
    13681368
    13691369    <para>Starting with VirtualBox 4.1, VirtualBox ships a new network filter
    13701370    driver that utilizes Solaris 11's Crossbow functionality. By default, this
    1371     new driver is installed only for Solaris 11 hosts (builds 159 and
    1372     above).</para>
    1373 
    1374     <para>To force installation of the STREAMS based network filter driver:
    1375     Before installing VirtualBox, run as root:</para>
     1371    new driver is installed for Solaris 11 hosts (builds 159 and above) that
     1372    has support for it.</para>
     1373
     1374    <para>To force installation of the older STREAMS based network filter
     1375    driver, execute as root execute the below command before installing the
     1376    VirtualBox package:</para>
    13761377
    13771378    <screen>touch /etc/vboxinst_vboxflt</screen>
    13781379
    1379     <para>To force installation of the Crossbow based network filter driver
    1380     (will only work for Solaris 11 hosts builds 159 and above): Before
    1381     installing VirtualBox, run as root:</para>
     1380    <para>To force installation of the Crossbow based network filter
     1381    driver,execute as root the below command before installing the VirtualBox
     1382    package:</para>
    13821383
    13831384    <screen>touch /etc/vboxinst_vboxbow</screen>
    13841385
    1385     <para>If you have already installed VirtualBox and want to check which
    1386     driver is currently being used, run:</para>
     1386    <para>To check which driver is currently being used by VirtualBox,
     1387    execute:</para>
    13871388
    13881389    <screen>modinfo | grep vbox</screen>
    13891390
    1390     <para>If the output contains "vboxbow", it means VirtualBox is using
    1391     the Crossbow network filter driver, while "vboxflt" indicates that the
    1392     older STREAMS driver is being used.</para>
     1391    <para>If the output contains "vboxbow", it indicates VirtualBox is using
     1392    Crossbow network filter driver, while the name "vboxflt" indicates usage
     1393    of the older STREAMS network filter.</para>
     1394  </sect1>
     1395
     1396  <sect1 id="vboxbowvnictemplates">
     1397    <title>VirtualBox VNIC templates for VLANs on Solaris 11 hosts</title>
     1398
     1399    <para>VirtualBox supports VNIC (Virtual Network Interface) templates for
     1400    configuring VMs over a VLAN.<footnote>
     1401        <para>Support for Crossbow based bridged networking was introduced
     1402        with VirtualBox 4.1 and requires Solaris 11 build 159 or above.</para>
     1403      </footnote> A VirtualBox VNIC template is a VNIC whose name starts with
     1404    "vboxvnic_template".</para>
     1405
     1406    <para>Here is an example of how to use a VNIC template to configure a VLAN
     1407    for VMs. Create a VirtualBox VNIC template, by executing as root:</para>
     1408
     1409    <screen>dladm create-vnic -t -l nge0 -v 23 vboxvnic_template0
     1410</screen>
     1411
     1412    <para>This will create a temporary VNIC over interface "nge0" with the
     1413    VLAN ID 23. To create VNIC templates that are persistent across host
     1414    reboots, skip the <computeroutput>-t</computeroutput> parameter in the
     1415    above command. You may check the current state of links using:</para>
     1416
     1417    <para><screen>$ dladm show-link
     1418LINK        CLASS     MTU    STATE    BRIDGE     OVER
     1419nge0        phys      1500   up       --         --
     1420nge1        phys      1500   down     --         --
     1421vboxvnic_template0 vnic 1500 up       --         nge0
     1422
     1423$ dladm show-vnic
     1424LINK         OVER         SPEED  MACADDRESS        MACADDRTYPE         VID
     1425vboxvnic_template0 nge0   1000   2:8:20:25:12:75   random              23
     1426</screen></para>
     1427
     1428    <para>Once the VNIC template is created, all VMs that need to be part of
     1429    VLAN 23 over the physical interface "nge0" can use the same VNIC template.
     1430    This makes managing VMs on VLANs simpler and efficient, as the VLAN
     1431    details are not stored as part of every VM's configuration but rather
     1432    picked up via the VNIC template which can be modified any time using
     1433    <computeroutput>dladm</computeroutput>. Apart from the VLAN ID, VNIC
     1434    templates can be created with additional properties such as bandwidth
     1435    limits, CPU fanout etc. Refer to your Solaris network documentation on how
     1436    to accomplish this. These additional properties, if any, are also applied
     1437    to VMs which use the VNIC template.</para>
    13931438  </sect1>
    13941439
Note: See TracChangeset for help on using the changeset viewer.

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