Efficient Networks 107-0001-000 manual Eth ip defgateway ipaddr interface

Models: 107-0001-000

1 516
Download 516 pages 19.79 Kb
Page 151
Image 151

Efficient Networks® Router family

Chapter 5: Ethernet Interface Commands

Command Line Interface Guide

 

 

 

eth ip defgateway

Assigns an Ethernet default gateway for packets whose destination address does not have a route defined.

This setting is most useful when IP routing is not enabled, in which case the system acts as an IP host (i.e., an end system, as opposed to an IP router).

NOTE:

This command requires a save and reboot before it takes effect.

NOTE:

The following command is recommended instead of the eth ip defgateway command. It sends packets for all IP addresses to the specified gateway:

-> eth ip addRoute 0.0.0.0 255.255.255.0 <gateway> 1

Mgmt Class

Network (R/W)

Input Format

eth ip defgateway <ipaddr> [<interface>]

Parameters

<ip addr>a

Ethernet LAN IP address.

<interface>b,c

Ethernet interface through which the packet is sent.

aDotted-decimal notation

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

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

Response

Command prompt.

Efficient Networks®

Page 5-13

Page 151
Image 151
Efficient Networks 107-0001-000 manual Eth ip defgateway ipaddr interface