logo.gif MCU 4520
主機: FETMCU03

Configuring network settings

To configure the network settings on the MCU and check the network status, go to Network  > Port A or Network > Port B.

The MCU has two Ethernet interfaces, Port A and Port B. The configuration pages for the two interfaces look and behave similarly, and so are described together. Differences will be noted as appropriate.

Port A and Port B can be configured to be allocated their IP addresses by DHCP (IPv4) or SLAAC/DHCPv6 (IPv6). Connect Port A to your local network and connect Port B to a second subnet or the internet depending on your application of the MCU.

On this page:

IP configuration settings

These settings determine the IP configuration for the appropriate Ethernet port of the MCU. When you have finished, click Update IP configuration and then reboot the MCU.

 

Field Field description Usage tips
IPv4 configuration
IP configuration

Specifies whether the port should be configured manually or automatically. If set to Automatic via DHCP the MCU obtains its own IP address for this port automatically via DHCP (Dynamic Host Configuration Protocol). If set to Manual the MCU will use the values that you specify in the Manual configuration fields below.

It is not possible to disable a port if it is being used to access the web user interface, however, it can be disabled via the serial connection. To disable a port that is currently being used to access the web interface via this field, change to a different port for web interface access.

Manual configuration
IP address

The dot-separated IPv4 address for this port, for example 192.168.4.45

You only need to specify this option if you have chosen Manual IP configuration, as described above.

If IP configuration is set to Automatic by DHCP this setting will be ignored.

Subnet mask

The subnet mask required for the IP address you want to use, for example 255.255.255.0

 
Default gateway

The IP address of the default gateway on this subnet, for example 192.168.4.1

 

IPv6 configuration
IP configuration

Specifies whether the port should be configured manually or automatically, or disabled. If set to Automatic via SLAAC/DHCPv6 the MCU obtains its own IP address for this port automatically. The protocol used will be SLAAC, Stateful DHCPv6, or Stateless DHCPv6 as indicated by the ICMPv6 Router Advertisement (RA) messages. If set to Manual the MCU will use the values that you specify in the Manual configuration fields below.

Manual configuration
IPv6 address

The (hexadecimal) colon-separated IPv6 address for this port, for example [2001:db8::].

See Automatic IPv6 address preferences for more information about IPv6 addresses that are assigned automatically.

You only need to specify this option if you have chosen Manual IP configuration, as described above.

If IP configuration is set to Automatic via SLAAC/DHCPv6 this setting is ignored.

When you enter an IPv6 address anywhere in the user interface, the address must be enclosed in square brackets [ ].

Prefix length

The (decimal) prefix length value for the global IPv6 address for this port. In the above IPv6 address example, the prefix length is 32.

Default gateway

Optionally, specifies the IPv6 address of the default gateway on this subnet.

The address can be global or link-local.

IP status

Use the IP status fields to verify the current IP settings for the appropriate Ethernet port of the MCU, which were obtained using DHCP/SLAAC or configured manually (see IP configuration settings) including:

Ethernet configuration

These settings determine the Ethernet settings for the appropriate port of the MCU. Refer to the table for assistance with these settings. When you have finished, click Update Ethernet configuration.

 

Field Field description Usage tips
Ethernet settings

Specify whether you want this Ethernet port to automatically negotiate its Ethernet settings with the device it is connected to, or if it should use the values that you specify in the Manual configuration fields below.

It is important that your Ethernet settings match those of the device to which this port is connected. For example, both devices must be configured to use automatic negotiation, or both configured with fixed and matching speed and duplex settings (see below).

Manual configuration
Speed

Identifies the connection speed: 10 Mbit/s or 100 Mbit/s. Use automatic negotiation if a connection speed of 1000 Mbit/s is required.

The connection speed must match that of the device to which this port is connected.

You only need to select this option if you have chosen Manual Ethernet settings, as described above.

Duplex

Identifies the connection duplex mode:

  • Full duplex
    Both devices can send data to each other at the same time
  • Half duplex
    Only one device can send to the other at a time

The duplex setting must match that of the device to which this port is connected.

You only need to select this option if you have chosen Manual Ethernet settings, as described above.

Ethernet status

Field Field description Usage tips
Link status

Indicates whether this Ethernet port is connected to or disconnected from the network.

 
Speed

The speed (10/100/1000 Mbit/s) of the network connection to the MCU on this port.

This value is negotiated with the device to which this port is connected or based on your Manual configuration selected above.

Duplex

The duplex mode (Full duplex or Half duplex) of the network connection to this port.

This value is negotiated with the device to which this port is connected or based on your Manual configuration selected above.

MAC address

The fixed hardware MAC (Media Access Control) address of this port.

This value cannot be changed and is for information only.

Packets sent

Displays a count of the total number of packets sent from this port by the MCU. This includes all TCP and UDP traffic.

When troubleshooting connectivity issues, this information can help you confirm that the MCU is transmitting packets into the network.

Packets received

Displays a count of the total number of packets received by this port of the MCU. This includes all TCP and UDP traffic.

When troubleshooting connectivity issues, this information can help you confirm that the MCU is receiving packets from the network.

Statistics:

These fields display further statistics for this port.

  • Multicast packets sent
  • Multicast packets received
  • Total bytes sent
  • Total bytes received
  • Receive queue drops
  • Collisions
  • Transmit errors
  • Receive errors

Use these fields for advanced network diagnostics, such as resolution of problems with Ethernet link speed and duplex negotiation.

Related topics