Table of Contents

RHEL 6 Network notes

Change device name

Edit the file /etc/udev/rules.d/70-persistent-net.rules

Static IP configuration

Edit the files /etc/sysconfig/network-scripts/ifcfg-eth*

DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
NETMASK=255.255.255.0
IPADDR=10.0.1.27
GATEWAY=10.0.1.1

Dynamic IP configuration

Edit the files /etc/sysconfig/network-scripts/ifcfg-eth*

DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=dhcp