Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Anchor
TopNetPageTOCTopNetPage
TOC
Include Page
KBCOMMON:KB-CSSstyle
KBCOMMON:KB-CSSstyle

Table of Contents

Table of Contents
Table of Contents
exclude

...

Table of Contents


General description

CHARON-AXP supports emulation of the following network adapters:

...

(информация) By default the PCI Ethernet adapters use first available PCI slot. If instead some particular slot is needed, refer to this section for details of specific placement of PCI peripherals on CHARON-AXP PCI bus.

(warning) Network booting is not currently supported.

Configuration steps

To configure CHARON-AXP networking, follow these 3 steps:

...

Info

The interface name can be either "(disabled)" for a disabled interface or "<network interface name>"

Examples:

load packet_port/chnetwrk NIC1 interface="(disabled)"

load packet_port/chnetwrk NIC2 interface="ens33"



Note

The AlphaServer DS 15 DS15 and DS25 contain two built-in PCI Ethernet adapters. Models and names (EI* or EW*) of them depend on configuration addon. Choose one of the two or none, but not both. The first instantiates onboard network interfaces as EIA and EWA. While the second - EWA and EWB (enabled by default for backward compatibility)

Example:


#include ds25-onboard-nics.icfg
include ds25-onboard-nics-ew.icfg

...

(info) It could be necessary to specify the path to the .icfg file if you use your own configuration file using the "include /opt/charon/cfg/ds25-onboard-nics-ew.icfg" syntax.


Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Configuration parameters

Each virtual network controller has the following parameters that are specified with the "set" command:

...

Parameterstation_address
Type

Text String

Value

The "station_address" provides the ability to configure the adapter’s permanent address. By default the adapter’s permanent address is read from the host system’s NIC.

Format:

XX-XX-XX-XX-XX-XX

or

XX:XX:XX:XX:XX:XX

Example:

set EWA station_address="AF:01:AC:78:1B:CC"


Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

rx_fifo_size

Parameter

rx_fifo_size

TypeNumeric
Value

"rx_fifo_size" sets the receive FIFO size.

The value is specified in Kb and, by default, is pre-calculated from the connected port’s size of the receive queue.

Typically, you do not need to change the "rx_fifo_size" parameter. It is available for extended tuning and debugging purposes.

...

Parameteradapter_mode
TypeText String
Value

Defines the link speed and the duplex settings of the virtual network adapter (except for DE602/DE602AA - see below).

The values are:

ParameterDescription
"Auto"Auto-negotiate (default)
"10BaseT-HD"10Mbps half duplex
"10BaseT-FD"10Mbps full duplex
"100BaseT-HD"100Mbps half duplex
"100BaseT-FD"100Mbps full duplex

Defines the link speed and the duplex settings of the virtual network adapter (except for DE602/DE602AA - see below).

The values are:

Example:

set EWA adapter_mode="100BaseT-HD"


Example:

load packet_port/chnetwrk EWA0 interface = "eth1"
set EWA interface = EWA0
set EWA station_address="0C:FE:35:AA:67:3B"

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

DE602 and DE602AA network adapters link speed and duplex settings

...

(warning) The EIx0_MODE variable name is case insensitive, while its values are case sensitive! This is feature of OpenVMS EIDRIVER.

The values are:

ParameterDescription
"Auto"Auto-negotiate (default)
"Twisted"10Mbps half duplex
"Full"10Mbps full duplex
"Fast"100Mbps half duplex
"FastFD" 100Mbps full duplex

Example:

>>>set eia0_mode FastFD

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

Packet Port

The CHARON-specific "packet_port" interface establishes a connection between an Ethernet adapter in the Linux host system and a network adapter in the virtual HP Alpha system.

...

Parameterinterface
Type

Text string

Value

This parameter identifies an Ethernet adapter of the host system dedicated to CHARON-AXP.

Syntax:

set <name> interface="<adapter>"

Example:

set pp1 interface="eth1"


Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

port_enable_mac_addr_change

...

Parameter

port_retry_on_tx

TypeNumeric
Value

The "port_retry_on_tx" parameter controls the number of times a port will attempt to transmit a packet before giving up.

By default, the value is 3.

Increasing this value may introduce problems in carrier loss logic, because not all NIC drivers support a carrier status query.

Typically, you do not need to increase the value.

Example:

set pp1 port_retry_on_tx=8


Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

port_pending_rx_number

Parameter

port_pending_rx_number

TypeNumeric
Value

The "port_pending_rx_number" parameter sets the number of pending receive buffers.

The default value is 63. The maximum value allowed is 195.

You may want to increase the "port_pending_rx_number" when you have very busy networking and experience problems like losing connections not related to the carrier loss.

Typically, you do not need to change this parameter.

Example:

set pp1 port_pending_rx_number=128


...

Parameter

port_pending_tx_number

TypeNumeric
Value

The "port_pending_tx_number" parameter sets the number of buffers the port uses to transmit.

The default value is 62.

You may want to increase the "port_pending_tx_number" value if the log file indicates dropped TX packets due to TX queue overflow.

Typically, you do not need to change this parameter.

Example:

set pp1 port_pending_tx_number=128


Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc

log

Parameter

log

TypeText string
Value

If this parameter is set to some valid file name or a directory where the log files for each individual session will be stored CHARON logs Recv and Xmit packets at the emulated port layer.

If an existing directory is specified, CHARON automatically enables creation of individual log files, one for each session using the same scheme as used for the generation of the rotating log files. If the "log" parameter is omitted, CHARON does not create log.

In certain situations enabling this parameter may help to detect loss of packets.

Example:

set pp1 log="pp1.log"


set pp1 log="/charon/logs"


Note

Only existing directory can be used as a value of the "log" parameter.


Example

load DE500BA/dec21x4x EWA
load packet_port/chnetwrk pp1 interface="eth1"

set EWA interface=pp1

...

Info

CHARON-AXP supports VLAN adapters. If for some reasons you are going to use them, proceed with their installation and configuration according to the network adapter's vendor's User's Guide and then use the resulting VLAN interface the same way as the regular network interface.

...

Include Page
KBCOMMON:DOC-GoToToc
KBCOMMON:DOC-GoToToc