Using the above IP Address example of 192.168.1.1, if the Subnet mask is 255.255.255.0 (Class C), the Network ID would be 192.168.1 while the Host ID would be 1. This Host will be able to communicate to any other device on that network whose IP address is 192.168.1.1 – 254 (255 is reserved for network broadcasts). If the Subnet mask is 255.255.0.0 (Class B), the Network ID would be 192.168, and the Host ID would be 1.1. This Host will be able to communicate to any other device on that network whose IP address is 192.168.0.1 – 192.168.254.254.
Any communication to a device that is on another network (or outside of the Subnet mask) would be passed on to the Gateway, which will route the data to the appropriate Network and Host. If the Gateway does not have a route specified for the destination network, then the communication will fail.
For other software based firewalls, please refer to the software documentation on how to add an application to the exception list. For hardware-based firewalls, make sure that Ports TCP/10010, TCP/10020, TCP/10030, TCP/10040, UDP/11067, UDP/11068, UDP/11434, UDP/11435, TCP/3050, and TCP/3060 are allowed to pass through to the computer running DoorsNXT Server, Client, Proxy, and Controllers.
For communication to controllers on different networks or subnets, the Router/Gateway must have a route configured. If a route is configured in the Router, then verify that other devices on the two networks can communicate using the Ping utility. When using Autoconfig to configure controllers on different subnets, make sure the DoorsNET Proxy service is running on a computer installed on the remote subnet and the IP address of that computer is set in the NXT Gateway properties.
Physical Hardware Problem
Check the physical network connections from the DoorsNET to the NXT Controller. Look at the Link (D22) and Activity (D33) LEDs on the controller. The Link LED should be illuminated and the Activity LED will flicker when data is present. If the Link LED is not lit, check the patch cable or replace it with a known good cable. Verify the connection to the switch/hub/router. Check that there is a Link LED at the port.
VPN Tunnel Down
If the communication routes through a VPN, verify that the tunnel is operational. Use Ping or the VPN software to validate connection.
7.0 | Tools |
The following tools can be useful when trying to troubleshoot and resolve connection issues. The purpose of these tools is to validate that a connection exists at the lowest network level.
Controller Reset/Default IP
After a system reset, the controller’s IP address reverts to its default IP address of 169.254.1.1. This process should be used if you are unable to complete an autoconfig of a controller and need to validate that the controller is communicating and functioning properly.
In order to communicate to a reset controller, perform the following steps:
Change or add an IP address of the computer to be within the 169.254.x.x subnet using a subnet mask of 255.255.0.0. Example 169.254.0.1.
NOTE: It may not be necessary to change the computer’s IP address, as Windows will often perform an Auto IP and assign an IP address that is within the 169.254.x.x subnet range when it cannot get an address from a DHCP server.
Using a cross over cable to isolate the controller from any other controllers or devices on the network, attempt to connect to the controller using Ping or Telnet.
NOTE: Some network adapters are autosensing and a standard patch cable can be used instead of a cross over cable.
8.0 | Ping |
Confirms basic connection route to another networked device. The Ping utility is a command line tool that will send a small packet to the designated device and expect a response from that device. To use Ping, open a command prompt (DOS prompt) by clicking on Start / Run and enter cmd in the Open: field and click on OK. A new window will appear with a command prompt: C:\>. The actual prompt may differ from computer to computer.
To run the Ping command, enter at the command prompt:
C:\>ping <ip address>
Where <ip address> is the IP Address or name of the target device. The ping is successful if a reply is received from the
target device.
When a ping fails, it will show a Request timed out.
Trace Route
The Trace Route utility displays the route path to a designated network device. If a ping fails, the Trace Route utility can be used to see at which point the packet failed. This tool is especially useful in troubleshooting connections that cross multiple routers. To run the Trace Route utility enter the following command.
C:\>tracert <ip address>
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:
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