Network Configuration Section

The network configuration section is required to configure the communication between the emlator and real machines. Softgun does networking using the linux device /dev/net/tun and can connect to already existing bridges. There is one section per emulated Ethernet chip. The section name is the instance name of the chip. The following configuration is for host based networking for the first STE10/100 Ethernet Controller of a NS9750 based board:
[ste_0]
host_ip: 192.168.81.3
host_ifname: emu1

The host_ip variable

For establishing a connection between your host and the emulator you require a pair of IP addresses. One has to be set in the operating system running in the emulator. The host side one is configured by the host_ip variable in the Ethernet controller instance section.

The host_ifname variable

The tunneling interface created on host side has a name which is read from the host_ifname variable.

The bridge variable

For bridged networking you require an existing bridge. Softgun adds itself to the bridge. The name of the bridge is given in the bridge variable.
# ---------------------------------------------------------------
# Bridged networking 
# Add softguns emu0 interface to the already existing bridge br0
# ---------------------------------------------------------------
[ste_0]
host_ifname: emu0
host_ip: 0.0.0.0
bridge: br0