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=220.127.116.11 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.
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!