Is the native VLAN of the switch really 485?  When the guest VLAN is the same 
as the specified native VLAN, the frame is sent untagged.  That will cause the 
switch to apply the port default VLAN, which is the native VLAN unless it has 
been overridden.

In most cases, the native VLAN is 1.


Regards,

Alan Altmark
IBM Lab Services

-----------------
Sent from my BlackBerry Handheld.


----- Original Message -----
From: Stefan Raabe [stefan.ra...@deutsche-boerse.com]
Sent: 05/23/2011 11:39 AM ZE2
To: IBMVM@LISTSERV.UARK.EDU
Subject: [IBMVM] Create z/VM Layer 2 VLAN / VSwitch



Hi,

i am not a networking expert, but need to build a layer 2 vlan in z/VM
5.4. Linux is Suse SLES 11 SP1.

I was told to use layer 2 for VLAN 485 so i  used these commands to create
vswitch / vlan

DEFINE VSWITCH VMT1VSW0 RDEV E606 E706 CONTROLLER * ETHERNET VLAN 485
native 485

DEFINE LAN VMT1LN01 OWNERID SYSTEM TYPE QDIO ETHERNET MAXCONN INFINITE
UNRESTRICTED ACCOUNTING OFF

the Linux guest nic is defined in the directory

NICDEF   9000 TYPE QDIO DEVICES 3 LAN SYSTEM VMT1LN01 MACID E32200

So after defining / starting everything my system looks like this:

q vmlan
VMLAN maintenance level:
  Latest Service: VM64604
VMLAN MAC address assignment:
  MACADDR Prefix: 02FFFF
  MACIDRANGE SYSTEM: 000001-FFFFFF
             USER:   000000-000000
VMLAN default accounting status:
  SYSTEM Accounting: OFF       USER Accounting: OFF
VMLAN general activity:
  PERSISTENT Limit: INFINITE   Current: 2
  TRANSIENT  Limit: INFINITE   Current: 0
Ready; T=0.01/0.01 11:27:19

q vswitch details
VSWITCH SYSTEM VMT1VSW0 Type: VSWITCH Connected: 0    Maxconn: INFINITE
  PERSISTENT  RESTRICTED    ETHERNET                  Accounting: OFF
  VLAN Aware  Default VLAN: 0485    Default Porttype: Access  GVRP:
Enabled
              Native  VLAN: 0485    VLAN Counters: OFF
  MAC address: 02-FF-FF-00-00-01
  State: Ready
  IPTimeout: 5         QueueStorage: 8
  Isolation Status: OFF
  RDEV: E606.P00 VDEV: E606 Controller: DTCVSW2
    VSWITCH Connection:
      RX Packets: 0          Discarded: 0          Errors: 0
      TX Packets: 0          Discarded: 0          Errors: 0
      RX Bytes: 0                    TX Bytes: 0
      Device: E606  Unit: 000   Role: DATA       vPort: 0001  Index: 0001

  RDEV: E706.P00 VDEV: E706 Controller: DTCVSW1  BACKUP
Ready; T=0.01/0.01 11:28:10

q lan details
LAN SYSTEM VMT1LN01     Type: QDIO    Connected: 1    Maxconn: INFINITE
  PERSISTENT  UNRESTRICTED  ETHERNET                  Accounting: OFF
  IPTimeout: 5
  Isolation Status: OFF
  Adapter Connections:
    Adapter Owner: LXDBST22 NIC: 9000.P00 Name: 0
      RX Packets: 0          Discarded: 0          Errors: 0
      TX Packets: 0          Discarded: 81         Errors: 0
      RX Bytes: 0                    TX Bytes: 0
      Device: 9002  Unit: 002   Role: DATA       vPort: 0065  Index: 0065

      Options: Ethernet Broadcast
        Unicast MAC Addresses:
          02-FF-FF-E3-22-00
        Multicast MAC Addresses:
          01-00-5E-00-00-01
          33-33-00-00-00-01
          33-33-FF-E3-22-00
VSWITCH SYSTEM VMT1VSW0 Type: VSWITCH Connected: 0    Maxconn: INFINITE
  PERSISTENT  RESTRICTED    ETHERNET                  Accounting: OFF
  VLAN Aware  Default VLAN: 0485    Default Porttype: Access  GVRP:
Enabled
              Native  VLAN: 0485    VLAN Counters: OFF
  MAC address: 02-FF-FF-00-00-01
  State: Ready
  IPTimeout: 5         QueueStorage: 8
  Isolation Status: OFF
  RDEV: E606.P00 VDEV: E606 Controller: DTCVSW2
  RDEV: E706.P00 VDEV: E706 Controller: DTCVSW1  BACKUP

i also performed the proper RACF definitions for vlan 0485 (UACC(UPDATE))
+ refresh

nic defined in the linux guest using yast with proper ip address.

but i can not get any ping to work from / to the linux system. i know this
is also related to the routes which are not changed at the moment, but i
should be able to see a ping comming in using tcpdump, or not ?!?

any hint what is wrong in my configuraiton?!?

Regards, Stefan












-------------------------------------------------------------------------
Deutsche Börse AG
Chairman of the Supervisory Board/
Vorsitzender des Aufsichtsrats:
Dr. Manfred Gentz
Executive Board/Vorstand:
Reto Francioni (Chief Executive Officer/Vorsitzender),
Andreas Preuss (Deputy Chief Executive Officer/
stellv. Vorsitzender), Frank Gerstenschläger,
Michael Kuhn, Gregor Pottmeyer, Jeffrey Tessler.
Aktiengesellschaft with registered seat in/mit Sitz in
Frankfurt am Main.
Commercial register/Handelsregister:
Local court/Amtsgericht Frankfurt am Main HRB 32232.
-----------------------------------------
Diese E-Mail enthaelt vertrauliche oder rechtlich geschuetzte Informationen.
Wenn Sie nicht der beabsichtigte Empfaenger sind, informieren Sie bitte
sofort den Absender und loeschen Sie diese E-Mail. Das unbefugte Kopieren
dieser E-Mail oder die unbefugte Weitergabe der enthaltenen Informationen
ist nicht gestattet.

The information contained in this message is confidential or protected by
law. If you are not the intended recipient, please contact the sender and
delete this message. Any unauthorised copying of this message or
unauthorised distribution of the information contained herein is prohibited.

Legally required information for business correspondence/
Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
http://deutsche-boerse.com/letterhead

Reply via email to