User guide
Chapter 4. Configuring Special Features 93
Example 1:
Assume that the local LAN network is 192.168.1.0 255.255.255.0. The following commands are typed to
enable a Telnet server on the local LAN with the IP address 192.168.1.3, and an FTP server with the IP
address 192.168.1.2.
remote addServer 192.168.1.3 tcp telnet router1
remote addServer 192.168.1.2 tcp ftp router1
When the local router receives a request from router1 to communicate with the local Telnet server, the
local router will send the request to 192.168.1.3. If router1 asks to talk to the local FTP server, the local
router will send the request to 192.168.1.2.
Example 2:
Assume that the local LAN network is 192.168.1.0 255.255.255.0. When the port value of 0 (zero) is
used, it directs all ports of the specified protocol to the IP address specified.
remote addServer 192.168.1.4 tcp 0 router1
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