Created
August 27, 2015 05:51
-
-
Save argaios/d1dfafcf5191602638cf to your computer and use it in GitHub Desktop.
How to configure Centos 6 Static IP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## 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