Network Basic Function Introduction; Ip Address/Subnet Mask/Gateway - Ebyte E810-DTU User Manual

Ethernet to rs485/rs232
Hide thumbs Also See for E810-DTU:
Table of Contents

Advertisement

Ethernet to 485/232
E810-DTU User Manual

3. Network basic function introduction

3.1 IP address/Subnet mask/Gateway

1. The IP address is the identity of the module in the LAN. It is unique in the LAN and cannot be duplicated with other devices on the LAN.
E810-DTU's IP address of E810-DTU is static IP and DHCP.
(1) Static IP
Static IP requires the user to set manually,please note that the IP, subnet mask, and gateway should be written at the same time. Static IP is
suitable for scenarios that require IP and device statistics and have a one-to-one correspondence.
Advantage: Devices which cannot automatically assign IP addresses can be searched through the entire LAN.
Disadvantages: Different IP segments in different LANs cannot carry out normal TCP/UDP communication.
(2) DHCP
The main role of DHCP is to dynamically obtain IP address, Gateway address, DNS server address and other information from the gateway host,
eliminating the cumbersome steps of setting the IP address. It is suitable for scenarios where there is no requirement for IP and no need for
correspondence one by one of IP and modules.
Advantages: When connected routers and other devices with DHCP Server can communicate directly, and reduce the hassles of setting up IP
address gateways and subnet masks.
Disadvantages: When connected LANs without DHCP Server,such as computers, E810-DTU cannot work.
2. The subnet mask is mainly used to determine the LAN number and host number of the IP address, and indicate the number of subnets, and
judge whether the module is within the subnet。The subnet mask have to be set, what we normally use is C type subnet mask: 255.255.255.0,
LAN number is the first 24 numbers, host number is the last 8 numbers, and there are 255 subnets, If the module IP is within the 255 subnets, it
is considered to be in this subnet.
3. The gateway refers to the LAN number of the LAN where the current IP address of the module is located. If a device such as a router is
connected to an external network, the gateway is the router IP address,If the setting is incorrect, the external network cannot be accessed
properly,If you do not connect a device such as a router, you do not need to set it, by default.
4. Software setting
Figure 1 Parameter setting software
7
Copyright ©2012–2017,成都亿佰特电子科技有限公司

Advertisement

Table of Contents
loading

Table of Contents