Martin,
  A quick look at the information that you sent, it looks like you are
missing a NICDEF statement in your User direct for each linux guest.
                            Bob 

-----Original Message-----
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Kline, Martin
Sent: Thursday, August 13, 2009 3:50 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Configuring and Using a VSWITCH

We are attempting to configure a proof of concept z/VM and Linux
configuration, and I have spent several days futzing around with the
vswitch. It just plain does not work. Linux says the LAN is offline. 

Maybe someone could be so kind as to point out the error of my ways?

Our real OSA address is 0700. It works just fine. I can use a TN3270
emulator to connect to VM. But, when the guests try to access the
vswitch, it's a totally different story.

Here are some of the related configuration files as they currently
exist:

q vswitch acc                                                          
VSWITCH SYSTEM VSWITCH1 Type: VSWITCH Connected: 0    Maxconn: INFINITE
  PERSISTENT  RESTRICTED    NONROUTER                 Accounting: OFF  
  VLAN Unaware                                                         
  MAC address: 02-00-01-00-00-01                                       
  State: Ready                                                         
  IPTimeout: 5         QueueStorage: 8                                 
    Authorized userids:                                                
      OZLXDEV1 OZLXINIT OZLXORA1 OZLXSINI SYSTEM                       
  RDEV: 0704.P00 VDEV: 0704 Controller: DTCVSW1                        

---------------------------------------------------

from SYSTEM CONFIG

DEFINE VSWITCH VSWITCH1 RDEV 0704
VMLAN MACPREFIX 020001           

---------------------------------------------------

q osa                                                               
OSA  0700 ATTACHED TO TCPIP    0700 DEVTYPE OSA         CHPID 80 OSD
OSA  0701 ATTACHED TO TCPIP    0701 DEVTYPE OSA         CHPID 80 OSD
OSA  0702 ATTACHED TO TCPIP    0702 DEVTYPE OSA         CHPID 80 OSD
OSA  0704 ATTACHED TO DTCVSW1  0704 DEVTYPE OSA         CHPID 80 OSD
OSA  0705 ATTACHED TO DTCVSW1  0705 DEVTYPE OSA         CHPID 80 OSD
OSA  0706 ATTACHED TO DTCVSW1  0706 DEVTYPE OSA         CHPID 80 OSD

---------------------------------------------------

USER DIRECT:

******************************
*                             
PROFILE TCPCMSU               
  IPL CMS                     
  MACH ESA                    
  SPOOL 000C 2540 READER *    
  SPOOL 000D 2540 PUNCH A     
  SPOOL 000E 1403 A           
  CONSOLE 009 3215 T          
  LINK MAINT 0190 0190 RR     
  LINK MAINT 019D 019D RR     
  LINK MAINT 019E 019E RR     
  LINK MAINT 0402 0402 RR     
  LINK MAINT 0401 0401 RR     
  LINK MAINT 0405 0405 RR     
 . . .
******************************            
*                                         
PROFILE LNXDFLT                           
  MACHINE ESA 2                           
  CPU 00 BASE                             
  CPU 01                                  
  IPL 200                                 
  CONSOLE 009 3215                        
  NICDEF 300 TYPE QDIO LAN SYSTEM VSWITCH1
  SPOOL 000C 2540 READER *                
  SPOOL 000D 2540 PUNCH A                 
  SPOOL 000E 1403 A                       
 . . .
******************************                                
*                                                             
USER DTCVSW1  DTCVSW1  32M  128M G                            
 INCLUDE TCPCMSU                                              
 OPTION QUICKDSP SVMSTAT MAXCONN 1024 DIAG98                  
 IUCV *VSWITCH MSGLIMIT 65535                                 
 LINK 5VMTCP40 491 491 RR                                     
 LINK 5VMTCP40 492 492 RR                                     
 LINK TCPMAINT 591 591 RR                                     
 LINK TCPMAINT 592 592 RR                                     
 LINK TCPMAINT 198 198 RR                                     
 MDISK 191 3390 2354 005 VMWK02  MR ******** ******** ********  . . .
******************************  
*LINUX 2-PACK      
USER OZLXINIT OZLXINIT 1G 2G G  
  INCLUDE LNXDFLT               
  MDISK 200 3390 1 END LX2E77 M
  MDISK 201 3390 1 END LX2E78 M
  MDISK 202 3390 1 END LX2E7A M
  MDISK 203 3390 1 END LX2E80 M
******************************  
*LINUX SERVER OZLXORA1          
USER OZLXORA1 OZLXORA1 1G 2G G  
  INCLUDE LNXDFLT               
  MDISK 200 3390 1 END LX2E75 M
  MDISK 201 3390 1 END LX2E79 M
  MDISK 202 3390 1 END LX2E81 M
--------------------------------------------------


SYSTEM DTCPARMS:

.********************************************************
.* SYSTEM DTCPARMS created by DTCIPWIZ EXEC on 3 Dec 2008
.* Configuration program run by MAINT at 13:04:37        
.********************************************************
:nick.TCPIP    :type.server                              
               :class.stack                              
               :attach.0700-0702                         
:nick.DTCVSW1  :type.server    :class.stack              

---------------------------------------------------

>From PROFILE TCPIP

  DEVICE VDEV1     VIRTUAL 0                                            
  LINK VLINK1      VIRTUAL 0 VDEV1                                      
; ----------------------------------------------------------------------
DEVICE d...@0700  OSD 0700   NONROUTER                                   
LINK OSA0700 QDIOETHERNET d...@0700  PATHMTU MTU 1492 IP                 
; (End DEVICE and LINK statements)                                      
; ----------------------------------------------------------------------
; ----------------------------------------------------------------------
HOME                                                                    
10.0.102.47 255.255.255.0 OSA0700                                       
10.0.219.1  255.255.255.0 VLINK1                                        
; (End HOME Address information)                                        
; ----------------------------------------------------------------------
GATEWAY                                                                 
; Network       Subnet          First           Link             MTU    
; Address       Mask            Hop             Name             Size   
; ------------- --------------- --------------- ---------------- -----  
DEFAULTNET                      10.0.102.4      OSA0700          1492   
; (End GATEWAY Static Routing information)                              
; ----------------------------------------------------------------------
START d...@0700

Reply via email to