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.
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
[[email protected] ~]# 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=22.214.171.124 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.
Thanks to all.
Latest posts by Admin (see all)
- How To Install Joomla 4 On Ubuntu 18.04 - October 21, 2019
- How To Configure Static IP Address On Ubuntu 14.04 - October 16, 2019
- How To Upgrade Zabbix Server 4.0 To 4.4 On CentOS 8 - October 13, 2019