Software & Apps Linux How to Configure Networking in KDE Plasma Learn how to use KDE Network Manager by Jack Wallen Writer Jack Wallen is a former Lifewire writer, an award-winning writer for TechRepublic and Linux.com, and the voice of The Android Expert. our editorial process LinkedIn Jack Wallen Updated on February 19, 2020 Pixabay Linux Switching from Windows Tweet Share Email Configuring a static IP address with the KDE Network Manager is fairly straightforward. It's a good way to lock down a single IP address for a specific machine so it never changes (until you change it). How do you make this happen? With the KDE Network Manager (otherwise known as Connections). Why Configure a Static IP Address Imagine you’ve just installed a Linux distribution that includes the KDE Plasma desktop. Everything is going great, but then you decide you either want to be able to secure shell (SSH) into that desktop, or you want to be able to share out folders on your network. Out of that box, that KDE Plasma desktop is going to get its IP address assigned via Dynamic Host Configuration Protocol (DHCP). In other words, the desktop will get a temporary IP address, from a router (configured by your Internet Service Provider - such as AT&T, Comcast, etc.). How long that desktop we have that IP address is up to the ISP (and how they’ve configured the DHCP service on the router). When that DHCP IP address lease expires, your desktop will be given a different address, which means you won’t be able to connect to that desktop (or its shared folders) until you find out the new IP address. For this article, we used KDE 5.13.5, running on the NEON distribution, which happens to be the best route to using the latest version of the KDE Plasma desktop. This article assumes you are working with a wired connection. If you're working with a wireless connection, you will only need to modify the type of connection you edit (Wireless, instead of Wired). This will also assume you want to connect using a static IP address. Accessing the KDE Network Manager In order to configure networking in KDE Plasma, you have to open the Network Manager. To do this, follow these steps: Select the farthest left icon in the system tray to open the Networks popup. Press Settings at the top of the popup. You should now see the Connections window. Prepare to configure. Configure Networking Configure your network for a static IP address with the following steps: Select Wired connection 1 in the left pane of the Connections window. Choose the IPv4 tab. From the Method drop-down, select Manual. Enter the DNS server addresses (optional) in the DNS Servers section. If you add more than one DNS address, separate them with a comma. Press Add. Type the IP address (under Address), and use the Enter key on your keyboard to move to Netmask. Type the netmask address (usually 255.255.255.0), and then tab to Gateway. For the gateway address, type the address of your router. Press Apply. Press OK. A Word on IP Addresses If you’ve never configured a static IP address, know that the address you configure has to be on the same address scheme as your router. So if your router’s IP address is 192.168.1.1, then you have to use an IP address such as 192.168.1.2. You also must make sure the IP address you want to configure isn’t already in use. A good way to find that out is to run the ping command on the address in question. Open a terminal window and issue a command like ping 192.168.1.2. If the command comes back saying Destination host unreachable, that address is safe to use. A Word on DNS DNS stands for Dynamic Name Service and is responsible for translating URLs into IP addresses that the external network can use. Without DNS, you’d have to memorize IP addresses, instead of URLs. So instead of typing google.com, you’d have to know the IP address for that address (which is 126.96.36.199). You can opt to not configure static DNS addresses. If you don’t, your computer will get its DNS from the router that would have served up its IP address. How to Get The New IP Address to Take Effect You might think that the newly configured IP address will take effect immediately. It won't. That doesn't happen until you disconnect and reconnect to the network. Fortunately, this is quite simple. Here’s how: Open the Networks popup (as you did to access the Network Manager). Press Disconnect. Now, press Connect. Select a blank spot on the desktop to dismiss the popup. Congratulations, your new (static) IP address is now in effect. You don’t have to worry about it ever changing, until you decide.