User Guide
Chapter 4. Configuring Special Features 83
Note: addserver
commands using specific port numbers take priority over the port 0 setting.
192.168.1.4 will be asked to serve requests coming from
router1
to the local router. If the local router
also has the same Telnet and FTP entries from the previous example, 192.168.1.3 will serve the Telnet
request, 192.168.1.2 will serve the FTP request, and 192.168.1.4 will serve any other request, including
HTTP, SMTP, etc.
Example 3:
remote addServer 192.168.1.10 tcp 9000 9000 telnet route-in
remote addServer 192.168.1.11 tcp 9001 9001 telnet route-in
In this example, an incoming request on TCP port 9000 will be sent to 192.168.1.10 with the port
changed from 9000 to the Telnet (port 23).
An incoming request on TCP port 9001 will be sent to 192.168.1.11 with the port changed from 9001 to
the telnet port.
“Failed to add server” error message
The error message
Failed to add server
is printed if a server entry could not be created. This can occur
for two reasons:
Port overlap:
One or more of the ports would be visible to the remote end overlap. For example, you
enter:
remote addserver 192.168.1.10 tcp 9000 9000 telnet router1
Let us assume this command is accepted. Then you enter:
remote addserver 192.168.1.11 tcp 9000 9000 telnet router1
Let us assume this command gets an error. If the remote end sends a server request to port 9000, it cannot
know to which server, 192.168.1.10 or 192.168.1.11, to send the request, if both entries exist.
Not enough memory was available to create an entry.
This condition should not ordinarily occur
because the amount of memory needed for a server entry is less than 30 bytes. Should this problem
occur, it may cause many related problems or failures.
!
!!
!
System Commands
The following two commands are used to globally enable/disable a local IP address (on your LAN) as the
server for that particular protocol.
system addServer
<
ipaddr
> discard|me <
protocolid
> tcp|udp <
first port
> ftp|telnet|smtp|snmp|http
[<
last port
>[<
first
private port
>]]
system delServer
<
ipaddr
> discard|me <
protocolid
> tcp|udp <
first port
> ftp|telnet|smtp|snmp|http [<
last
port
>[<
first private port
>]]
where
first port:
this is the first or only port as seen by the remote end.
last port:
if specified, it is used with <
first port
> to specify a range of ports as seen by the remote end for
the server on your LAN.










