Nxt network connection, Troubleshooting guide – Keri Systems NXT Network Connection User Manual
Page 10
![background image](/manuals/697189/10/background.png)
NXT Network Connection
Troubleshooting Guide
Page 10 of 11
P/N: 01508-001 Rev. A
The following commands are used to gather information about the controller:
ifconfig
ifconfig displays the IP Address and Subnet settings. At the command line, enter: > ifconfig eth0 (eth0 is the Ethernet
interface used in the NXT)
The command will return the following information:
eth0 Link type:6 HWaddr 00:14:34:00:00:01
inet 224.0.0.1 mask 240.0.0.0 broadcast 0.0.0.0
inet 192.168.109.206 mask 255.255.255.0 broadcast 192.168.109.255
UP RUNNING SIMPLEX BROADCAST MULTICAST mtu:1500 metric:1
The HWaddr is the MAC address for the controller and the second inet address and mask are the IP Address and
Subnet Mask of the controller.
NOTE: The ifconfig command can be used to change the IP Address and netmask, however changes made using
the ifconfig command will not be permanent and should not be done.
netstat
The netstat command displays the network connection ports that are in use and available on the controller. This
information is useful to verify that the controller is connected to a DoorNXT server or ready for a connection. At the
command prompt enter: netstat –a (the –a switch will provide the status of all connections). The command will return
the following information:
INET sockets
Prot Fd Local Address
Foreign Address
State
TCP 5 0.0.0.0.2323
0.0.0.0.*
LISTEN
TCP 8 0.0.0.0.21
0.0.0.0.*
LISTEN
TCP 10 0.0.0.0.21484
0.0.0.0.*
LISTEN
TCP 12 0.0.0.0.21474
0.0.0.0.*
LISTEN
TCP 15 0.0.0.0.10020
0.0.0.0.*
LISTEN
TCP 16 0.0.0.0.10010
0.0.0.0.*
LISTEN
TCP 19 192.168.109.206.2323192.168.100.108.3286ESTABLISHED
TCP 21 127.0.0.1.49153
127.0.0.1.49152
ESTABLISHED
TCP 22 127.0.0.1.49152
127.0.0.1.49153
ESTABLISHED
UDP 6 127.0.0.1.20005
127.0.0.1.20004
UDP 9 127.0.0.1.20059
127.0.0.1.20058
UDP 13 0.0.0.0.11068
0.0.0.0.*
UDP 14 127.0.0.1.20073
127.0.0.1.20072
UDP 18 0.0.0.0.11434
0.0.0.0.*
route
Displays Gateway address. At the command prompt, enter the following command to display the Gateway address:
route get
The command will return the following information:
IPv4 default gateway: 192.168.100.1