VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/vboxbowvnictemplates.dita

Last change on this file was 107390, checked in by vboxsync, 2 months ago

Docs: bugref:10705. bugref: 10829. The docs build has been modified to split generated refentry dita files and the user manual files and the following commits from doc's team git repo has been applied:

0946136c74dda0483704db891345cb39548b4e28 Started consolidating known issues and troubleshooting information
845b847e6a8e778b38a57867e25ee5e086a73800 Added individual topics for list of known issues, integrated into Troubleshooting section.
bb574836aac775889bd61e4a72f489617fcb7d18 Removed EFI firmware from experimental features for 7.2
6d2e68b244869991e713d170ecd239739d99ba56 Moved known issues into Known Issues section
e2630c896561587718b5c3197c384a38d07014d5 Merge branch 'VBP-1461_experimental-features' into 'main'
0512e2cce51f49ccdc56f3381a2a0c924f2bd278 Feedback on known issues
a77d6c980f6ff5cad9d32b2fb9290990093a03fa Restructured host and guest OS topics
988af5cc9628f5de0806531bc98686f691a911fd Updates with feedbback from Jacob
982a61c9f25b22b745ec483e763e3d88efe59c40 Included feedback from Jacob
93181c8c6cc2d9a26bcccb1145cb0423c0d9f4c9 Updated known issues with feedback from Klaus
8bc369561c383f09b409fe5e44f507440b3735fb Created Legacy Guest OS section
d7932f55accdab7a03666302d58b8c941cd48be2 Moved known issues to more appropriate places for the info
2a4aa094ba8a7ac6894d2a777316eabf41746580 Further moving of known issues
baeabd5308c5519a4dc26b4197be9b00e419a85a Updated links to cli_topics

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
3<topic xml:lang="en-us" id="vboxbowvnictemplates">
4 <title><ph conkeyref="vbox-conkeyref-phrases/product-name"/> VNIC Templates for VLANs on Oracle Solaris 11 Hosts</title>
5
6 <body>
7 <p><ph conkeyref="vbox-conkeyref-phrases/product-name"/> supports Virtual Network Interface (VNIC) templates for
8 configuring VMs over VLANs. An <ph conkeyref="vbox-conkeyref-phrases/product-name"/> VNIC template is a VNIC whose
9 name starts with <filepath>vboxvnic_template</filepath>. The string is case-sensitive. </p>
10 <p>On Oracle Solaris 11 hosts, when Crossbow-based bridged networking is used, a VNIC template may be used to
11 specify the VLAN ID to use while bridging over a network link. </p>
12 <p>The following is an example of how to use a VNIC template to configure a VM over a VLAN. Create an <ph
13 conkeyref="vbox-conkeyref-phrases/product-name"/> VNIC template, by executing as root: </p>
14 <pre xml:space="preserve"># dladm create-vnic -t -l nge0 -v 23 vboxvnic_template0</pre>
15 <p>This will create a temporary VNIC template over interface <userinput>nge0</userinput> with the VLAN ID 23. To
16 create VNIC templates that are persistent across host reboots, skip the <codeph>-t</codeph> parameter in the above
17 command. You may check the current state of links using the following command: </p>
18 <pre xml:space="preserve">$ dladm show-link
19LINK CLASS MTU STATE BRIDGE OVER
20nge0 phys 1500 up -- --
21nge1 phys 1500 down -- --
22vboxvnic_template0 vnic 1500 up -- nge0
23
24$ dladm show-vnic
25LINK OVER SPEED MACADDRESS MACADDRTYPE VID
26vboxvnic_template0 nge0 1000 2:8:20:25:12:75 random 23</pre>
27 <p>Once the VNIC template is created, any VMs that need to be on VLAN 23 over the interface
28 <userinput>nge0</userinput> can be configured to bridge using this VNIC template. </p>
29 <p>VNIC templates makes managing VMs on VLANs simpler and efficient. The VLAN details are not stored as part of
30 every VM's configuration but rather inherited from the VNIC template while starting the VM. The VNIC template
31 itself can be modified anytime using the <userinput>dladm</userinput> command. </p>
32 <p>VNIC templates can be created with additional properties such as bandwidth limits and CPU fanout. Refer to your
33 Oracle Solaris network documentation for details. The additional properties are also applied to VMs which bridge
34 using the VNIC template. </p>
35 </body>
36
37</topic>
Note: See TracBrowser for help on using the repository browser.

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