A method and system for configuring an ip address for a remote device
A remote device and IP address technology, applied in transmission systems, electrical components, etc., can solve problems such as dependence on configuration, failure to meet real-time control requirements, and IP address changes, and achieve strong real-time and reliability effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] like figure 2 It is a flow chart of the implementation of configuring an IP address for a remote device in Embodiment 1 of the present invention, and this embodiment includes the following steps:
[0046] Step 201: The server establishes a static ARP entry, and binds the IP address pushed to the remote device (that is, the IP address configured by the server for the remote device) with the MAC address of the remote device.
[0047] Step 202: The server sends an IP push message to the IP address pushed to the remote device based on a specified port, and the information of the specified port is separately stored by the server and the remote device in advance. In this embodiment, the IP push message is encapsulated by using the TELNET protocol, which is called a TELNET message. In other embodiments of the present invention, the IP push message may also be encapsulated by other protocols, such as FTP, TFTP, or other self-defined protocols.
[0048]Step 203: The remote de...
Embodiment 2
[0053] like image 3 It is a flow chart of the implementation of configuring an IP address for a remote device in Embodiment 2 of the present invention, and this embodiment includes the following steps:
[0054] Steps 301 to 303 are the same as steps 201 to 203 in the first embodiment, and are not repeated here.
[0055] Step 304: The remote device judges whether the destination MAC address of the TELNET packet is the same as the local MAC address, and if they are the same, execute step 305; if they are different, execute other packet processing procedures.
[0056] Step 305: When the protocol pre-stored by the remote device is the same as the protocol that encapsulates the TELNET message, the remote device determines whether the sending port of the TELNET message is the same as the designated port pre-saved in the local machine, and if it is the same, execute the steps 306; if different, perform step 307.
[0057] Step 306: The remote device judges whether the destination I...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 