Most networks will automatically assign anand other details to your computer when you connect to the network. These details can change periodically, but you might want to have a fixed IP address for the computer so you always know what its address is (for example, if it is a file server).
Open the Activities overview and start typing Network.
Click on Network to open the panel.
In the left pane, select the network connection that you want to have a fixed address. If you plug in to the network with a cable, click Wired, then click the button in the lower right corner of the panel. For a Wi-Fi connection, the button will be located next to the active network.
Click on IPv4 or IPv6 in the left pane and change the Addresses to Manual.
Type in the IP Address and Gateway, as well as the appropriate Netmask.
In the DNS section, switch Automatic to OFF. Enter the IP address of a DNS server you want to use. Enter additional DNS server addresses using the + button.
In the Routes section, switch Automatic to OFF. Enter the Address, Netmask, Gateway and Metric for a route you want to use. Enter additional routes using the + button.
Click Apply. The network connection should now have a fixed IP address.
This work is licensed under a.
Got a comment? Spotted an error? Found the instructions unclear? Send feedback about this page.