PLANET Technology Corp.

GRT-101/401 User’s Manual

3.11.2 Static routing table

In order to pass data through a network and onto the Internet or WAN, you might need to add the IP addresses of gateways to the static routing table. Follow the instructions below to build a static routing table manually by adding or deleting entries in the table.

For example, to add a route to network address 140.182.1.0 with subnet mask of 255.255.255.0 via gateway at 140.182.2.254:

admin# setup route static add 140.182.1.0 255.255.255.0 140.182.2.254

To set a default route with gateway of 140.182.2.254, use the below command:

admin# setup route static add 0.0.0.0 0.0.0.0 140.182.2.254

In general, it is not recommended to add multiple entries with the format of default route (network address 0.0.0.0 with subnet mask of 0.0.0.0). If there are multiple entries with the format of default route in the static routing table, the system will automatically select only one entry to be the default route among these entries with resolvable gateway.

Note: For most WAN protocols, a valid default route with resolvable gateway on WAN side must be set to work properly. However, for PPP connections, GRT-101/GRT-401 will add default route to ISP gateway automatically, and hence it is unnecessary to add a default route manually.

To enable RIP updating with auto summary for routing table, type:

admin# setup route rip generic Enable Enable

For detailed configuration about RIPv1/RIPv2, please refer to the on-line help message by the following commands:

admin# setup route rip lan 1

admin# setup route rip wan 1

Note: Each WAN port could be configured independently for RIPv1/RIPv2 updating of routing table.

To show the configuration, use the list command:

admin# setup route rip list

To save your changes, enter:

-49-