Sun Microsystems, Inc.  Sun System Handbook - ISO 4.1 October 2012 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1437610.1
Update Date:2012-07-09
Keywords:

Solution Type  Technical Instruction Sure

Solution  1437610.1 :   Sun Storage 7000 Unified Storage System: How to create VLANs over an aggregated link and assign IP addresses  


Related Items
  • Sun Storage 7310 Unified Storage System
  •  
  • Sun Storage 7410 Unified Storage System
  •  
  • Sun ZFS Storage 7120
  •  
  • Sun Storage 7110 Unified Storage System
  •  
  • Sun ZFS Storage 7320
  •  
  • Sun ZFS Storage 7420
  •  
  • Sun Storage 7210 Unified Storage System
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>NAS>SN-DK: 7xxx NAS
  •  




In this Document
Goal
Fix
 1. Setting Up An Aggregated Link
 2. Setting up VLANs over The Aggregated Link
 3. Assigning IP addresses to each VLAN datalinks


Applies to:

Sun ZFS Storage 7420 - Version Not Applicable to Not Applicable [Release N/A]
Sun Storage 7310 Unified Storage System - Version Not Applicable to Not Applicable [Release N/A]
Sun Storage 7210 Unified Storage System - Version Not Applicable to Not Applicable [Release N/A]
Sun ZFS Storage 7120 - Version Not Applicable to Not Applicable [Release N/A]
Sun Storage 7410 Unified Storage System - Version Not Applicable to Not Applicable [Release N/A]
Information in this document applies to any platform.

Goal

Summary

This documents is intended to guide through the steps to set up the following.

  1. Set up a link aggregation that contains mutiple physical links (No LACP)
  2. Set up VLANs over an aggregated links
  3. Set up IP addresses to each datalinks with VLAN ID.

Out of Scope

This document does NOT include:

  1. Setting up a link aggregation with LACP.
  2. How to set up VLANs on the Ethernet switch
  3. Physical cabling

Setup Overview

The blow is the overview of the set up.

Network PortDatalinkVLAN (datalink)IP Address
Network Port 1 aggr1 VLAN 10 192.168.151.21/24
Network Port 2 (same as above) VLAN 20 192.168.152.21/24

Fix

1. Setting Up An Aggregated Link

Aggregated Link or link aggregation is to bind multiple network ports and treat them as one link.
The below example demonstrates creating an aggregated link over e1000g1 and e1000g2. 

Notice that there is no datalink configured on these links.

 

oratkyar1:> configuration net datalinks
oratkyar1:configuration net datalinks> show
Datalinks:

DATALINK CLASS LINKS STATE LABEL
e1000g0 device e1000g0 up Untitled Datalink


Now, let's set up an aggregation using L2 policy.  The policy has to match with what policy set on the switch side of the aggregation.

oratkyar1:configuration net datalinks> aggregation
oratkyar1:configuration net datalinks aggregation (uncommitted)> show
Properties:
class = aggregation
label = Untitled Datalink
links = (unset)
jumbo = false
policy = L3
mode = active
timer = short
uaddr = (unset)
key = 1

oratkyar1:configuration net datalinks aggregation (uncommitted)> set label="sample aggr"
label = sample aggr (uncommitted)
oratkyar1:configuration net datalinks aggregation (uncommitted)> set links=e1000g1,e1000g2
links = e1000g1,e1000g2 (uncommitted)
oratkyar1:configuration net datalinks aggregation (uncommitted)> set policy=L2
policy = L2 (uncommitted)
oratkyar1:configuration net datalinks aggregation (uncommitted)> commit
oratkyar1:configuration net datalinks> show
Datalinks:

DATALINK CLASS       LINKS   STATE   LABEL
aggr1    aggregation e1000g1 unknown sample aggrunknown sample aggr
                     e1000g2
                      
e1000g0 device e1000g0 up Untitled Datalink

 

2. Setting up VLANs over The Aggregated Link

The following shows how to set up two different VLANs over aggregated datalink "aggr1."

