Update the interface file as per the requirement. vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 For enp0s3, the file would be ifcfg-enp0s3. In this method, we will edit the network interface file found under /etc/sysconfig/network-scripts/directory. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 I wish to change the IP address of enp0s3. The output of ifconfig -a may look like below. You can use any one of the below commands to list down the available network interfaces on the system. IP Address = 192.168.1.10įind the available network interfaces on your system Let us configure our system for the following information. In some cases, these tasks are automated using DHCP (Dynamic Network Configuration Protocol) which takes care of assigning IP Address to Desktop/Servers.īut, if you go to the bigger organizations they use static (manual) IP to avoid network issues due non-availability of DHCP servers.Ĭonfigure Static IP Address in CentOS 7 / RHEL 7/ Fedora 27 Setting up the network and bringing servers into the network is the primary administration task for any system administrator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |