A network manager often finds himself in situations where he has to change various network configurations. To do this, he needs to know about all the available network interfaces in his system. Therefore, in this article, we explain the methods you can use to list the network interfaces in Debian 11.

Listing Network Interfaces on Debian

For listing the Network Interfaces in Debian 11, you can make use of any of the six methods discussed below:

Using the ip command

To list your Network Interfaces in Debian 11 by making use of the IP command, you will need to perform the following steps:

Launch the terminal in Debian 11 and then type the following command in it followed by pressing the Enter key:

ip addr

This command is shown in the image below:

<img alt="ip command" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-965.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="24" src="data:image/svg xml,” width=”275″>

As soon as this command will execute successfully, you will immediately be able to see all of your Network Interfaces on your terminal as shown in the following image:

<img alt="List IP addresses" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-966.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="296" loading="lazy" src="data:image/svg xml,” width=”725″>

Alternatively, you can also type the following command in your terminal and then press the Enter key:

ip link show

This command is shown in the following image:

<img alt="show IP link" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-967.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="24" loading="lazy" src="data:image/svg xml,” width=”319″>

The output of the above-mentioned command is shown in the image below:

<img alt="ip link show command" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-968.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="150" loading="lazy" src="data:image/svg xml,” width=”727″>

Using the netstat command

For listing your Network Interfaces by making use of the netstat command in Debian 11, you will need to perform the steps mentioned below:

First of all, you will need to launch the terminal in Debian 11. After doing that, type the following command in your terminal and then press the Enter key:

netstat -i

If you get an error message while executing this command, then you will probably need to install the net-tools package before running this command. You can do this by typing the following command in your terminal and then pressing the Enter key:

sudo apt install net-tools

After the successful execution of this command, you can easily run the netstat command as shown in the following image:

<img alt="Netstat command" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-969.png" ezimgfmt="rs rscb10 src ng ngcb10" height="27" loading="lazy" src="data:image/svg xml,” width=”297″>

As soon as the netstat command will execute successfully, you will be able to see all of your Network Interfaces on your terminal as shown in the image below:

<img alt="netstat command" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-970.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="118" loading="lazy" src="data:image/svg xml,” width=”728″>

List Network interfaces using /sys filesystem

To list your Network Interfaces in Debian 11 by making use of the ls command, you will need to perform the following steps:

Launch the terminal in Debian 10 and then type the following command in it followed by pressing the Enter key:

ls /sys/class/net

This command is also shown in the image below:

<img alt="List network interfaces from sys filesystem" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-971.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="30" loading="lazy" src="data:image/svg xml,” width=”361″>

The successful execution of this command will show you the following output on your terminal:

<img alt="sys class net" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-972.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="68" loading="lazy" src="data:image/svg xml,” width=”361″>

Use ifconfig command

For listing your Network Interfaces by making use of the ifconfig command in Debian 11, you will need to perform the steps mentioned below:

First of all, you will need to launch the terminal in Debian 11. Then type the following command in your terminal and press the Enter key to execute it:

/sbin/ifconfig

This command is shown in the following image:

<img alt="Linux ifconfig command" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-973.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="32" loading="lazy" src="data:image/svg xml,” width=”333″>

As soon as this command will execute successfully, you will be able to see a list of all of your Network Interfaces on your terminal as shown in the image below:

<img alt="List network interfaces using ifconfig command" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-974.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="365" loading="lazy" src="data:image/svg xml,” width=”661″>

Use nmcli command to list network interfaces

To list your Network Interfaces in Debian 11 by making use of the nmcli command, you will need to perform the following steps:

Launch the terminal in Debian 11 and install the Network Manager in it by typing the following command and then pressing the Enter key:

sudo apt install network-manager

This command is shown in the image below:

<img alt="Install network manager on Debian" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-975.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="29" loading="lazy" src="data:image/svg xml,” width=”499″>

Now you need to start the Network Manager Service. For doing that, type the following command in your terminal and then press the Enter key:

sudo systemctl start network-manager

This command is also shown in the following image:

<img alt="Start network manager" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-976.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="34" loading="lazy" src="data:image/svg xml,” width=”541″>

After doing this, you will need to enable the Network Manager Service. For doing that, you need to type the following command in your terminal and then press the Enter key:

sudo systemctl enable network-manager

This command is shown in the image below:

<img alt="Enable network manager service" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-977.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="26" loading="lazy" src="data:image/svg xml,” width=”537″>

Finally, run the following command in your terminal and then press the Enter key:

nmcli device status

This command is shown in the following image:

<img alt="nmcli status" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-978.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="24" loading="lazy" src="data:image/svg xml,” width=”383″>

As soon as this command will execute successfully, you will be able to see all of your Network Interfaces on your terminal as shown in the image below:

<img alt="List nmcli" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-979.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="98" loading="lazy" src="data:image/svg xml,” width=”438″>

Use /proc/net/dev

For listing your Network Interfaces by making use of the cat command in Debian 11, you will need to perform the steps mentioned below:

First of all, you will need to launch the terminal in Debian 11. Then type the following command in your terminal followed by pressing the Enter key:

cat /proc/net/dev

This command is also shown in the following image:

<img alt="List network interfaces via /proc/net/dev" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-980.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="30" loading="lazy" src="data:image/svg xml,” width=”362″>

The output of this command is shown in the image below:

<img alt="List of network interfaces" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/11/echo/word-image-981.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="167" loading="lazy" src="data:image/svg xml,” width=”728″>

Conclusion

By following any of the methods discussed in this article, you can easily find out all of your Network Interfaces. All of these methods are quite simple and convenient to follow. Moreover, they are sure to work perfectly well with Debian 11 systems.