Note the VLAN datalinks have auto-generated names such as aggr10001 or aggr20001. Those names depend on the VLAN ID and the aggregation number.  Simularily if you set up VLAN without forming aggregated link, it will show the network interface name such as e1000g or nxge.

 

oratkyar1:configuration net datalinks> vlan
oratkyar1:configuration net datalinks vlan (uncommitted)> set label="vlan 10"
label = vlan 10 (uncommitted)
oratkyar1:configuration net datalinks vlan (uncommitted)> set links=aggr1
links = aggr1 (uncommitted)
oratkyar1:configuration net datalinks vlan (uncommitted)> set id=10
id = 10 (uncommitted)
oratkyar1:configuration net datalinks vlan (uncommitted)> commit
oratkyar1:configuration net datalinks> vlan
oratkyar1:configuration net datalinks vlan (uncommitted)> set label="vlan 20"
label = vlan 20 (uncommitted)
oratkyar1:configuration net datalinks vlan (uncommitted)> set links=aggr1
links = aggr1 (uncommitted)
oratkyar1:configuration net datalinks vlan (uncommitted)> set id=20
id = 20 (uncommitted)
oratkyar1:configuration net datalinks vlan (uncommitted)> commit
oratkyar1:configuration net datalinks> show
Datalinks:

DATALINK CLASS LINKS STATE LABEL
aggr1 aggregation e1000g1 up sample aggr
                  e1000g2
aggr10001 vlan aggr1 up vlan 10
aggr20001 vlan aggr1 up vlan 20
e1000g0 device e1000g0 up Untitled Datalink


The VLAN datalink name consists of  the following components.

  • Interface Type (nge, nxge, igbe, aggr, ...)
  • VLAN ID
  • Instance of the Network Interface (nge3, igbe0, ...) using 3 digits

Examples:

  • aggr10001 is a VLAN on aggr1 with VLAN ID 10
  • nge208003 is a VLAN on nge3 with VLAN ID 208
  • ixgbe52002 is a VLIAN on ixgbe2 with VLAN ID 52

The above examples provide an idea how the relationship between VLAN ID and Datalinks are used to create names or the reverse direction, to know what interface is behind which VLAN.

3. Assigning IP addresses to each VLAN datalinks

The VLAN datalink is now ready to get an IP address assigned as shown in the example below.

oratkyar1:configuration net datalinks> cd ..
oratkyar1:configuration net> interfaces
oratkyar1:configuration net interfaces> ip
oratkyar1:configuration net interfaces ip (uncommitted)> set v4addrs=192.168.161.21/24
v4addrs = 192.168.161.21/24 (uncommitted)
oratkyar1:configuration net interfaces ip (uncommitted)> set label="vlan 10 ip"
label = vlan 10 ip (uncommitted)
oratkyar1:configuration net interfaces ip (uncommitted)> set links=aggr10001
links = aggr10001 (uncommitted)
oratkyar1:configuration net interfaces ip (uncommitted)> commit
oratkyar1:configuration net interfaces> ip
oratkyar1:configuration net interfaces ip (uncommitted)> set v4
v4addrs v4dhcp
oratkyar1:configuration net interfaces ip (uncommitted)> set v4addrs=192.168.162.21/24
v4addrs = 192.168.162.21/24 (uncommitted)
oratkyar1:configuration net interfaces ip (uncommitted)> set label="vlan 20 ip"
label = vlan 20 ip (uncommitted)
oratkyar1:configuration net interfaces ip (uncommitted)> set links=aggr20001
links = aggr20001 (uncommitted)
oratkyar1:configuration net interfaces ip (uncommitted)> commit
oratkyar1:configuration net interfaces> show
Interfaces:

INTERFACE STATE CLASS LINKS ADDRS LABEL
aggr10001 up ip aggr10001 192.168.161.21/24 vlan 10 ip
aggr20001 up ip aggr20001 192.168.162.21/24 vlan 20 ip
e1000g0 up ip e1000g0 192.168.150.21/24 vnet0

 


Attachments
This solution has no attachment
  Copyright © 2012 Sun Microsystems, Inc.  All rights reserved.
 Feedback