Main Content

Enable DHCP for local IP address assignment

Option for board to get its Internet Protocol (IP) address from the local Dynamic Host Configuration Protocol (DHCP) server on the network

Model Configuration Pane: Hardware Implementation / Simulink or Embedded Coder Hardware Support Package / Hardware board settings / Target hardware resources / Ethernet

Description

Use this address for any further communication with the board.

Settings

on (default) | off

When you select this parameter, the board gets its Internet Protocol (IP) address from the local Dynamic Host Configuration Protocol (DHCP) server on the network.

Select this parameter when the development computer and the board are connected to a router.

Note

Make sure that the network to which the board is connected supports DHCP for IP address assignment.

To find the IP address assigned to the board:

  1. Open a browser and enter the router IP address in its address bar.

    If you do not know the router's IP address, check the manufacturer's documentation.

  2. To log in to your router, enter the user name and password.

    The default user name is usually admin and password is password. You can search for the default user name and password in its user manual.

  3. On the home page, search for the DHCP settings.

  4. Find the name of the board in the list of devices that are connected to the router's network. The IP address assigned to the board by the DHCP server is listed with the board's name.

Recommended Settings

No recommendation.

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2016a