Data transmission in a udp slave(server) mode, 4 assigning new ip address with arp commands, Fig. 32 – Atop Technology SE5002 User manual User Manual
Page 28: Fig. 33
![background image](/manuals/554956/28/background.png)
User manual Version 1.3
ABLELink
®
Ethernet Serial Server SE5002
Copyright © 2006 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.
-
27
-
2.
Slave (Server) Mode:To establish a connection using unicast or broadcast data
from one or multiple
host computer to a serial device.(Fig. 32)
Notes:The configuration is limited by the Local Listening Port (For example, on the SE5002 listening the port
is 4660 which receives data from the Host Computer).
HUB
TCP/IP Network
Host Computer #1
IP: 192.168.1.3
Destination IP 192.168.1.1
Destination Port 4660
Host Computer#2
IP: 192.168.1.100
Destination IP 192.168.1.1
Destination Port 4660
Host Computer #3
IP: 192.168.1.200
Destination IP 192.168.1.1
Destination Port 4660
Host Computer #4
IP: 192.168.1.254
Destination IP 192.168.1.1
Destination Port 4660
Serial Device 1
Serial Line
SE5002
IP 192.168.1.1
Listening port 4660
Fig. 32. Data Transmission in a UDP Slave(server) Mode
3.4 Assigning new IP Address with ARP commands
ARP (address resolution protocol) commands can be used to assign a static IP address on SE5002 using
its hardware MAC (media access control) address. The MAC address"0060E9-xxxxxx" is printed on the rear
side of device . The following shows how it works on MS-DOS command prompt window.
Example: change IP from 10.0.50.100 to 10.0.50.101,and MAC address being 00-60-e9-11-11-01
Step1: Add the new host IP to the ARP table
Î Open Ms-DOS command prompt window
Î Input
arp -s 10.0.50.101 00-60-E9-11-11-01(Fig. 33)
Fig. 33. Ms-DOS command prompt window: add host computer IP to ARP table
Step2: Change to the new IP via Telnet port 1(Fig. 34)
Î Input telnet 10.0.50.101 1
Note:Telnet will fail and then SE5002 restarts automatically. Afterward, the new IP address is changed to
10.0.50.101
Step3: Using the new IP to configure SE5002 via Telnet
Î Input telnet 10.0.50.101
Note:
1. Both PC's IP and SE5002 's IP must belong to the same subnet.
2. The changed IP address must be legal; otherwise it will change back to the default value (10.0.50.100)
after restart.