Eth ip addhostmapping, Mgmt class, Input format – Efficient Networks 107-0001-000 User Manual

Page 145: Parameters, Example, Response, Eth ip addhostmapping -7

Advertising
background image

Efficient Networks

®

Router family

Command Line Interface Guide

Chapter 5: Ethernet Interface Commands

Efficient Networks

®

Page 5-7

eth ip addhostmapping

Remaps a range of local LAN IP addresses to a range of public IP addresses on a
per-interface basis. These local addresses are mapped one-to-one to the public
addresses. For more information, see “

Host Remapping” on page 4-23

of the

Technical Reference Guide.

NOTE:

The range of public IP addresses is defined by

<first public addr>

only. The

rest of the range is computed automatically (from

<first public addr>

to

<first public addr>

+ number of addresses remapped - 1) inclusive.

Mgmt Class

Network (R/W)

Input Format

eth ip addhosthapping <first private addr> <second private

addr> <first public addr> <interface>

Parameters

Example

Typical usage:

Response

Command prompt.

<first public addr>

a

a

Dotted-decimal notation

First IP address of the range of IP addresses.

<second public addr>

a

Last IP address of the range of IP addresses.

<first public addr>

a

Defines the range of public IP addresses. The rest of the
range is computed automatically.

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

Defines the target Ethernet interface.

-> eth ip addHostMapping 192.168.207.40 192.168.207.49 10.0.20.11 1

Advertising