Mark, you are correct.  "Vlan aware" does not require layer 2.

I don't think it has been said in this thread, but don't use the PORTTYPE
option at all on the Define VSWITCH.  Let it default to "access" and define
the virtual NIC connection type for each user (which is just about always
"access".)  The PORTTYPE option sets a default connection type, it does not
specify the type of real switch port the vswitch is connected to.

The VLAN option, if it is not specified as VLAN AWARE or VLAN UNAWARE, also
sets a default.  Only use VLAN AWARE or VLAN UNAWARE.

People trip over these 2 things all the time!  I'm wishing VM development
would fix the syntax of the DEFINE VSWITCH command to get rid of the
problem.

On Fri, Sep 25, 2015 at 2:49 PM, Mark Post <[email protected]> wrote:

> >>> On 9/25/2015 at 02:41 PM, Offer Baruch <[email protected]> wrote:
> > Not sure if i understand your question but yes i am sure.
> > When using a layer2 vswitch you have to specify the layer2 option on
> > znetconf/qeth_configure and on your ifcfg file or your NIC will simply
> > won't get online.
>
> That I understand.  What I'm not sure about is that Layer2 is required in
> the first place.  I don't see any reason why a VLAN unaware guest couldn't
> use either a Layer3 or Layer2 NIC.
>
>
> Mark Post
>
> ----------------------------------------------------------------------
> 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/
>



--
Bruce Hayden
z/VM and Linux on z Systems ATS
IBM, Endicott, NY

----------------------------------------------------------------------
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