On Friday, 05/09/2008 at 05:11 EDT, Richard Clapper <[EMAIL PROTECTED]> wrote: > Thanks, Nick, for this. I had been using the 5.2 CP Command manual, which > didn't have NATIVE. We recently converted to 5.3. > > I've been playing around with this, and it's still not working for me. Just to > clarify, in your example you didn't set VLAN on the SET VSWITCH command, so the > Linux Guest would default to VLAN 83. Do you have other guests, for other > VLANs, on this VSWITCH, and do you explicitly specify the VLAN number for > them? Why would I choose VLAN 83 over any other VLAN number that I want to use?
The "VLAN" parameter does the following: 1. Indicates that you are operating a VLAN-aware VSWITCH. The OSA port MUST be configued as a trunk port in the physical switch. 2. Identifies the default VLAN assignment for any guest who is given authority to connect to the VSWITCH, but for whom no VLAN id was specified. 3. Identifies the DEFAULT VLAN id on the OSA's switch port. "Say, what?" That is, a trunk port can send untagged frames. If it does, the port's DEFAULT VLAN is assigned by the switch. Likewise, if data is headed TO the VSWITCH and it is coming from the default VLAN, the VLAN tag is not present. Any guest who has PORTTYPE TRUNK -AND- is authorized to use the default VLAN id will receive said frames (sans tag) and will have any untagged frames sent (still untagged) to the OSA as-is. If the DEFAULT VLAN id is not configured for the port in the switch, the NATIVE VLAN id will be used. The initial value for the NATIVE VLAN id in Cisco switches is VLAN 1. It follows, then, that the initial DEFAULT VLAN on a trunk port is VLAN 1. Some installations change the DEFAULT VLAN on the port in order to "trap" any untagged frames and prevent them from flowing through the switch. In z/VM 5.3 we changed DEFINE VSWITCH to let you specify the default *guest* VLAN assignment SEPARATELY from the DEFAULT VLAN id for the *port*. The default guest assignment is whatever you put on VLAN (consistent with #2 above). You specify the port's DEFAULT VLAN id by using the NATIVE keyword. The rules for the NATIVE vlan ID are as described in #3. If you do not specify NATIVE in z/VM 5.3, it will default to the same value as you specified on the VLAN keyword, providing compatibility with z/VM 5.2 and earlier. Alan Altmark z/VM Development IBM Endicott