Eth Ip Addroute - Efficient Networks Router family Command Line Interface Manual

Table of Contents

Advertisement

®
Efficient Networks
Router family
Command Line Interface Guide

eth ip addroute

Adds a route to the default routing table for the Ethernet interface. This command is
needed only if the system does not support RIP (see
the Technical Reference Guide and the
NOTE:
This command requires a
Mgmt Class
Network (R/W)
Input Format
eth ip addroute <ipaddr> <ipnetmask> <gateway> <hops>
[<interface>]
Parameters
<ip addr>
<ipnetmask>
<gateway>
b
<hops>
<interface>
a
Dotted-decimal notation
b
Integer
c
This parameter may be omitted if the router has only one Ethernet interface. If the router has two
physical Ethernet interfaces (an Ethernet hub router), the port number (0 or 1) must be specified.
d
To specify a logical interface other than logical interface 0, specify both the port number and the logical
interface number (<port #>:<logical #>, for example, 0:1).
Examples
The following command adds a route to the default routing table for the default
Ethernet interface (0:0):
-> eth ip addRoute 10.1.2.0 255.255.255.0 192.168.1.17 1
The following command adds a route to the default routing table for logical interface 1
on Ethernet port 0:
-> eth ip addRoute 10.1.3.0 255.255.255.0 10.0.27.20 1 0:1
Response
Command prompt.
®
Efficient Networks
save
and
a
Ethernet LAN IP address.
a
IP network mask.
a
IP address of the IP gateway.
Number of routers the packet will pass to get to its destination.
c,d
Ethernet interface through which the packet is sent.
Chapter 5: Ethernet Interface Commands
"RIP Controls" on page 6-4
eth ip options
command).
reboot
before it takes effect.
of
Page 5-9

Advertisement

Table of Contents
loading

Table of Contents