A virtual switch is a special type of guest LAN that has a QDIO OSA
connection to a real network. Hercules does not support the QDIO OSA
interface. LCS will not work for this configuration. There are various
options for network connectivity for a VM guest OS on Hercules. If you
want to continue with the LCS configuration, you could dedicate the LCS
device to the guest and use the LCS device driver. Refer to the
applicable IBM Device Driver manual on how to do this. CTC is another
option.
If your goal is outside connectivity for multiple VM guest OS's, then a
router virtual machine is required. This may be implemented with a VM
TCPIP machine or by a Linux guest that connects a guest LAN (without
external connectivity) to the routing machine that uses LCS or CTC as
described above. This is a much more complex implementation than the
preceding.
Harold Grovesteen
Kayhan Tanriverir wrote:
>
>
>
>
> Hi ,
>
> I couldn't run virtual switch under Hercules 3.06 in z/VM .
> I am using WinPCap 4.02
> FishPack.dll, version: "3.2.1.160" (3.2.1.160): "Release version" ...
> TunTap32.dll, version: "3.2.1.160" (3.2.1.160): "Release version" ...
>
> Does Hercules support virtual switch in LCS mode?
>
> When I displayed the virtual switch;
>
> q
> vswitch
>
> VSWITCH SYSTEM VSW1 Type: VSWITCH Connected: 0 Maxconn: INFINITE
> PERSISTENT RESTRICTED NONROUTER Accounting: OFF
> VLAN Unaware
> MAC address: 02-00-00-00-00-01
> State: Defined
> IPTimeout: 5 QueueStorage: 8
> RDEV: 0900 Controller: 0900 Error: RDEV attached
> RDEV: 0901 Controller: 0901 Error: RDEV attached
> Ready; T=0.01/0.04 15:56:45
>
>
> Regards,
> Kayhan Tanr?verir
>
> during startup of TCPIP messages:
> --VM53EVAL--PRESS BREAK KEY TO BEGIN
> SESSION
> 16:19:41 DTCPKT047I Device DEVS,0900: Received startup
> packet
> 16:19:41 DTCPKT102I Device DEVS,0900: Received QIP assist
> packet
> 16:19:41 DTCPKT049I Device DEVS,0900: PCCA reports home hardware
> address 00005E80
> 0000 for link
> ETH0
>
>
> DEFINITONS
> :
>
> 1- Virtual switch definition is in the system config file as:
> /**********************************************************************/
> /* Default Vswitch Config */
> /**********************************************************************/
>
> DEF VSWITCH VSW1 RDEV 900 901
> MODIFY VSWITCH VSW1 GRANT TCPIP
> ************************************************************************
>
> 2- OSA devices are attached in the SYSTEM DTCPARMS as below:
> .**********************************************************************
> .* SYSTEM DTCPARMS created by DTCIPWIZ EXEC on 20 Oct 2009
> .* Configuration program run by MAINT at 16:45:44
> .**********************************************************************
> :nick.TCPIP :type.server
> :class.stack
> :attach.0900-0901
>
>
> 3- TCPIP User definitions are below in the USER Direct:
>
> USER TCPIP XXXXXXXX 32M 128M
> ABG
> DVHRXV3355I The following records are included from profile:
> TCPCMSU
> PROFILE
> TCPCMSU
> IPL
> CMS
> MACH
> XA
> 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
> OPTION QUICKDSP SVMSTAT MAXCONN 1024 DIAG98 APPLMON
> SHARE RELATIVE
> 3000
> IUCV
> ALLOW
> IUCV ANY
> PRIORITY
> IUCV *CCS PRIORITY MSGLIMIT
> 255
> IUCV *VSWITCH MSGLIMIT
> 65535
> LINK 5VMTCP30 491 491
> RR
> LINK 5VMTCP30 492 492
> RR
> LINK TCPMAINT 591 591
> RR
> LINK TCPMAINT 592 592
> RR
> LINK TCPMAINT 198 198
> RR
> MDISK 191 FB-512 02472080 007200 530RES MR XXXXXXXX XXXXXXXX
> XXXXXXXX
> ******************************
>
>
> 4- TCPIP Configuration File
>
> ; ----------------------------------------------------------------------
> DEVICE DEVS,0900 LCS
> 0900
> LINK ETH0 ETHERNET 0 DEVS,0900 MTU
> 1500
> ; (End DEVICE and LINK statements)
> ; ----------------------------------------------------------------------
> ; ----------------------------------------------------------------------
> !...+....1....+....2....+....3....+....4....+....5....+....6....+....7...
> HOME
> 192.168.1.40 255.255.255.0 ETH0
> ; (End HOME Address information)
> ; ----------------------------------------------------------------------
> GATEWAY
> ; Network Subnet First Link MTU
> ; Address Mask Hop Name Size
> ; ------------- --------------- --------------- ---------------- -----
> DEFAULTNET 192.168.1.1 ETH0 1500
> ; (End GATEWAY Static Routing information)
> ;
> ----------------------------------------------------------------------
> START
> DEVS,0900
> ; (End START
> statements)
> ;
> ----------------------------------------------------------------------
> * * * End of File * *
> *
>
>
> 5- Guest's User Definitions:
>
> USER LINUX43 XXXXXXXX 512M 1G
> G
> COMMAND SET VSWITCH VSW1 GRANT LINUX43 VLAN
> 505
> COMMAND COUPLE 600 TO SYSTEM
> VSW1
> IPL
> CMS
> MACHINE ESA
> 4
> CONSOLE 0009 3215
> T
> NICDEF 0600 TYPE QDIO LAN SYSTEM
> VSW1
> SPOOL 000C 2540 READER
> *
> SPOOL 000D 2540 PUNCH
> A
> SPOOL 000E 1403
> A
> LINK MAINT 0190 0190
> RR
> LINK MAINT 019D 019D
> RR
> LINK MAINT 019E 019E
> RR
> MDISK 0100 3390 1 3300 LX5023
> MR
> MDISK 0191 3390 3301 38 LX5023
> MR
>
>
> 6- Hercules configuration file:
>
> # CTC Adapters
>
> 0900-0901 3088 LCS -n 192.168.1.4 192.168.1.40
>
>
>
>
>
>
>
>
>
>
>
>
>
>