How to configure IP address in Redhat/Centos 7

Computers Development

In this blog article I would be sharing how to add or change the IP address in Redhat/CentOS 7.

How to configure IP address in Redhat Centos 7_Bashcodes
There are two ways of adding or changing the IPADDRESS.
[symple_box color=”gray” fade_in=”false” float=”center” text_align=”left” width=””] [root@localhost /]# nmtui        # command to open Network Manager Text user interface in which you can add or change the IP address.

or

[root@localhost /]# vim /etc/sysconfig/network-scripts/ifcfg-eno16777736 # or you can add IP address, DNS and gateway accordingly.

systemctl restart network     #restart the services
[/symple_box] This way you can configure IP address in Redhat/Cent OS 7

[symple_divider style=”solid” margin_top=”20px” margin_bottom=”20px”]

[symple_box color=”gray” text_align=”left” width=”100%” float=”none”]

If you like the blog please follow us [icon name=”icon-facebook”] [icon name=”icon-twitter”] [icon name=”icon-google-plus-sign”]

[/symple_box]