![ST STMC2 Скачать руководство пользователя страница 19](http://html1.mh-extra.com/html/st/stmc2/stmc2_manual_1356131019.webp)
ST Micro Connect 2
Ethernet connection
7912386 Rev 12
19/58
4.2
Configuring ST Micro Connect 2 with DHCP network
configuration
1.
Before connecting your ST Micro Connect 2 to the network, turn it on. Power up is
described in
Section 1.3 on page 11
.
2.
Navigate to the LCD menu option
Enable DHCP
(see
Chapter 2 on page 13
) and
enable DHCP.
Note:
For DHCP to be enabled, the Ethernet interface may
not
be set to IP address
0.0.0.0
. An
alternative is to set the Ethernet IP address to the factory default by using the LCD menu or
using
stmcconfig
as described in
Section 5.13: Restore network configuration to factory
defaults (--restore-network-config) on page 27
.
3.
After the ST Micro Connect 2 has rebooted, turn it off.
4.
Connect the ST Micro Connect 2 to the network, following the instructions in
Section 4.4 on page 20
, and then turn it on again.
5.
The ST Micro Connect 2 will boot and attempt to acquire a new IP address using the
DHCP protocol. If the acquisition is successful, then the acquired IP address is
displayed on the LCD. If the acquisition is not successful the LCD displays the message
No IP address
.
Note:
An ST Micro Connect 2 configured to acquire an IP address from a DHCP server, will
re-acquire an IP address on each reboot. Most DHCP servers attempt to serve a previous
client with the same IP address, but this is not guaranteed. Therefore you should confirm the
IP address of your ST Micro Connect 2 on each reboot, either by looking at the LCD or
running
stmcconfig
with the
--identify
option (see
Section 5.6 on page 24
).
It is possible for a DHCP server to be configured to always serve the same IP address to
your ST Micro Connect 2. This can be setup by your network administrator.
To disable DHCP IP address acquisition, navigate to the LCD menu option
Disable DHCP
and select. After rebooting the ST Micro Connect 2 is set to the previous static IP address
(or default ST Micro Connect 2 Ethernet address).
4.3
Configure ST Micro Connect 2 with a static address
1.
Obtain an unused IP address for your network, the netmask and if required, gateway IP
address, from your network administrator.
2.
Before connecting your ST Micro Connect 2 to the network, turn it on. Power up is
described in
Section 1.3 on page 11
.
3.
Navigate to the LCD menu option
Set Ethernet IP
(see
Chapter 2 on page 13
) and set
the new IP address and netmask. If your ST Micro Connect 2 is to be accessed from
other networks, navigate to the LCD menu option
Set Gateway IP
, and enter the
network gateway address.
4.
Connect the ST Micro Connect 2 to the network following the instructions in
Section 4.4
.
5.
When the ST Micro Connect 2 has rebooted, the LCD displays the new static IP
address.
A new IP address can be set at any time by following the same procedure. The factory
default configuration for the ST Micro Connect 2 can be restored by selecting the LCD menu
option
Set Default IP
.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from