3.2.2. 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 parameter is the Ethernet parameter you are defining.

Table 3.6. Ethernet instantiation parameters

ParameterDescriptionTypeValuesDefault
interfacesets the host interface type to usestringsee interface“disabled”
mac_addressthe MAC address to use on the hoststringsee mac_address“00:01:02:03:04:05”
promiscuousputs host Ethernet controller into promiscuous modebooleantrue or falsetrue

interface

The interface parameter has a transport and one or more optional parameters separated by colons. It can take the form:

disabled

Implement the interface as though no cable were connected.

host:controller

controller is the first host controller that matches the text substring you specify, such as eth0.

pipe:address:port

address and port are the IP address and port on which a nicserver application is listening.

mac_address

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.

    Note

    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.

Copyright © 2008-2010 ARM. All rights reserved.ARM DUI 0424F
Non-ConfidentialID052111