A SERVICE OF

logo

Configuring IP Routing 103
See “Configuring Static Routes” on page 103 to configure routes
manually, and “Learning Routes with OSPF” on page 106 to learn routes
dynamically.
Assigning Addresses
and Enabling
IP Routing
To assign addresses and enable IP routing, follow these steps:
1 Assign an IP address for each LAN and WAN port or virtual port that will
route IP using:
SETDefault !<port> -IP NETaddr = <IP address> [<subnet mask>
[Ones | Zeros [MTU]]] | UnNumbered
If you are using a BOOTP server to obtain your IP addresses, see
“Assigning Addresses Automatically from BOOTP Servers” on page 108.
CAUTION: An IP address assigned to port 0 is considered the IP address
for all the interfaces. As a result, the bridge/router behaves as an IP host
for Telnet access and network management and stops routing IP packets.
Do not configure an IP address for port 0 if you want to route IP packets
2 Enable IP routing by entering:
SETDefault -IP CONTrol = ROute
Configuring Static
Routes
A static route is a user-defined route by which a network can be
reached. If you want to eliminate route advertisements required for
dynamic route learning and optimize the use of the available
bandwidth on slow serial data links, you must add the route as a
static route.
If a destination network is reachable with both a static route and a
learned route, the router uses the static route unless you specify the
optional Override value in the ADD ROUte command. If a learned route
is available, regardless of precedence, it overrides the static route when
using the Override value.
You should use static routes only if your network is small and
unchanging.
To set a static route, use:
ADD -IP ROUte <IP address> [<mask>] {<gateway> | !<port>} <metric>
[Override]