NTS 01 Rev 1 – User Manual March 2006
______________________________________________________________________________
Page 24 of 31
Tekron International Ltd
PO Box 31 285 Lower Hutt 6009 New Zealand
tel:
+64 4 566 7722
fax:
+64 4 569 9272
email:
6
Time Server Port (NTS) Configuration over Ethernet
The recommended method of configuring the Time Server Ports of NTS01 is by using the
supplied configuration software running on a PC connected to the NTS01 unit via the supplied
USB cable. However, provided that the NTS IP address is already configured and known, and
provided that Telnet access is enabled for that NTS
then the NTS can be fully configured
using a Telnet Session to TCP port 9999 on the known IP address. The menu presented in the
Telnet session is identical to that described in Section 5.4. If the NTS IP address is
not
configured, an IP Address must be assigned to the NTS before any network access is possible.
There are two ways to assign an IP address to an NTS.
a) DHCP addressing:
An NTS01 NTS will automatically operate within a DHCP environment to fetch a dynamic
address if it does not already have a fixed address configured. Most DHCP Servers also provide
facilities to pre-allocate specific IP addresses to named host devices. As Each NTS01 NTS has a
unique DHCP name defined by the last 6 digits of it’s MAC address, this facility can be used to
give the NTS a specific address rather than just the next address available from the DHCP
Server’s list.
The default DHCP name for an NTS01 NTS is Cxxxxxx where xxxxxx denotes the first six
digits of the Port’s MAC address. For example, an NTS with Ethernet MAC address:-
00:20:4A:72:DB:2B will appear on DHCP Server lease listings as device: C72DB2B.
b) ARP addressing:
The ARP method is available under UNIX and Windows systems and can be used when there is
no DHCP server. . An NTS will set its address from the first directed TCP/IP packet it receives.
On a Unix host, create an entry in the host’s ARP table using the intended IP address and the
hardware MAC address of the NTS. The UNIX command (for example addresses IP:
192.168.1.56 and MAC: 00-20-4A-72-08-B7) is:
arp –s 192.168.1.56 00:20:4A:72:08:B7
In order for the ARP command to work correctly in Windows, the ARP table on the PC must
have at least IP address defined other than its own. If the command
ARP –A
typed from the
DOS prompt results in only the local IP address being shown, then “ping” any other known IP
address on the network to establish a non-local entry. Once another entry is established, use the
same command as above to ARP an IP address to the NTS.
Next, open a Telnet connection to TCP port 1 on the NTS with command:-
telnet 192.168.1.56 1
This Telnet connection will quickly fail (3 seconds) but the NTS will change its IP address to the
one specified. Finally, open a new Telnet connection to port 9999 with command:
telnet 192.168.1.56 9999
The IP address set above will revert to the default null address if the NTS is powered down or
reset unless the full Set-Up procedure is completed and all of the changes stored permanently
using option 9 on the Set-Up menu.