Specifications

Chapter 8. Command Reference 233
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).
Example:
eth ip addServer 192.168.1.5 tcp smtp 1
eth ip addServer 192.168.1.10 tcp 9000 9000 telnet 0
ETH IP BINDROUTE
Adds an Ethernet route to the named IP virtual routing table.
Duplicate routes are not allowed within a routing table. However, identical routes may be added to different
routing tables. For example, the same route may be added to a virtual routing table and to the default routing table.
To list the routes, use the iproutes command, page 191. To remove an Ethernet route from a virtual routing table,
use the eth ip unbindRoute command, page 246.
Note: A route change in an IP virtual routing table takes effect immediately. However, the change is lost if it is
not saved before the next reboot.
ipaddr Ethernet LAN IP address (4 decimals separated by periods).
ipnetmask IP network mask (4 decimals separated by periods).
hops Number of routers through which the packet must go to get to its destination.
gateway IP address of the gateway (4 decimals separated by periods).
tablename IP virtual routing table to which the route is added.
interface Ethernet interface through which the packet is sent out. 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).
Example:
The following commands add a route for IP address 10.1.2.0/255.255.255.0 to four routing tables: ROSA,
MIGUEL, FRANCISCO, and the default routing table. The first two routes are for Ethernet interface 0:1 and
use gateway 192.168.252.9; the second two are for the default Ethernet interface (0:0) and, therefore, specify
another gateway (192.168.252.7).
eth ip bindRoute <ipaddr> <ipnetmask> <hops> [<gateway>] <tablename> [<interface>]