Configuring The Routing Table - Net to Net Technologies SIA2410R User Manual

Shdsl router
Table of Contents

Advertisement

Configuring the Routing Table

Setting up Static Route
A static route is a path from one network to another, which specifies
the destination network and the router to use get to that network. For
routes that must be reliable, the administrator often configures more
than one path (adds a secondary route), in which case the SIA2410R
chooses the primary route on the basis of an assigned metric.
Note: If no routes exist for the destination address of a packet, the SIA2410R
forwards the packet to the default route. If there is no default route,
the SIA2410R drops the packet.
ip route add default <ifname> [<gw>] [<metric>]
Command
ip route add <net> <mask> <ifname> [<gw>] [<metric>]
default
<net> <mask>
<ifname>
Parameters
<gw>
<metric>
(conf)# ip route add default wan
Usage
Examples
(conf)# ip route add 210.10.10.0 255.255.255.0 lan 168.126.188.5
Note: The "ip route add" command can add multiple paths of the same
network. To overwrite a static route to that network, you must first
remove any existing route (or routes) for the same network.
Net To Net Technologies
Net To Net Technologies SIA2410R User Manual
Adds the default route
Adds the destination network
Name of the interface through which a packet
addressed to this destination will be sent.
The address of the gateway to use for that destination
network.
A metric value for this route
22

Advertisement

Table of Contents
loading

Table of Contents