Hi All,

I 'm a student. I'm trying to install a SLES10 in z/VM 5.2 running under 
Hercules 3.06. I'm new in this. Just I want to learn more.

I have some problem with the configuration of the network and I don't know why 
I cannot ping the gateway, I don't know how to define the vswitch, the NIC well 
, etc.

I send here the configurations  and some messages.

<b>1. Hercules CTC definition is :</b>

0E20-0E21    CTCI    192.168.0.41 192.168.0.37

<b>2. ZVM TCPIP Configuration is below: </b>

ASSORTEDPARMS
PROXYARP
ENDASSORTEDPARMS
; ----------------------------------------------------------------------
OBEY
OPERATOR TCPMAINT MAINT MPROUTE ROUTED DHCPD REXECD SNMPD SNMPQE
ENDOBEY
; ----------------------------------------------------------------------
; ---- CHANGE FOR FTP SERVER
AUTOLOG
  FTPSERVE 0
ENDAUTOLOG
;----- END OF CHANGE FOR FTP SERVER
PORT
  20   TCP FTPSERVE  NOAUTOLOG ; FTP Server
  21   TCP FTPSERVE            ; FTP Server
  23   TCP INTCLIEN            ; TELNET Server
; 25   TCP SMTP                ; SMTP Server
.
.
.
.
.
.
.

; ----------------------------------------------------------------------
DEVICE DEV600 CTC 600
LINK DEV600LK CTC 0 DEV600
; -------------------------------------------------
DEVICE d...@0e20  CTC 0E20
LINK OSAEXT CTC 0 d...@0e20  MTU 1500
; (End DEVICE and LINK statements)
; ----------------------------------------------------------------------
; ----------------------------------------------------------------------
HOME
192.168.0.41 255.255.255.0 DEV600LK
192.168.0.41 255.255.255.0 OSAEXT
; (End HOME Address information)
; ----------------------------------------------------------------------
GATEWAY
; Network       Subnet          First           Link             MTU
; Address       Mask            Hop             Name             Size
; ------------- --------------- --------------- ---------------- -----
192.168.0.37                    HOST            =                OSAEXT
192.168.0.42                    HOST            DEV600LK            0
DEFAULTNET                      192.168.0.1     OSAEXT           1500
; (End GATEWAY Static Routing information)
; -----------------------------------------------------------------
START DEV600
START d...@0e20
; (End START statements)

<b>3. DTCVSW1</b>

NOTRACE ALL
OBEY
OPERATOR TCPMAINT MAINT
ENDOBEY
VSWITCH CONTROLLER ON
IUCV *VSWITCH MSGLIMIT 65535

<b>4. DTCVSW1</b>

NOTRACE ALL
OBEY
OPERATOR TCPMAINT MAINT
ENDOBEY
VSWITCH CONTROLLER ON
IUCV *VSWITCH MSGLIMIT 65535

<b>5. TCPIP DATA</b>

..
; --------------------------------------------
TCPIPUSERID TCPIP
; --------------------------------------------
HOSTNAME TESTZVM
; --------------------------------------------
DOMAINORIGIN DEMOPKG.IBM.COM
; --------------------------------------------
NSINTERADDR  192.168.0.1
; --------------------------------------------
...

<b>6.  USER DEFINITION FOR LINUX</b>

USER LNX001 LNXPAS 512M 2048M BEG
<b>DEDICATE 0600 0600
DEDICATE 0601 0601
DEDICATE 0602 0602</b>
INCLUDE TCPCMSU
* IPL CMS  PARM AUTOCR
* MACHINE ESA 2
* SPOOL 000C 2540 READER *
CPU 00 BASE
CPU 01
<b>NICDEF 600 TYPE QDIO LAN SYSTEM VSW1  </b>
.....

<b>7.  In the System Config, I define the vswitch</b>

....
DEFINE VSWITCH VSW1 RDEV 0600 CONNECT CONTR *
MODIFY VSWITCH VSW1 GRANT LNX001

