Option

Description

 

 

-d

Assigned domain name

 

 

-dns1

Primary DNS server IP address

 

 

-dns2

Secondary DNS IP address

 

 

-dns3

Tertiary DNS server IP address

 

 

ifconfig command

Syntax

ifconfig eth0 [options] ifconfig ppp [options] eth0 options:

-stateinterface_state -cconfig_method

-istatic_ip_address -ggateway_address -ssubnet_mask

-nhostname -rdata_rate -dduplex_mode

-mmax_transmission_unit

-llocally_administered_MAC

ppp options:

-state enabled/disabled - interface status -i ip_addr - IP address

-ri ip_addr - remote IP address -s ip addr - subnet mask

-a papchapcthenp - authentication method

Note: The ifconfig ppp command is not available for the Remote Supervisor

Adapter II SlimLine.

Description

Use the ifconfig command to configure the Ethernet interface. Type ifconfig eth0 to display the current Ethernet interface configuration. To change the Ethernet interface configuration, type the options, followed by the values. To change the interface configuration, you must have at least Adapter Networking and Security Configuration authority.

The following table shows the arguments for the options.

Option

Description

Values

 

 

 

-state

Interface state

disabled, enabled

 

 

 

-c

Configuration method

dhcp, static, dthens (dthens corresponds to the “try

 

 

dhcp server, if it fails use static config” option on the

 

 

Web interface)

 

 

 

-i

Static IP address

Valid IP address format

 

 

 

-g

Gateway address

Valid IP address format

 

 

 

-s

Subnet mask

Valid IP address format

 

 

 

-n

Host name

String of up to 63 characters. Can include letters,

 

 

digits, periods, underscores, and hyphens.

 

 

 

-r

Data rate

10, 100, auto

 

 

 

-d

Duplex mode

full, half, auto

 

 

 

Chapter 6. Command-line interface 99

Page 107
Image 107
IBM Remote Supervisor Adapter II manual Ifconfig command, Option Description Values