![ST STMC2 Скачать руководство пользователя страница 46](http://html1.mh-extra.com/html/st/stmc2/stmc2_manual_1356131046.webp)
Choosing an IP address
ST Micro Connect 2
46/58
7912386 Rev 12
between the IP configurations of
all
the host's network interfaces, including the IP
configuration served by ST Micro Connect 2 for its USB interface.
Figure 18
shows an example network with multiple hosts and ST Micro Connect 2s
connected using Ethernet and USB subnets. All the subnets are required to be unique.
Figure 18. Example network showing Ethernet and USB subnets
D.5
Check addresses are not on the same network
When using the front panel buttons or
stmcconfig
to set up an interface, checks are
automatically made to prevent setting up a clash. To check if the subnets will be different:
1.
Determine the network mask or each interface (consult your network administrator).
2.
Perform a bit wise AND on these to obtain the least restrictive net mask.
3.
Then perform a bitwise AND of this mask with the intended addresses for each
interface.
4.
If the result gives the same number for each interface there will be a conflict.
Section D.5.1 on page 47
provides an example.
If in doubt consult your network administrator for guidance on suitable interface
configurations particularly if the ST Micro Connect 2 Ethernet interface is to be set up for
DHCP. If the default and suggested range for the USB IP addresses are not suitable you
may also wish to consider using an alternative private address for the USB in the 172.16.0.0
to 172.31.255.255 range.
Ethernet subnet
Gateway
Ethernet
subnet
USB subnet
USB subnet
USB subnet
USB subnet
USB subnet
USB subnet
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
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
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from