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-1434084.1
Update Date:2012-07-09
Keywords:

Solution Type  Technical Instruction Sure

Solution  1434084.1 :   Sun Storage 7000 Unified Storage System: How to create VLANs with dedicated IPs on an existing datalink  


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
  •  
  • .Old GCS Categories>Sun Microsystems>Storage - Disk>Unified Storage
  •  




In this Document
Goal
Fix
 Summary of Steps:
 Steps:


Applies to:

Sun Storage 7110 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 ZFS Storage 7320 - Version Not Applicable to Not Applicable [Release N/A]
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]
7000 Appliance OS (Fishworks)

Goal

This document explains how you can assign multiple VLANs with dedicated IP addresses on the same network port.  For example, see below.

Network PortDatalinkVLANIP Address
port 1  e1000g1 VLAN ID 10 192.168.161.21/24
(same as above) (same as above) VLAN ID 20 192.168.162.21/24

Fix

Summary of Steps:

  • First a VLANs on the top of the existing datalink needs to be created.
  • Then an IP interface for each VLAN needs to be set up.

 

Note: If looking for generic network troubleshooting tips for ZFS Storage Appliance, refer to <Document:1392086.1> Sun Storage 7000 Unified Storage System: How to Troubleshoot Network Problems.



Steps:


1. Confirm the name of data link which will get an VLAN assigned.

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

DATALINK CLASS LINKS STATE LABEL
e1000g0 device e1000g0 up Untitled Datalink
e1000g1 device e1000g1 up datalink2


2. Create VLANs against the data link just confirmed above

oratkyar1:configuration net datalinks> vlan
oratkyar1:configuration net datalinks vlan (uncommitted)> show
Properties:
class = vlan
label = Untitled Datalink
links = (unset)
id = (unset)

oratkyar1:configuration net datalinks vlan (uncommitted)> set label=vlan10
label = vlan10 (uncommitted)
oratkyar1:configuration net datalinks vlan (uncommitted)> set links=e1000g1
links = e1000g1 (uncommitted)
oratkyar1:configuration net datalinks vlan (uncommitted)> set id=10
id = 10 (uncommitted)
oratkyar1:configuration net datalinks vlan (uncommitted)> commit


When the commit command is complete, the first VLAN on datalink e1000g1 has been created.
Let's create another one.


oratkyar1:configuration net datalinks> vlan
oratkyar1:configuration net datalinks vlan (uncommitted)> set label=vlan20
label = vlan20 (uncommitted)
oratkyar1:configuration net datalinks vlan (uncommitted)> set links=e1
e1000g0 e1000g1
oratkyar1:configuration net datalinks vlan (uncommitted)> set links=e1000g1
links = e1000g1 (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
e1000g0 device e1000g0 up Untitled Datalink
e1000g1 device e1000g1 up datalink2
e1000g10001 vlan e1000g1 up vlan10
e1000g20001 vlan e1000g1 up vlan20


This concludes VLAN creation. Now an interface for each VLAN can be created. As each interface needs an IP address, a dedicated IP address for each VLAN is required.

oratkyar1:configuration net datalinks> cd ..
oratkyar1:configuration net> interfaces
oratkyar1:configuration net interfaces> ip
oratkyar1:configuration net interfaces ip (uncommitted)> show
Properties:
state =
curaddrs =
class = ip
label = Untitled Interface
enable = true
admin = true
links = (unset)
v4addrs =
v4dhcp = false
v6addrs =
v6dhcp = false

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 links=e1000g10001
links = e1000g10001 (uncommitted)
oratkyar1:configuration net interfaces ip (uncommitted)> commit
oratkyar1:configuration net interfaces> ip
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 link=e1000g020001
error: property "link" is not recognized
oratkyar1:configuration net interfaces ip (uncommitted)> set links=e1000g20001
links = e1000g20001 (uncommitted)
oratkyar1:configuration net interfaces ip (uncommitted)> set label=vlan20_ip
label = vlan20_ip (uncommitted)
oratkyar1:configuration net interfaces ip (uncommitted)> commit
oratkyar1:configuration net interfaces> show
Interfaces:

INTERFACE STATE CLASS LINKS ADDRS LABEL
e1000g0 up ip e1000g0 192.168.150.21/24 vnet0
e1000g1 up ip e1000g1 192.168.151.21/24 lab lan2
e1000g10001 up ip e1000g10001 192.168.161.21/24 Untitled Interface
e1000g20001 up ip e1000g20001 192.168.162.21/24 vlan20_ip

oratkyar1:configuration net interfaces>


(END OF STEPS)


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