We defined NICDEF statements in the VM profile. Please see below VM guest profile contains the following: -------------------------------------------------------------- NICDEF 0600 TYPE QDIO LAN SYSTEM VSWITCH1 NICDEF 0700 TYPE QDIO LAN SYSTEM VSWITCHE
VSWITCH Definitions: --------------------------------------------------------------- q lan 14:17:39 VSWITCH SYSTEM VSWITCHE Type: VSWITCH Connected: 2 Maxconn: INFINITE 14:17:39 PERSISTENT RESTRICTED ETHERNET Accounting: OFF 14:17:39 VLAN Unaware 14:17:39 State: Ready 14:17:39 QueueStorage: 8 14:17:39 Portname: OSA3600 RDEV: 3600 Controller: VSWCTRL1 VDEV: 3600 14:17:39 VSWITCH SYSTEM VSWITCH1 Type: VSWITCH Connected: 2 Maxconn: INFINITE 14:17:39 PERSISTENT RESTRICTED NONROUTER Accounting: OFF 14:17:39 VLAN Unaware 14:17:39 State: Ready 14:17:39 IPTimeout: 5 QueueStorage: 8 14:17:39 Portname: UNASSIGNED RDEV: 3903 Controller: VSWCTRL1 VDEV: 3903 Ready; T=0.01/0.01 14:17:39 VSWITCH Definitions: Query NIC details: -------------------------------------------------------------- Q NIC Adapter 0600 Type: QDIO Name: UNASSIGNED Devices: 3 Port 0 MAC: 02-00-00-00-00-03 VSWITCH: SYSTEM VSWITCH1 Adapter 0700 Type: QDIO Name: UNASSIGNED Devices: 3 Port 0 MAC: 02-00-00-00-00-04 VSWITCH: SYSTEM VSWITCHE Q NIC DET Adapter 0600 Type: QDIO Name: UNASSIGNED Devices: 3 Port 0 MAC: 02-00-00-00-00-03 VSWITCH: SYSTEM VSWITCH1 RX Packets: 26620 Discarded: 239 Errors: 0 TX Packets: 3378 Discarded: 0 Errors: 0 RX Bytes: 1227218 TX Bytes: 435763 Connection Name: HALLOLE State: Session Established Device: 0600 Unit: 000 Role: CTL-READ Device: 0601 Unit: 001 Role: CTL-WRITE Device: 0602 Unit: 002 Role: DATA Options: Broadcast Multicast IPv4 VLAN Unicast IP Addresses: 157.170.179.123 MAC: 02-00-00-00-00-03 Multicast IP Addresses: 224.0.0.1 MAC: 01-00-5E-00-00-01 Adapter 0700 Type: QDIO Name: UNASSIGNED Devices: 3 Port 0 MAC: 02-00-00-00-00-04 VSWITCH: SYSTEM VSWITCHE RX Packets: 0 Discarded: 0 Errors: 0 TX Packets: 0 Discarded: 0 Errors: 0 RX Bytes: 0 TX Bytes: 0 Connection Name: HALLOLE State: CM_CONNECT Device: 0700 Unit: 000 Role: CTL-READ Device: 0701 Unit: 001 Role: CTL-WRITE Device: 0702 Unit: 002 Role: DATA Thank you, Ashwin -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rich Smrcina Sent: Wednesday, June 20, 2007 12:12 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: How to add Layer2 network device to linux guest machine Did you ATTACH 700, 701 and 702 to the Linux guest? Bhemidhi, Ashwin wrote: > We have few Z/VM Linux guest that we are evaluating for consideration. > We have both Redhat (evaluation) and Debian guest machines installed, > named svml09 and svml02 respectively. We need to 2 network interface > devices in the Linux guest machines for our home grown Linux application > to work. One the device talk IP and the other LLC over Ethernet. When we > installed both the Linux guest we only had 1 OSA CHPID( ID 2F, 600, > 601,602) allocated and available for the guest z/VM machines and during > the Linux guest installation the network device were detected and > configured as a part of the installation wizard in both the > distributions. Here is the trouble we are facing. We recently got > another OSA CHIPID 2C (0700, 0701, 0702) made available to the VM and > configured it as a layer 2 device and made them available to. Now we are > trying get the new network interfaces added and configured on both the > Linux guest but are unable. > > For the Redhat guest svml09 we followed the direction specified at > http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/s390-multi-i > nstall-guide/s1-s390info-addnetdevice.html . When i try to bring the > network device online using the command > "echo 1 echo 1 /sys/bus/ccwgroup/drivers/qeth/0.0.0700/online" and check > if the devices goes online the result of "cat > /sys/bus/ccwgroup/drivers/qeth/0.0.0700/online" we get a result "0" > inidicating the device being offline. > > > Can anyone please point out what we are doing wrong and are how to > trouble shoot this issue. > > > Thank you, > Ashwin > > ---------------------------------------------------------------------- > 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 > -- Rich Smrcina VM Assist, Inc. Phone: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008 ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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