Why are you issuing the "DEFINE LAN" command?  You don't need it.

Your NICDEF should be connected to VMT1VSW0 not VMT1LN01.

This is why you can't connect anywhere.    If you use "DEFINE LAN", you're 
just building an internal to z/VM only lan.   You don't need this unless 
you're doing guest to guest communications.




From:   Stefan Raabe <stefan.ra...@deutsche-boerse.com>
To:     IBMVM@LISTSERV.UARK.EDU
Date:   05/23/2011 05:38 AM
Subject:        Create z/VM Layer 2 VLAN / VSwitch
Sent by:        The IBM z/VM Operating System <IBMVM@LISTSERV.UARK.EDU>




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