X

How To Configure Static IP Address On CentOS 7

I want show configure static IP address on CentOS 7. If your network active dhcp server then can’t configure static IP address. So many reason for configure static IP address.

Setup Static IP Address On CentOS 6.5
How To Install Mysql Server on Ubuntu 14.04
How to Install Zabbix Server on Ubuntu 14.04

Step #01: Make sure what is your LAN interface like as eth0 or eth1. My LAN interface eth1, So I configure eth1 for static IP address.

Open eth1 that means LAN interface via command line

[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth1

Insert below all lines after BOOTPROTO

BOOTPROTO=static
IPADDR=10.66.120.10
NETMASK=255.255.0.0
GATEWAY=10.66.10.1
DNS1=8.8.8.8
ONBOOT=yes

Then reboot your machine or LAN interface disable or enable. That’s fine!

If face any problem then see my YouTube video and Subscribe my channel. Please subscribe my channel for more update.

0 0 votes
Article Rating
Admin: I am system administrator as Windows and Linux platform. I have 4 years skilled from the professional period. I have to configure Linux based system such as an Asterisk VOIP system, Network monitoring tools (ZABBIX), Virtualization (XEN Server), Cloud computing (Apache CloudStack) etc. Now share my professional skill each interested person. Thanks to all.
Leave a Comment