How to Disable a Network Interface on Boot in CentOS 8

Any useful function of a Linux distribution requires a network interface. Using a network interface, browsing the web, watching videos, and streaming files are included. The network interface provides the means by which the network’s software can be connected to the hardware. This article includes everything about these methods to disable a network interface on boot in CentOS 8.

How to Disable a Network Interface on Boot in CentOS 8

  • The network interface includes ifconfig, which runs on boot, as well as configures which work to check the specified IP.
  • In this IP address, a unique number is different for every system. In its simplest form, there are two or three numbers, and any number can come between the numbers 0 to 255.
  • Also, a Gateway or LAN connects the network to the system through which communication takes place.
  • Their unique number is delivered through Netmask.

Let us understand that there is a process to disable network interference:

  • The first step is to use this command to check and assign an IP address:
  • ifconfig
  • We need to use the following command to get information about active and inactive interferences:
  • ifconfig -a
  • Now, in order to understand the specific network, enter the command given below:
  • ifconfig eth0
  • Next, to enable it, the network uses “up” or “ifup” to give the “ifconfig eth0 up”/”ifup eth0” command.
  • Then, to deactivate it, a command has to be given using down or ifdown.
  • After that, this network will be disabled, which is the complete command as follows: “ifconfig eth0 down” and “ifdown eth0”


Throughout this article, we explained how and why the network interface works, as well as how to disable it. We hope that you will find our article useful. If you want to learn more about the different technologies, then please visit our official website.

About the author

Ankit Sharma