Skip to content

Instantly share code, notes, and snippets.

@argaios
Created August 27, 2015 05:51
Show Gist options
  • Select an option

  • Save argaios/d1dfafcf5191602638cf to your computer and use it in GitHub Desktop.

Select an option

Save argaios/d1dfafcf5191602638cf to your computer and use it in GitHub Desktop.
How to configure Centos 6 Static IP
## Configure eth0
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
## And run
#
# dhclient eth0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment