Hello,
I later added PORTTYPE TRUNK , unaware of "vconfig". Thanks very much.
Thanks
Joe
Technology Services Group
Mainframe Operating Systems
Pershing Plaza
95 Christopher Columbus Drive
Floor 14
Jersey City, N.J. 07302
Work 201-395-1509
Cell 917-903-0102
-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Alan
Altmark
Sent: Tuesday, March 07, 2017 1:37 PM
To: [email protected]
Subject: Re: DEDICATED OSA, LINUX VLAN tagging and bonding
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/
The information contained in this e-mail, and any attachment, is confidential
and is intended solely for the use of the intended recipient. Access, copying
or re-use of the e-mail or any attachment, or any information contained
therein, by any other person is not authorized. If you are not the intended
recipient please return the e-mail to the sender and delete it from your
computer. Although we attempt to sweep e-mail and attachments for viruses, we
do not guarantee that either are virus-free and accept no liability for any
damage sustained as a result of viruses.
Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures
relating to European legal entities.
----------------------------------------------------------------------
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/