Eth ip addroute, Mgmt class, Input format – Efficient Networks 107-0001-000 User Manual

Page 147: Parameters, Examples, Response, Eth ip addroute -9

Advertising
background image

Efficient Networks

®

Router family

Command Line Interface Guide

Chapter 5: Ethernet Interface Commands

Efficient Networks

®

Page 5-9

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 “

RIP Controls” on page 6-4

of

the Technical Reference Guide and the

eth ip options

command).

NOTE:

This command requires a

save

and

reboot

before it takes effect.

Mgmt Class

Network (R/W)

Input Format

eth ip addroute <ipaddr> <ipnetmask> <gateway> <hops>

[<interface>]

Parameters

Examples

The following command adds a route to the default routing table for the default
Ethernet interface (0:0):

The following command adds a route to the default routing table for logical interface 1
on Ethernet port 0:

Response

Command prompt.

<ip addr>

a

a

Dotted-decimal notation

Ethernet LAN IP address.

<ipnetmask>

a

IP network mask.

<gateway>

a

IP address of the IP gateway.

<hops>

b

b

Integer

Number of routers the packet will pass to get to its destination.

<interface>

c,d

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).

Ethernet interface through which the packet is sent.

-> eth ip addRoute 10.1.2.0 255.255.255.0 192.168.1.17 1

-> eth ip addRoute 10.1.3.0 255.255.255.0 10.0.27.20 1 0:1

Advertising