network interface

Configure the appliance network interfaces. You can use static IP addressing or DHCP. Static addressing is the default.

User Access

admin, pseoperator

Syntax

network interface

dhcp
delete
static

network interface -device <netdevice> -ip <IP_address> -netmask <IP_address> [-gateway <IP_address>] [-force]

Argument(s)

Shortcut

Description

delete

del

Delete the network configuration for a network interface (eth0 or eth1). See network interface delete.

-device <netdevice>

-d

Specifies the interface you want to configure.

Valid values: eth0, eth1

dhcp

dh

Set a network interface with a DHCP IP configuration. See network interface dhcp.

-force

-f

Force the action without prompting.

-gateway <IP_address>

-g

Specifies the gateway to assign to the specified device.

-ip <IP_address>

-i

Specifies the IP address to assign to the specified device.

-netmask <IP_address>

-n

Specifies the network mask, in dotted-decimal format (for example, 255.255.255.0), to assign to the specified device.

static

s

Sets a network interface with a static IP configuration. See network interface static.