Network --create_eth, Network --add_member – Dell PowerVault DR2000v User Manual

Page 40

Advertising
background image

network --create_eth

Description

The command creates eth interface for the system.

Syntax

network --create_eth --nwif <ethN>

[--dhcp]

[--static]

[--name < DNS name >]

[--mtu <Supported MTU range 512 - 9000>]

[--ip <IPv4/IPv6 address not already in use>]

[--netmask <netmask>]

[--restart]

--nwif Eth interface to create.

--dhcp Create dhcp interface.

--static Create static interface.

--name DNS name for the interface.

--mtu Ethernet MTU to use (valid range is 512 - 9000).

--ip Static IP address to use.

--netmask Netmask for the static IP address.

--restart Restarts networking after creation.

For example, to create eth2, run the command: network --create_eth --nwif eth2 --dhcp

Result

Interface operation successful. Please restart networking for the changes to

take effect.

network --add_member

Description

Add an interface to an existing bond.

Syntax

network --add_member --bondif <bondN>

--nwif <eth0, eth1, . . . ,ethN>

--bondif Bond interface to add to.

--nwif Eth interfaces to add.

For example, to add eth2 to bond1, run the command: network --add_member --bondif bond1 --nwif
eth2

Result

Interface add successful. Please restart networking for the changes to take

effect.

40

Advertising