On Tuesday, 04/22/2008 at 05:52 EDT, "Bhemidhi, Ashwin" <[EMAIL PROTECTED]>
wrote:

> 1) Redhat Linux guest machine running kernel version 2.6.18-1.2747.el5
> under z/VM 5.3
> 2) Using OSA Express 2 with Gigabit port and VLAN enabled at the network
> switch with 2 different VLANS.
> 3) The 2 VLANs are a) a VLAN for IP network for IP traffic and b) a VLAN
> for only Ethernet frames (LLC, no IP).
> 4) Configured 1 Layer 2 VSwitch with 2 VLANs and granted the Network
> interface as a trunk to the Linux guest machine.

1. Make sure the switch
   a) has the OSA port defined as a trunk
   b) has authorized the OSA to use both VLANs on the trunk port
   c) has set the trunk protocol to "dot1q"
2. DEFINE VSWITCH .... VLAN 1 (or whatever the default VLAN is for the
port).  By default, the default VLAN (sorry!) is the switch's native VLAN
id, which defaults to 1.  (extra sorry)
In 5.3 you can DEFINE VSWITCH ... VLAN 2 NATIVE 1 if you want guests to
have VLAN 2 by default, but keep the native (untagged)VLAN 1.
3. Make sure you grant both VLANs to the guest.  Use explicit grants;
don't use defaults.
4. Use vconfig to create two VLAN-specific interfaces on eth0

Alan Altmark
z/VM Development
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

Reply via email to