Efficient Networks
®
Router family
Command Line Interface Guide
Chapter 5: Ethernet Interface Commands
Efficient Networks
®
Page 5-13
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
Response
Command prompt.
<ip addr>
a
a
Dotted-decimal notation
Ethernet LAN IP address.
<interface>
b,c
b
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.
c
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.