How to Configure Static IP Address on Fedora 39

To configure a static IP address on Fedora 39, follow these steps.

Step 1 : Get a list of interface names and UUIDs

Open a terminal and use the following command to display a list of network interfaces along with their UUIDs:

Step 2 : Set the static IP address: Assuming your interface name is "enp0s3," use the following command to set the static IP address (replace "enp0s3" with your actual interface name):

Step 3 : Set the gateway for the interface using the following command (replace "192.168.1.1" with your actual gateway address):

Step 4 : Specify DNS servers using the following command (replace "8.8.8.8" with your desired DNS server addresses):

Step 5 : Set the connection method to manual

Step 6 : Restart the network service. Toggle the network connection to apply the changes:

Step 7 : Check the configured IP address using the following command:

Congratulations! You have successfully configured a static IP address on your Fedora 39 system.