Efficient Networks® Router family

Chapter 5: Ethernet Interface Commands

Command Line Interface Guide

 

 

 

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-23of 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

<first public addr>a <second public addr>a <first public addr>a

<interface>b,c

First IP address of the range of IP addresses.

Last IP address of the range of IP addresses.

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

Defines the target Ethernet interface.

aDotted-decimal notation

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

cTo 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

Typical usage:

-> eth ip addHostMapping 192.168.207.40 192.168.207.49 10.0.20.11 1

Response

Command prompt.

Efficient Networks®

Page 5-7

Page 145
Image 145
Efficient Networks 107-0001-000 manual Eth ip addhostmapping, Typical usage