To configure a static IP address on Ubuntu Server 23.04, follow these steps:
Step 1 : To configure a static IP address on Ubuntu Server 23.04, start by updating and installing the net-tools:
Step 2 : Check the list of Ethernet interfaces to identify the one you want to configure:
Step 3 : Open the netplan configuration file using a text editor, for example, using the nano editor:
Step 4 : Add the following configuration for your chosen Ethernet interface:
Step 5 : Apply the changes to activate the static IP configuration:
Step 6 : Check the connectivity by pinging Google:
Congratulations! You have successfully configured a static IP address on your Ubuntu Server 23.04.