Specifications
94 Chapter 4. Configuring Special Features
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 and/or port.
system addServer <action> <protocol> <port> [<last port>[<first private port>]]
system delServer <action> <protocol> <port> [<last port>[<first private port>]]
For more information, see the command descriptions on page 209 and page 219.
Remember to type save to make the changes persistent across boots.
Examples:
system addserver 192.168.1.5 tcp smtp
system addserver 192.168.1.6 tcp 0
system addserver 192.168.1.6 udp 0
The router sends a server request for SMTP to 192.168.1.5 when such a request comes from any remote
router running NAT. The router sends any other server request (tcp or udp) to 192.168.1.6.
¥ Server Request Hierarchy
As shown above, multiple system addserver, remote addserver, and eth ip addserver commands can
designate different servers for different protocols, ports, and interfaces. When handling a request from a
remote router (to which the local router has NAT enabled), the local router searches the server list for the
appropriate server. The following lists the order of search and the command that added the server to the list:
Search Order Command
1. Protocol and port for a specific interface remote addserver or
eth ip addserver
2. Protocol and port for any interface system addserver
3. Protocol and any port for a specific interface remote addserver with port 0 or
eth ip addserver with port 0
4. Protocol and any port for any interface system addserver with port 0
5. Any protocol and any port for a specific interface remote addserver with protocol all and port 0
eth ip addserver with protocol all and port 0
6. Any protocol and any port for any interface system addserver with protocol all and port 0
7. Local LAN IP address mapped to the WAN system addhostmapping
interface IP address.
8. If none of the above, the local router selects itself
(the local router) as the server.