To manage network interfaces on Ubuntu Server 23.10, follow these steps:
Step 1 : To manage network interfaces, use the ip
command.
Step 2 : Execute the following command to display detailed information about all network interfaces:
Step 3 : Alternatively, you can use the abbreviated form:
Step 4 : To bring down and then bring up a specific interface (e.g., enp0s3), use the following commands:
Step 5 : You can also use the traditional ifconfig
command. If it's not already installed, install the net-tools
package:
Step 6 : After installing net-tools
, display information about all interfaces using:
Step 7 : Similar to the ip
command, bring down and then bring up the interface (e.g., enp0s3):
Congratulations! You have successfully managed network interfaces on Ubuntu Server 23.10.