3Com OfficeConnect 3C100XF Cli User's Manual - page 92
12-4
C
HAPTER
12: IP R
OUTING
C
OMMANDS
interface exists, that gateway will be installed as the primary gateway. If the
disconnected interface is reconnected, the associated gateway will be re-installed.
add ip network
Adds an IP network to the list of IP networks available over the specified interface.
This command has the following parameters
interface
[eth:1 | internal | fr_pseudo_interface_name]
address
remote_address
frame
[fr1490 | fr1490mer | fr1483 | fr1483mer]
wan_type
[unptp | nptp | network | auto]
enabled
[yes | no]
Use wan_type auto with DHCP Client. When you specify wan_type auto for an IP
network, do not specify either the address or the remote_address. These values
will be learned from the DHCP Client.
Internal networks do not support SNAP encapsulation. Also, do not set the same
internal IP address for more than one OfficeConnect Gateway on the same LAN.
Parameters
Description
IP address of the gateway router.
metric
An integer representing how far away the default router is, in hops through
other routers. The range is
1-15.
The default is
1
.
Parameters
Description
Name of IP network, consisting of up to
64 unique ASCII
characters;
white space must be surrounded by double quotes.
interface
Name of the interface which this IP network will communicate over.
Eth:1
is the LAN port available while
internal
is a setting to define a global or
“interfaceless” IP address for the OfficeConnect Gateway when
supporting an on-demand or manual user with RIP over an
unnumbered
LAN-to-LAN connection.
fr_pseudo_interface_name
identifies the Frame
Relay logical interface (PVC). The default is the first LAN interface (
eth:1
).
address
IP address of the network, in the format nnn.nnn.nnn.nnn, with or
without a mask specifier. The Mask Specifier can be ‘A’, ‘B’, ‘C’, or ‘H’, or
a numeric value from 8 to 30 (32 for host) that describes the number of
one bits in the mask. You can also specify the netmask in the
xxx.xxx.xxx.xxx
format. If you do not specify a mask, the system will
generate it for you from the network address.
remote_address
For Frame Relay only. Sets the IP address and IP mask for the remote end
of the Frame Relay PVC. This parameter must be set if wan_type
parameter is set up as NPTP.
Frame
Frame encapsulation to be used on this IP network. Choices are: FR1490,
FR1490MER, FR1483, FR1483MER.
Note:
MER stands for MAC Encapsulated Routing.