<b>8. In the Autolog1, I have:</b>

/*  Autolog1 Profile Exec  */
/***************************/
'CP XAUTOLOG TCPIP'
'CP XAUTOLOG DIRMAINT'
'CP XAUTOLOG DATAMOVE'

'CP SET VSWITCH VSW1 GRANT LNX001'
'CP XAUTOLOG LNX001'
/*  Uncomment to start the simulated Coupling Facility */
/* 'CP XAUTOLOG CFCONSOL'  */

/*  Uncomment to start the MVS guests                  */
/* 'CP XAUTOLOG TESTMVS  '  */
/* 'CP XAUTOLOG TESTMVS2 '  */

Address Command
/*  Uncomment to start the Virtual Switch machines     */
   'CP XAUTOLOG DTCVSW1'
   'CP XAUTOLOG DTCVSW2'
'CP LOGOFF'


<b>9. Querying the vswitch</b>

q vswitch
VSWITCH SYSTEM VSW1     Type: VSWITCH Connected: 1    Maxconn: INFINITE
  PERSISTENT  RESTRICTED    NONROUTER                 Accounting: OFF
  VLAN Unaware
  State: Disconnected
  IPTimeout: 5         QueueStorage: 8
  Portname: UNASSIGNED RDEV: 0600 Controller: DTCVSW1  Error: No RDEV

I don't know what's wrong about that.

<b>10. Query OSA</b>

q osa free
A free OSA was not found.

<b>11. Query Controller</b>

Q CONTROLLER
Controller DTCVSW1   Available: YES   VDEV Range: *         Level 520
  Capability: IP ETHERNET VLAN_ARP
Controller DTCVSW2   Available: YES   VDEV Range: *         Level 520
  Capability: IP ETHERNET VLAN_ARP

<b>12. Netstat devl</b>

netstat devl
VM TCP/IP Netstat Level 520

Device DEV600                  Type: CTC            Status: Inactive
  Queue size: 0     CPU: 0     Address: 0600
    Link DEV600LK              Type: CTC            Net number: 0
      BytesIn: 0               BytesOut: 0
      Forwarding: Enabled      MTU: 9216
      Broadcast Capability: Yes
      Multicast Capability: Yes
      Group                                   Members
      -----                                   -------
      224.0.0.1                                  1

Device d...@0e20                Type: CTC            Status: Ready
  Queue size: 0     CPU: 0     Address: 0E20
    Link OSAEXT                Type: CTC            Net number: 0
      BytesIn: 4326            BytesOut: 0
      Forwarding: Enabled      MTU: 1500
      Broadcast Capability: Yes
      Multicast Capability: Yes
      Group                                   Members
      -----                                   -------
      224.0.0.1                                  1

<b>13. Netstat home</b>

netstat home
VM TCP/IP Netstat Level 520

IPv4 Home address entries:

Address         Subnet Mask      Link
-------         -----------      ------
192.168.0.41    255.255.255.0    DEV600LK
192.168.0.41    255.255.255.0    OSAEXT

IPv6 Home address entries: None

<b>14.  Netstat gate</b>

netstat gate
VM TCP/IP Netstat Level 520

Known IPv4 gateways:

Subnet Address  Subnet Mask      FirstHop        Flgs PktSz Metric Link
--------------  -----------      --------        ---- ----- ------ ------
192.168.0.0     255.255.255.0    <direct>        UT   1500  <none> OSAEXT

Known IPv6 gateways: None




.................................

Please help me! I can communicate from the VM and the my XP machine. It's mean, 
I can ping the the zvm IP address from windows and I can ping the windows 
(tuning off the firewall from zVM. But I cannot ping the gateway from the zVM.

At the end, I need to configure well the networking and to be able after  
terminate the installation of the Linux in zVM. I need comunication between zVM 
and Linux.

Marc

--
This message was sent on behalf of mydesravi...@gmail.com at openSubscriber.com
http://www.opensubscriber.com/messages/linux-390@vm.marist.edu/topic.html

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to