Last active
May 23, 2018 09:29
-
-
Save rafzei/4e41fa895b4ee4ecbe83bfad5e9fde65 to your computer and use it in GitHub Desktop.
RHEL 6/7 static IP - eth0
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
#eth0 interface configuration | |
TYPE=Ethernet | |
NAME=eth0 | |
DEVICE=eth0 | |
ONBOOT=yes | |
BOOTPROTO=static | |
IPADDR=192.168.0.100 | |
DEFROUTE=yes | |
IPV4_FAILURE_FATAL=no | |
MTU=1462 | |
PREFIX=23 | |
GATEWAY=192.168.0.1 | |
NETMASK=255.255.255.0 | |
DNS1=8.8.8.8 | |
DNS2=4.4.4.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment