Hi,

And why doesn't you configure your network in Linux as layer 2 if you already 
think it is layer 2?

You have to set LAYER2=1 or something  in your conf-file of Linux.

Kind regards,

Alexander

-----Original Message-----
From: The IBM z/VM Operating System [mailto:[email protected]] On Behalf 
Of Bauer, Bobby (NIH/CIT) [E]
Sent: Monday, June 14, 2010 3:32 PM
To: [email protected]
Subject: Error bringing NIC 0800 online

I'm trying to build a new server under VM and can't seem to get the virtual NIC 
to talk to the vswitch to come online. The error seems to indicate a mismatch 
between layer2 and layer3 but I can't see it. Any help would be appreciated. 
I've cross posted to the zLinux listserve 

When I log into the server I see:
NIC 0800 is created; devices 0800-0802 defined               
z/VM Version 5 Release 4.0, Service Level 0903 (64-bit),     
built on IBM Virtualization Technology                       
There is no logmsg data                                      

Displaying the vswitch it sure looks like layer 2 to me: 
q vswitch vsw2                                                              
VSWITCH SYSTEM VSW2     Type: VSWITCH Connected: 4    Maxconn: INFINITE     
  PERSISTENT  RESTRICTED    ETHERNET                  Accounting: OFF       
  VLAN Unaware                                                              
  MAC address: 02-00-00-00-00-03                                            
  State: Ready                                                              
  IPTimeout: 5         QueueStorage: 8                                      
  Isolation Status: OFF                                                     
  RDEV: 0C64.P00 VDEV: 0C64 Controller: DTCVSW1                             
  RDEV: 0C74.P00 VDEV: 0C74 Controller: DTCVSW2  BACKUP                     
                                      
The conf file I'm using:
HOSTNAME=ODBD1.CIT.NIH.GOV                
DASD=200-205                              
NETTYPE=qeth                              
IPADDR=128.231.xxx.xx                     
SUBCHANNELS=0.0.0800,0.0.0801,0.0.0802    
NETMASK=255.255.254.0                     
BROADCAST=128.231.xxx.xxx                 
NETWORK=128.231.xxx.0                     
PORTNAME=UNASSIGNED                       
LAYER2=0                                  
DNS=156.40.xx.xx             
SEARCHDNS=NIH.GOV                         
GATEWAY=128.231.xxx.x                     

When I issue ODBD1 I eventually get:
qeth: loading qeth S/390 OSA-Express driver                                 
qeth: received an IDX TERMINATE with cause code 0xf6                        
qeth: sense data available on channel 0.0.0800.                             
qeth:  cstat 0x0                                                            
 dstat 0xE                                                                  
qeth: irb: 00 c2 60 17  00 f7 60 38  0e 00 10 00  00 80 00 00               
qeth: irb: 01 02 00 00  00 00 00 00  00 00 00 00  00 00 00 00               
qeth: sense data: 02 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00        
qeth: sense data: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00        
qeth: Initialization in hardsetup failed! rc=-5                             
SIOCSIFNETMASK: No such device                                              
SIOCSIFBRDADDR: No such device                                              
ping: sendto: Network is unreachable                                        

      

Bobby Bauer
Center for Information Technology
National Institutes of Health
Bethesda, MD 20892-5628
301-594-7474

Reply via email to