921905 wrote:The second add-vswitch would fail as primary-vsw0 already exists. You'd have to create an aggregation and use that as the net-dev of the vsw (I'm assuming S10, given that you reference LDoms 1.1 docs - 1.1 is a long long time ago...)
as one can see here
it should be possible to assign two different phys. network adapters to one virtual switch
( I think primary-vsw0 is the name of the virtual switch ) :
# ldm list -l ldg1
NAME SERVICE DEVICE MAC
net-a primary-vsw0@primary network@0 00:14:4f:f8:91:4f
net-c primary-vsw0@primary network@2 00:14:4f:f8:dd:68
So, my two questions are:
What are the commands to do that?
I don't know if that
ldm add-vswitch net-dev=nxge0 primary-vsw0 primary
ldm add-vswitch net-dev=nxge2 primary-vsw0 primary
2.ldm add-vnet vnet1 primary-vsw0 ldom1
If 1. is possible, how can I assign the two configured devices to my LDOM ( ldom1 ),
for example as vnet0 and vnet2? What is the correct command?
I don't want to create for each network adapter it's own virtual switch,
because I want to "pool" my 8 network adapters which are in 4 subnets.