Enabling network interfaces with no IP address

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
(New page: Note: RHEL 5 is used in this example. Example '''/etc/sysconfig/network-scripts/ifcfg-eth1''': # Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) DEVICE=eth1 ONBOOT=yes ...)
Current revision (20:29, 30 June 2008) (edit) (undo)
 
Line 5: Line 5:
DEVICE=eth1
DEVICE=eth1
ONBOOT=yes
ONBOOT=yes
-
BOOTPROTO=none
+
'''BOOTPROTO=none'''
HWADDR=''MAC address''
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.
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.

Current revision

Note: RHEL 5 is used in this example.

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

# Intel Corporation 82546EB Gigabit Ethernet Controller (Copper)
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=none
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