Last active
January 27, 2018 07:27
-
-
Save deviousway/8600d3f2fff4cbd7aea069ed9f7bb89b to your computer and use it in GitHub Desktop.
centos network innterface setup static ip
This file contains 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
/etc/sysconfig/network-scripts/ifcfg-enp2s0 | |
IPV6INIT=no | |
BOOTPROTO=static | |
DEVICE=enp2s0 | |
ONBOOT=yes | |
UUID="ccea7d4f-855b-496e-945b-da7fe543b725" | |
IPADDR=104.193.150.10 | |
NETMASK=255.255.255.248 | |
GATEWAY=104.193.150.9 | |
/etc/sysconfig/network-scripts/ifcfg-enp2s0-range0 | |
IPADDR_START=104.193.150.11 | |
IPADDR_END=104.193.150.14 | |
CLONENUM_START=1 | |
NETMASK=255.255.255.248 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment