Creating your basic network profile
Here we will focus on getting online so you can get applications up and running! First, we are going to configure our interface directly through network scripts. We want to determine the interface name we would like to change with the following command:
[emcleroy@rhel1 ~]$ ip a
This is fully illustrated in the output of the command in the following screenshot:
Figure 3.1 – Output from an IP command showing the interfaces
In our case, we will be manipulating the enp0s3
interface. This is the main interface, as the others are bridges and are not physical. The first interface is the loopback, which is used for the localhost connectivity for on-server communication.
Next, we can go to /etc/sysconfig/network-scripts/
, where we will only find ifcfg-enp0s3
. This is the interface configuration of the enp0s3
connection. We can view it with the following command:
[emcleroy@rhel1 network-scripts]$ vi ifcfg-enp0s3...