Configures or modifies the selected network interface.
To configure a network interface, you must specify an IP address and netmask (subnet mask).
Note: To enable the interface (allow it to handle network traffic), specify the up parameter in a separate step.
If network problems occur, group members may lose the ability to communicate with each other over the network. In this situation, some management operations are not allowed—for example, you cannot change the IP address assigned to an isolated member’s network interface.
If the group gets into a state where members lose communication, identify the network problems that caused it and fix them. This will restore the group to normal full operation, including network communication.
Format
member select member_name eth select port parameter ...
Variables
|
member_name |
Name of a member. |
|
port |
Port number of the network interface (0, 1, or 2). For example, specify 0 for eth0. |
Parameters
|
description text |
Description for the network interface, up to 128 alphanumeric characters. If the text variable contains spaces, surround it with quotation marks. Note: Must be specified on a separate command line from the other parameters. |
|
ipaddress ip_address |
IP address for the network interface. |
|
netmask mask_ip |
|
|
up|down |
Enables (up) or disables (down) the interface for I/O traffic. Note: Must be specified on a separate command line from the other parameters. |
Examples
The following commands configure the eth1 network interface and then enable it:
> member select m5
(member_m5)> eth select 1 ipaddress 131.22.3.8 netmask 255.255.255.0
> member select m5 eth select 1 up
The following command adds a description to the eth1 network interface:
> member select m5 eth select 1 description Eth-1
The following command disables the eth2 network interface:
> member select memlab2 eth select 2 down