User Guide

Chapter 5. Command Line Interface Reference 135
ETH IP ADDROUTE
Defines IP routes reached via the LAN interface. This command is only needed if the system does not support
RIP.
Note:
This command requires a reboot.
ETH IP DEFGATEWAY
Assigns an Ethernet default gateway for packets that do not have a destination specified. 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 reboot; it is also an alternative to:
eth ip addRoute 0.0.0.0 255.255.255.0
<gateway>
1
ETH IP DELROUTE
Removes IP routes reached via the LAN interface. It is only needed if the system does not support RIP.
Note:
This command requires a reboot.
eth ip addRoute
<
ipaddr> <ipnetmask> <gateway> <hops>
[<
port#
>]
ipaddr
Ethernet LAN IP address in the format of 4 decimals separated by periods.
ipnetmask
IP network mask in the format of 4 decimals separated by periods.
gateway
IP address in the format of 4 decimals separated by periods.
hops
Number of routers through which the packet must go to get to its destination.
port#
Port number of the Ethernet LAN; must be 0 or 1, or it may be omitted.
Example:
eth ip addRoute 128.1.2.0 255.255.255.0 128.1.1.17 1
eth ip defgateway
<
ipaddr>
[<
port
#>]
ipaddr
Ethernet LAN IP address in the format of 4 decimals separated by periods.
port#
Port number of the Ethernet LAN; must be 0 or 1, or it may be omitted.
Example:
eth ip defgateway 128.1.210.65
eth ip delRoute
<
ipaddr> <ipnetmask>
[<
port#
>]