How to manage network interfaces on Ubuntu server 23.04

To manage network interfaces on Ubuntu Server 23.04, follow these steps:

Step 1 : Start by managing network interfaces using the ip command.

Step 2 : Use the following command to display detailed information about all network interfaces:

Step 3 : Alternatively, you can use the shortened form:

Step 4 : To bring down and then up a specific interface (e.g., enp0s3), use the following commands:

Step 5 : You can also use the ifconfig command, but first, ensure it is installed by executing:

Step 6 : After installing net-tools, check network interface information using:

Step 7 : To bring down and then up the interface (e.g., enp0s3) using ifconfig:

Congratulations! You have successfully managed network interfaces on your Ubuntu Server 23.04.