Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual page 145

Table of Contents

Advertisement

However, it is also possible to edit the configuration files for a given network interface manually.
Below is a listing of the configurable parameters in an Ethernet interface configuration file:
BOOTPROTO=<protocol>
— No boot-time protocol should be used.
none
— The BOOTP protocol should be used.
bootp
— The DHCP protocol should be used.
dhcp
BROADCAST=<address>
deprecated, as the value is calculated automatically with
, where
DEVICE=<name>
dynamically-allocated PPP devices where it is the logical name).
— Only use this option if the DHCP server requires the client to specify a
DHCP_HOSTNAME
hostname before receiving an IP address. (The DHCP server daemon in Red Hat Enterprise
Linux does not support this feature.)
DNS{1,2}=<address>
/etc/resolv.conf
ETHTOOL_OPTS=<options>
. For example, if you wanted to force 100Mb, full duplex:
ethtool
ETHTOOL_OPTS="autoneg off speed 100 duplex full"
Note that changing speed or duplex settings almost always requires disabling autonegotiation
with the
autoneg off
dependent.
GATEWAY=<address>
device (if any).
HWADDR=<MAC-address>
device in the form
AA:BB:CC:DD:EE:FF
NICs to ensure that the interfaces are assigned the correct device names regardless of the
configured load order for each NIC's module. This directive should not be used in conjunction
with
.
MACADDR
, where
IPADDR=<address>
MACADDR=<MAC-address>
device in the form
AA:BB:CC:DD:EE:FF
interface, overriding the one assigned to the physical NIC. This directive should not be used
, where
<protocol>
, where
<address>
is the name of the physical device (except for
<name>
, where
is a name server address to be placed in
<address>
if the
directive is set to
PEERDNS
, where
<options>
option. This needs to be stated first, as the option entries are order
, where
is the IP address of the network router or gateway
<address>
, where
<MAC-address>
. This directive is useful for machines with multiple
is the IP address.
<address>
, where
<MAC-address>
. This directive is used to assign a MAC address to an
is one of the following:
is the broadcast address. This directive is
.
ifcalc
.
yes
are any device-specific options supported by
is the hardware address of the Ethernet
is the hardware address of the Ethernet
Ethernet Interfaces
121

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 4.5.0 and is the answer not in the manual?

Questions and answers

Table of Contents