--m mac

This is the optional hardware address of the interface in the format of either
“xx:xx:xx:xx:xx:xx” or “xx-xx-xx-xx-xx-xx”. The default is 00:00:5E:nn:nn:nn where
the “nn:nn:nn” part is constructed from the last three octets of the specified
guestip.

--macaddr mac

This is the same as “-m mac”.

-t mtu

Linux only: Specifies the maximum transmission unit size (default 1500 bytes).

--mtu mtu

This is the same as “-t mtu”.

-i ibuff

Windows only: This specifies the TunTap32 I/O buffer size in KB. nnnn hast to be
between 16 and 1024 (1 MB). The default value is 64 KB.

--ibuff ibuff

This is the same as “-i ibuff”.

-k kbuff

Windows only: This specifies the WinPcap device driver capture buffer size in KB.
nnnn hast to be between 64 and 16384 (16 MB). The default value is 1024 (1 MB).

--kbuff kbuff

This is the same as “-k kbuff”.

-d

Specifies that debugging output has to be produced on the Hercules control panel.
This should normally be left unspecified.

--debug

This is the same as “-d”.

guestip

Specifies the IP address of the guest operating system running under Hercules.

hostip

Identifies the host network adapter to use. If the host system is configured with
DHCP this should instead be the MAC address of the ethernet adapter you wish to
have Hercules use to connect to the outside world. If this parameter is specified
using the -m or --dev option, then the value here must be specified as "0.0.0.0" to
satisfy the statement syntax.

6.9.2.4 Examples

Example 1:

Define 3088 CTC adapters on device addresses 0E20 and 0E21. The device/protocol type is CTCI
(Channel-to-Channel link to Linux TCP/IP stack). The IP address of the guest operating system running
under Hercules is 192.168.1.99, the host IP address (the network adapter) to use is 192.168.1.100.

0E20.2 3088 CTCI 192.168.1.99 192.168.1.100

or

0E20 3088 CTCI 192.168.1.99 192.168.1.100
0E21 3088 CTCI 192.168.1.99 192.168.1.100

Example 2:

Define 3088 CTC adapters on device addresses 0E20 and 0E21. The device/protocol type is CTCI
(Channel-to-Channel link to Win32 TCP/IP stack). The WinPcap device driver capture buffer has to be set
to 2048 KB, the TunTap32 I/O buffer size has to be set to 128 KB. The IP address of the guest operating
system running under Hercules is 192.168.1.99 and the MAC address of the network adapter to use is
00-80-B3-E1-DF-69.

0E20.2 3088 CTCI -n 00-80-B3-E1-DF-69 -k 2048 -i 128 192.168.1.99 0.0.0.0

or

0E20 3088 CTCI -n 00-80-B3-E1-DF-69 -k 2048 -i 128 192.168.1.99 0.0.0.0
0E21 3088 CTCI -n 00-80-B3-E1-DF-69 -k 2048 -i 128 192.168.1.99 0.0.0.0

Example 3:

Define 3088 CTC adapters on device addresses 0E20 and 0E21. The device/protocol type is CTCI
(Channel-to-Channel link to Linux TCP/IP stack). The IP address of the guest operating system running
under Hercules is 192.168.1.99, the host IP address (the network adapter) to use is 192.168.1.100.

The maximum transmission size (MTU) should be 1492 bytes. The WinPcap device driver buffer size has
to be set to 1024 KB and the TunTap32 I/O buffer size to 256 kB. Additionally debugging output has to be
shown on the Hercules console.

0E20.2 3088 CTCI -k 1024 -i 256 –t 1492 –d 192.168.1.99 192.168.1.100

or

0E20 3088 CTCI -k 1024 -i 256 –t 1492 –d 192.168.1.99 192.168.1.100
0E21 3088 CTCI -k 1024 -i 256 –t 1492 –d 192.168.1.99 192.168.1.100

Previous Page Next Page