Efficient Networks 107-0001-000 manual Ethernet LAN IP address

Models: 107-0001-000

1 516
Download 516 pages 19.79 Kb
Page 150
Image 150

Chapter 5: Ethernet Interface Commands

Efficient Networks® Router family

 

Command Line Interface Guide

 

 

Mgmt Class

Network (R/W)

Input Format

eth ip bindroute <ipaddr> <ipnetmask> <hops> [<gateway>] <tablename> [<interface>]

Parameters

<ip addr>a

Ethernet LAN IP address.

<ipnetmask>a

IP network mask.

<hops>b

Number of routers through which the packet must go to get to its desti-

 

nation.

<gateway>a

IP address of the IP gateway.

<tablename>c

IP virtual routing table o which the route is added.

<interface>d,e

Ethernet interface through which the packet is sent.

aDotted-decimal notation

bInteger

cASCII string

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

eTo 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 10.1.3.0 255.255.255.0 1 192.168.252.9 ROSA 0:1

-> eth ip bindroute 10.1.3.0 255.255.255.0 1 192.168.252.9 MIGUEL 0:1

-> eth ip bindroute 10.1.3.0 255.255.255.0 1 192.168.252.7 FRANCISCO

-> eth ip addroute 10.1.3.0 255.255.255.0 1 192.168.252.7

Response

Command prompt.

Page 5-12

Efficient Networks®

Page 150
Image 150
Efficient Networks 107-0001-000 manual Ethernet LAN IP address