You copied the Doc URL to your clipboard.

4.4.26 HostBridge component

This section describes the HostBridge component.

HostBridge - about

This LISA+ component is a model of a networking gateway to exchange Ethernet packets with a TAP device on the host, and to forward packets to NIC models.

An alternative to this TAP/TUN method is user mode networking, which emulates a built-in IP router and DHCP server to route traffic by means of the host user mode socket layer.

Related information

HostBridge - ports

This section describes the ports.

Table 4-73 HostBridge ports

Name Protocol Type Description
eth VirtualEthernet Master Send or receive Ethernet frame
Related reference

HostBridge - parameters

This section describes the parameters.

Table 4-74 HostBridge parameters

Name Type Allowed values Default value Description

interfaceName

string

Valid string characters

'ARM0'

Host interface.

userNetPorts string Formatted string '' Listening ports to expose in user-mode networking.
userNetSubnet string Formatted string '172.20.51.0/24' Virtual subnet for user-mode networking.
userNetworking bool true, false false Enable user-mode networking.a

HostBridge - verification and testing

This component passes tests as part of a system with network functionalities.

HostBridge - performance

ARM® expects this component to have little effect on the performance of PV systems. However, heavy usage on the networking of the model, for example to run networking performance tests, might slow down the simulation.

a

TAP/TUN mode is enabled by default, and is disabled when user mode is in use.

Was this page helpful? Yes No