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=188.8.131.52 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 OsTicket v1.14 On Centos 7 With Apache - January 17, 2020
- How To Install Bitwarden Password Manager On Ubuntu 18.04 Using Docker - December 13, 2019
- How To Convert Ubuntu 19.04 Server To MikroTik Router Using Script - December 1, 2019