- 3,733,518 Users
- 2,246,779 Discussions
- 7,856,750 Comments
- 17.8K All Categories
- 3.3K Industry Applications
- 3.2K Intelligent Advisor
- 57 Insurance
- 533.2K On-Premises Infrastructure
- 137.3K Analytics Software
- 38.5K Application Development Software
- 5.1K Cloud Platform
- 109K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 70.7K Infrastructure Software
- 105K Integration
- 41.5K Security Software
Not able to create One vSwitch for multiple VLANs
I need to setup network on my OVM setup. On OVM Server I have created aggr2, which comprises of net0 and net7
[email protected]:~# dladm show-aggr aggr2 -LLINK PORT AGGREGATABLE SYNC COLL DIST DEFAULTED EXPIREDaggr2 net0 yes yes yes yes no no-- net7 yes yes yes yes no [email protected]:~#
There are multiple VLANs tagged on this network (for example, VLAN#2161, VLAN#2170). While setting it up, I am seeing strange behavior. It looks like I will need to create one vSwitch per VLAN. It uses its PVID to assign it to vNIC of the guest ldom.
When I create "VLAN Interface" on a given port (aggr2 in our case), it creates a VLAN on the server. Then, when I create a network and attach it to this VLAN (not the port, just the VLAN), it creates virtual switch with PVID of that VLAN. Then, when I create a ldom and create a vNIC on this network, it creates this vNIC with PVID of this VLAN.
In this configuration, you can only have one VLAN per virtual switch. Because it assigns this VLAN ID as PVID of the switch. That means, in future if I have 16 VLAN in one aggr and will have another 16 in another aggr. Will I need to have 32 vSwitch?
Please note that I am using OVM Oracle VM Manager 3.4.6. If it was LDOM, I would have done that. Not sure if this is the default behavior of OVM.
I ran explorer from VM server if this gives you an idea of my current setup.