Blinker_Fluid |
02-27-2012 04:05 PM |
LDOMs and virtual networks?
Got a question on how to switch networks with LDOMs. Basically I took over after a co-worker moved on and ran into an issue where he has an ldom configured on the wrong network. Just to throw some more confusion in the mix the ldom will be connected to an admin network and then a network with zones running off the ldom.
I look at a ldm list-bindings and see this in the VSW section:
Code:
VSW
NAME MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK
primary-vsw1 00:14:4f:fb:9e:06 igb1 0 switch@0 1 1 1500 on
PEER MAC PVID VID MTU LINKPROP INTERVNETLINK
vnet0@ldom1a139 00:14:4f:f8:15:e0 1 1500
NAME MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK
primary-vsw2 00:14:4f:f9:8e:61 igb2 1 switch@1 1 1 1500 on
PEER MAC PVID VID MTU LINKPROP INTERVNETLINK
vnet0@ldom2a139 00:14:4f:fa:6c:fd 1 1500
NAME MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK
primary-vsw3 00:14:4f:fa:b6:17 igb3 2 switch@2 1 1 1500 on
PEER MAC PVID VID MTU LINKPROP INTERVNETLINK
vnet0@ldom3a139 00:14:4f:fb:fb:5a 1 1500
NAME MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK
primary-vsw4 00:14:4f:fa:f2:39 nxge0 3 switch@3 1 1 77 1500 on
PEER MAC PVID VID MTU LINKPROP INTERVNETLINK
vnet1@ldom1a139 00:14:4f:fa:37:d4 77 1500
NAME MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK
primary-vsw5 00:14:4f:f9:47:ae nxge1 4 switch@4 1 1 77 1500 on
PEER MAC PVID VID MTU LINKPROP INTERVNETLINK
vnet1@ldom2a139 00:14:4f:f9:1f:c6 77 1500
NAME MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK
primary-vsw6 00:14:4f:fb:e0:99 nxge2 5 switch@5 1 1 77 1500 on
PEER MAC PVID VID MTU LINKPROP INTERVNETLINK
vnet2@ldom2a139 00:14:4f:fa:c7:99 77 1500
NAME MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK
primary-vsw7 00:14:4f:fa:95:45 nxge3 6 switch@6 1 1 606 1500 on
PEER MAC PVID VID MTU LINKPROP INTERVNETLINK
vnet1@ldom3a139 00:14:4f:fb:ec:10 606 1500
NAME MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK
primary-vsw8 00:14:4f:fb:ac:41 nxge4 7 switch@7 1 1 606 1500 on
PEER MAC PVID VID MTU LINKPROP INTERVNETLINK
vnet2@ldom3a139 00:14:4f:f9:13:4d 606 1500
NAME MAC NET-DEV ID DEVICE LINKPROP DEFAULT-VLAN-ID PVID VID MTU MODE INTER-VNET-LINK
primary-vsw9 00:14:4f:f9:99:50 nxge5 8 switch@8 1 1 1500 on
PEER MAC PVID VID MTU LINKPROP INTERVNETLINK
vnet3@ldom2a139 00:14:4f:fb:39:2f 1 1500
As I'm understanding it the primary-vsw1 is correct and will stay and the primary-vsw4 will need to change to the same vlan as ldom3 (primary-vsw7 or 8)
So here's where the confusion sets in, I saw the nxge0 entry and thought the ldom was assigned to that port, went back and unplugged the cable and I'm still able to ssh into the zones (yes saw a nxge0 link down message in /var/adm/messages) so is there some redundancy? I see a VID of 77 on 3 interfaces so if one fails will it go down another interface?
Is there a better command to tell me how the ldom vlan is configured?
Thanks
|