LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 02-27-2012, 05:05 PM   #1
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 682

Rep: Reputation: 63
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
 
  


Reply

Tags
ldom, network, vlan


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual networks as a learning environment? spoovy Linux - Networking 10 11-21-2010 05:35 PM
Mpxio & ldoms rahulk Solaris / OpenSolaris 0 02-02-2010 06:15 AM
Virtual Networks kc3 Linux - Virtualization and Cloud 3 12-01-2009 07:12 AM
Virtual Office Networks bluemeey General 0 08-24-2007 08:21 PM
Virtual networks goose Linux - Networking 0 06-30-2004 02:47 PM


All times are GMT -5. The time now is 06:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration