ChorusOS 4.0.1 Simulator for the Solaris Operating Environment (SPARC Platform Edition) User's Guide

Configuring the Simulator IP Address

The simulator IP address is set with the ifconfig command which assigns an address to a network interface.

Add the following line to your sysadm.ini file in the build_dir/conf directory:

ifconfig ifeth0 TAG.TGT.IPA.TAG netmask netmask broadcast broadcast

netmask is the netmask corresponding to the ChorusOS sub-network, and broadcast is the broadcast address corresponding to the ChorusOS sub-network.

Comment out or remove the rarp command as the ifconfig command replaces it.

Here is an example of the ifconfig command:

ifconfig ifeth0 TAG.TGT.IPA.TAG netmask 0xff000000 broadcast 2.255.255.255

When you boot your system image with the loader command, the TAG.TGT.IPA.TAG IP tag is replaced by the IP address you registered in the site configuration file.

Every reference to the IP tag in the sysadm.ini file is replaced. This allows you to build one ChorusOS system image for every simulator running on the same host instead of having a different system image for each IP address.

You can also specify the IP address directly instead of using the IP tag, but this option offers less flexibility.


Note -

Remember to rebuild your system image after modifying sysadm.ini.