Trace: rhel_network

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
rhel_network.txt · Last modified: 2016/11/01 09:37
Public Domain Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain