How To Configure Static IP Address On CentOS 71 min read
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=126.96.36.199 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.
- How To Install Apache Cloud Stack Management Server 4.14 On Ubuntu 16.04 - July 22, 2021
- How To Install Zabbix 5.0 On Debian 10 Server - July 18, 2021
- How To allow GUI root Login on Ubuntu 21.04 Hirsute Linux - July 12, 2021
We really appreciate for your support for buying me a coffee.
It takes us a while to compose and upload new content, as they have to be checked to see if Properly works. We appreciate you if you help me for one cup of coffee to keep us awake and always deliver good quality content.
No contribution is small of an amount. We are grateful for any amount you support us with. Thank you!