![3Com HomeConnect 3CP3647 Скачать руководство пользователя страница 22](http://html1.mh-extra.com/html/3com/homeconnect-3cp3647/homeconnect-3cp3647_cli-users-manual_440914022.webp)
3-6
C
HAPTER
3: M
ANUAL
SETUP
name and password.
(Maximum character length of login name = 32, password
maximum character length = 15.)
Configuring an IP
Network
The 3Com HomeConnect ADSL Modem Ethernet can have more than one IP
address (i.e., belong to more than one IP network). To configure an IP address use
the
add ip network
command. Each network has a
network name
. You will use
the
network
name
when entering commands related to the network.
The CIDR-supported
network address
includes a local station address and subnet
mask using the format:
nnn.nnn.nnn.nnn/A B C
or
8-30
. The first 4 octets describe
the IP address, followed by the subnet mask (contiguous) designator.
You can specify the subnet in one of two ways: a class or numerical designation. If
you specify a Class C subnet mask, for instance, this command will generate a
255.255.255.0 subnet value for you. If you specify the number of bits (to be set to
1), the acceptable range is 8-30. The network address is invalid if the portion of
the station address not covered by the mask is 0.
Defining a numerical subnet is useful when your value falls in between classes.
You can also
omit
the mask altogether; it will automatically be calculated from the
address.
■
To add an IP network, use the command:
add
ip network
<network name>
address
<ip address/mask>
frame
[ETHERNET_II | SNAP]
■
To list the defined IP networks, use the command
list ip networks
■
By default, the network is enabled when it is created. You can disable the
network using the following command:
disable ip network <network name>
■
You can delete a disabled network using the command:
delete ip network <network name>
The
reconfigure ip network
command can be used to modify an existing IP
network’s address or frame type.
Configuring Static
Routes
A Static route is a configured route that will remain in the IP routing table until
deleted.
■
To add a Static route over the LAN, use the command:
add ip route <ip network address>
gateway <ip address>
metric <metric>
The route will appear in the IP routing table. You can display all IP routes with the
list ip routes
command.
To add a default route, use the command:
add ip default route
gateway <ip_address>
metric <metric>