On Tuesday, 03/07/2017 at 06:18 GMT, "Vitale, Joseph" 
<[email protected]> wrote:
> Hello,
>
> Interested to know if  VLAN Tagging can be done via zLinux if  zVM 
currently adding VLAN Tag.  OSA
> set up for Port access. Using Red Hat 7.  Please see below:
>
> CP SET VSWITCH VSWITCH2 GRANT R00022N1 VLAN 2419 2439
> HCPSWS2847E PORTTYPE ACCESS is not allowed when the user is authorized
> HCPSWS2847E for more than one VLAN

That's because you didn't include PORTTYPE TRUNK on the GRANT.  If you do 
that, you can use vconfig on Linux to let it do the tagging (eeewwww!)

Alternatively, you can use a PORTBASED VSWITCH and assign a VLAN to a 
virtual NIC, so that Linux can remain VLAN unaware.  In this mode, you:
a) Add the PORTBASED option to DEFINE  VSWITCH
b) Use the SET VSWITCH PORTNUMBER command to assign guests to a port 
number.
c) Use the SET VSWITCH VLANID command to assign a port number to a VLAN
d) Remove the VSWITCH name from the NICDEF in the directory
e) Add COMMAND COUPLE to the directory to connect a vdev to a port.

Folks at SHARE in San Jose this week can see my presentation on this 
Wednesday, along with a preview of the PORTBASED/USERBASED VSWITCH 
unification and simplification that will be coming soon to a z/VM system 
near you.

Alan Altmark

Senior Managing z/VM and Linux Consultant
Lab Services System z Delivery Practice
IBM Systems & Technology Group
ibm.com/systems/services/labservices
office: 607.429.3323
mobile; 607.321.7556
[email protected]
IBM Endicott

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to