SNAP2411
Assigning Remotes IP Addresses
Remote devices can be identified to applications by either an IP address or Port number. Remote
devices can have IP addresses assigned in one of three ways: dynamic assignment by the SNAP,
static assignment by the SNAP, or by a DHCP server.
To have remote devices assigned IP addresses dynamically by the SNAP, a pool of consecutive
IP addresses must be available. The lowest IP address of the pool is entered in the SNAP as the
ipbase
. The first remote device that registers with the SNAP will be assigned that IP address.
The next remote device that registers with the SNAP will be assigned the next higher IP address
and so on.
Note: When using the SNAP to dynamically assign IP addresses to remotes, if a remote
leaves the coverage area of the SNAP and then re-enters, it may be assigned a different
IP address than initially.
Enter the first IP address by typing at the TCP> prompt:
tcp server ipbase <xxx.xxx.xxx.xxx><CR>
where
xxx.xxx.xxx.xxx
is the first IP address to be assigned. If the remote devices are to be
identified as a port number of the IP address of the SNAP, do not enter an
ipbase
address. If an
ipbase
has previously been entered, re-enter the
ipbase
with a value of 0.0.0.0. This will cause
the SNAP to use port numbers to identify the remotes.
The size of the pool must be equal to the maximum number of remotes that will register with the
SNAP at a given time. The default setting is 16 but the SNAP can support a maximum of 62. The
number of remotes that can be simultaneously registered with the SNAP can be modified using
the
tcp server ipcount
command.
tcp server ipcount <1..62><CR>
When using IP addresses to identify remote devices, the SNAP will assign a port number. If a
specific port number is desired, the number can be specified using the
tcp server ipport
command.
tcp server ipport <1..65,536><CR>
To display the current settings of the ipbase, ipcount, ipport and the server IP address and port
number, at the TCP> prompt type:
tcp server list<CR>
If no server IP address has been entered, no server information will be displayed.
To have the SNAP staticly assign IP addresses, the
tcp remote add
command is used. The IP
addresses are assigned to remotes using the unique factory serial number of the WIT2411 radio
in the remote device. For example, to staticly assign a remote device with a WIT2411 radio with
serial number 104050 the IP address 192.168.0.230 using port 5000, at the TCP> prompt type:
tcp remote add 10-40-50 5000 192.168.0.230<CR>
Whenever that remote device registers with the SNAP, it can be accessed using IP address
192.168.0.230 and port 5000. To have the SNAP dynamically assign the port, enter a value of 0
for the port number. To remove a static IP assignment type:
tcp remote delete <remote-id><CR>
©
2000- 2004 Cirronet
™
Inc
28
M-2411-0012 Rev -