This discussion is archived
3 Replies Latest reply: May 27, 2013 9:24 AM by 1011216 RSS

2 vsw on one interface?

wojo2000 Newbie
Currently Being Moderated
My configuration
T4-4 with Control Domain PRIMARY (pci_0, pci_2) and IO domain SECONDARY (pci_1, pci_3)

On both domain I'd like to create two VSW (public, private) on one interface.
No problem to create it on on primary domain, I have got two switches on net0
But I cant create two vsw on secondary domain when i create second one it says
# ldm add-vsw net-dev=net0 secondary-public-vsw0 secondary
# ldm add-vsw net-dev=net0 secondary-private-vsw0 secondary

The device net0 for virtual switch secondary-private-vsw0
is already in use by virtual switch secondary-public-vsw0
any ideas?

Edited by: 987922 on 2013-02-13 13:24
  • 1. Re: 2 vsw on one interface?
    Bjoern Rost Oracle ACE Director
    Currently Being Moderated
    Can you manually create two vnics and then the vsw after that like this:
    dladm create-vnic -l net0 vnic0
    dladm create-vnic -l net0 vnic1
    ldm add-vsw net-dev=vnic0 secondary-public-vsw0 secondary
    ldm add-vsw net-dev=vnic1 secondary-private-vsw0 secondary
    I have not tried it with your exact setup (in an io domain) but I am fairly confident that this should work. Then again, I would have expected this to work equally in the global and storage domain

    Bjoern
  • 2. Re: 2 vsw on one interface?
    wojo2000 Newbie
    Currently Being Moderated
    yes, it works! when i create two vnic on my aggregation i can create two vsw :)

    THANKYOU!
  • 3. Re: 2 vsw on one interface?
    1011216 Newbie
    Currently Being Moderated
    You may be able to create LDoms vsws on vnics created with dladm command, but a vsw won't function on a vnic. An LDoms vsw requires a GLDv3 device such as a physical NIC or aggr, to be able to configure mac-addresses, vlans and other information for each vnet, where as a VNIC is a meta device only.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points