VirtualBox

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

Last change on this file since 99009 was 98549, checked in by vboxsync, 2 years ago

Docs: bugref:10302. Uploading .dita user manual files we received from the doc team on 25th Jan.

  • Property svn:eol-style set to native
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>Oracle VM VirtualBox VNIC Templates for VLANs on Oracle Solaris 11 Hosts</title>
5
6 <body>
7 <p>
8 Oracle VM VirtualBox supports Virtual Network Interface (VNIC) templates
9 for configuring VMs over VLANs. An Oracle VM VirtualBox VNIC template is
10 a VNIC whose name starts with
11 <filepath>vboxvnic_template</filepath>. The string is
12 case-sensitive.
13 </p>
14 <p>
15 On Oracle Solaris 11 hosts, when Crossbow-based bridged networking
16 is used, a VNIC template may be used to specify the VLAN ID to use
17 while bridging over a network link.
18 </p>
19 <p>
20 The following is an example of how to use a VNIC template to
21 configure a VM over a VLAN. Create an Oracle VM VirtualBox VNIC
22 template, by executing as root:
23 </p>
24 <pre xml:space="preserve"># dladm create-vnic -t -l nge0 -v 23 vboxvnic_template0</pre>
25 <p>
26 This will create a temporary VNIC template over interface
27 <userinput>nge0</userinput> with the VLAN ID 23. To create VNIC
28 templates that are persistent across host reboots, skip the
29 <codeph>-t</codeph> parameter in the above command. You may check
30 the current state of links using the following command:
31 </p>
32 <pre xml:space="preserve">$ dladm show-link
33LINK CLASS MTU STATE BRIDGE OVER
34nge0 phys 1500 up -- --
35nge1 phys 1500 down -- --
36vboxvnic_template0 vnic 1500 up -- nge0
37
38$ dladm show-vnic
39LINK OVER SPEED MACADDRESS MACADDRTYPE VID
40vboxvnic_template0 nge0 1000 2:8:20:25:12:75 random 23</pre>
41 <p>
42 Once the VNIC template is created, any VMs that need to be on VLAN
43 23 over the interface <userinput>nge0</userinput> can be configured to
44 bridge using this VNIC template.
45 </p>
46 <p>
47 VNIC templates makes managing VMs on VLANs simpler and efficient.
48 The VLAN details are not stored as part of every VM's
49 configuration but rather inherited from the VNIC template while
50 starting the VM. The VNIC template itself can be modified anytime
51 using the <userinput>dladm</userinput> command.
52 </p>
53 <p>
54 VNIC templates can be created with additional properties such as
55 bandwidth limits and CPU fanout. Refer to your Oracle Solaris
56 network documentation for details. The additional properties are
57 also applied to VMs which bridge using the VNIC template.
58 </p>
59 </body>
60
61</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