| |||
| Home > Programmer’s Reference for the EB RTSMs > EB model configuration parameters > Ethernet parameters | |||
Table 3.6 lists the Ethernet instantiation-time parameters that you can change when you start the model. For detailed information on how to set up and use the Ethernet component, see Using Ethernet with an EB RTSM.
The syntax to use in a configuration file is:
baseboard.smsc_91c111_0. parameter=value
where is
the Ethernet parameter you are defining. parameter
Table 3.6. Ethernet instantiation parameters
| Parameter | Description | Type | Values | Default |
|---|---|---|---|---|
interface | sets the host interface type to use | string | see interface | “disabled” |
mac_address | the MAC address to use on the host | string | see mac_address | “00:01:02:03:04:05” |
promiscuous | puts host Ethernet controller into promiscuous mode | boolean | true or false | true |
The interface parameter has a transport and one or more optional parameters separated by colons. It can take the form:
disabledImplement the interface as though no cable were connected.
host:controllercontroller is the first
host controller that matches the text substring you specify, such
as eth0.
pipe:address:portaddress and port are
the IP address and port on which a nicserver application
is listening.
There are two options for setting the mac_address parameter:
For a fixed address, set the value of the mac_address parameter
to a valid IP address for your network. Fixed addresses do not change
when the EB RTSM is reset.
For a random value, set the mac_address parameter to auto.
The address might change each time the EB RTSM is reset. Because of the risk of address duplication, this is not recommended if your network normally allocates addresses automatically using a DHCP server.