Created
May 3, 2014 16:31
-
-
Save lpf23/db5d6860347192905138 to your computer and use it in GitHub Desktop.
Set Static IP in CentOS VM
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
# vi /etc/sysconfig/netwokr-scripts/ifcfg-eth0 | |
DEVICE=eth0 | |
... | |
BOOTPROTO=static | |
IPADDR=192.168.1.123 | |
NETMASK=255.255.255.0 | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment