Enabling network interfaces with no IP address

From Brandonhutchinson.com

Revision as of 20:29, 30 June 2008 by Hutch (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Note: RHEL 5 is used in this example.

Example /etc/sysconfig/network-scripts/ifcfg-eth1:

# Intel Corporation 82546EB Gigabit Ethernet Controller (Copper)
HWADDR=MAC address

Note that BOOTPROTO should either be none, or the line should not exist altogether. If BOOTPROTO is set to bootp or dhcp, and the boot protocol fails, the network interface will not be enabled.

Personal tools