Eth ip defgateway, Mgmt class, Input format – Efficient Networks 107-0001-000 User Manual
Page 151: Parameters, Response, Eth ip defgateway -13

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