Specifications
Chapter 8. Command Reference 231
If the router has two physical Ethernet interfaces (an Ethernet hub router), the port number
(0 or 1) must be specified.
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).
Example:
eth ip addHostMapping 192.168.207.40 192.168.207.49 10.0.20.11 1
ETH IP ADDR
Defines the IP address and subnet mask for an Ethernet port or logical interface.
ipaddr Ethernet LAN IP address (4 decimals separated by periods.)
ipnetmask IP network mask (4 decimals separated by periods.)
interface Ethernet interface. 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.
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).
Examples:
The following command sets the IP address and subnet mask for the default Ethernet interface (0:0).
eth ip addr 192.168.1.254 255.255.255.0
The following command sets the IP address and subnet mask for logical interface 1 on Ethernet port 0.
eth ip addr 10.0.27.1 255.255.255.0 0:1
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 IP (RIP) Protocol Controls, on page 81 and
the eth ip options command, on page 243).
Note: This command requires a save and reboot before it takes effect.
ipaddr Ethernet LAN IP address (4 decimals separated by periods).
ipnetmask IP network mask (4 decimals separated by periods).
eth ip addr <ipaddr> <ipnetmask> [<interface>]
eth ip addRoute <ipaddr> <ipnetmask> <gateway> <hops> [<interface>]