...
The currently supported 32-bit system supports only one Ethernet card named system.lan0.card.
Div | ||
---|---|---|
| ||
Minimal Configuration Parameters
...
The variable IFACE is set automatically by the emulator upon start.
Div | ||
---|---|---|
| ||
Adding Additional Emulated Network Cards
Please note: Depending on your model, additional Ethernet controllers can be loaded. Please refer to the section I/O Slot Configuration in this Configuration File Reference chapter. This section will show an example.
To add an additional Ethernet controller to your emulator configuration, you must perform the following steps:
- Identify a free PCI slot (model configuration template or Emulated Model Hardware Configuration Details).
- Add a load command to load an Ethernet module into the identified emulator slot.
- Add the network card configuration to your configuration file.
- Start the emulator and configure the interface in the guest system.
Step 1: identify a free PCI slot for your emulated model. The available slots depend on your model and the existing configuration.
Example: model "rp7400-1-650" has a PCI I/O expansion slot 4 (device path 0/8/0)
Step 2: add the load command for the Ethernet module to the configuration file.
Sample configuration command for slot 4: load ETH tulip PCI 4
Step 3: add the network card configuration to your configuration file selecting the correct host interface name (example: eth2). Note that the name of the second emulated interface is EWB0.
Example (the initialization command should be in one continuous line):
EWB0.iface="
eth2
"
EWB0.initialize_command="ethtool -K $IFACE rx off;
ethtool -K $IFACE
tx off; ethtool -K $IFACE
sg off; ethtool -K $IFACE
gso off;
ethtool -K $IFACE
gro off; ethtool -K $IFACE
txvlan off; ethtool -K $IFACE
rxvlan off"
Step 4: Start the emulator, boot the guest system and configure the second interface.
- On PA3, use the
ISL > ODE > RUN MAPPER2
command (access from console via: Interaction with IPL) to verify the existence of the new interface and the correct device path. - The above command also works on PA9, but on HP-UX you can use the
lanscan
command to verify the existence of the new interface (on HP-UX it is normally lan1). - Configure the interface.
- The easiest way on HP-UX is to use SAM > Network and Communication > Network Interface Cards (Actions > Configure).
- On MPE/iX, the interface must be added via NMMGR (for interactive use, xhpterm can be used to access this tool), and the interface must be started using the NETCONTROL command. Please refer to the documenation of your operating system for further information.
The following image shows a sample of a HPUX system with two Ethernet interfaces:
Div | ||
---|---|---|
| ||
Supplemental Information: Virtual Bridge and TAP Interfaces
Basic Bridge Configuration
The following example shows a simple example of how to create a virtual bridge on Linux and how to add TAP interfaces to it.
...