BILLYSOFTACADEMY

How To Set A Static IP Address On Kali Linux 2021.1 In Less Than 5 Minutes

There are many reasons why you may want to set a static IP address on a physical or virtual machine running KALI Linux 2021.1. It could be because you would want to set up remote desktop access so you can securely connect to your KALI PC from a remote location, or it may be because you would want to use KALI as a server for a particular software or app, or it could be because your current network environment requires you to do so. In a typical KALI desktop installation, the NetworkManager is a system service that handles all networking functionality and it can be controlled and configured mainly through GNOME’s control center and the command line interface. In this tutorial you will learn how to set a static IP address on KALI linux 2021.1 in less than 5 minutes from the GNOME graphic user interface and also from the command line interface. You will also learn how to check and backup current network configuration before making any changes, how to update the NetworkManager system package and how to document static IP address allocations in your network. Click on the button below to download a PDF copy of this tutorial.

REQUIREMENTS

In order to complete this tutorial successfully, the following is a list of items that may be needed or required. Please ensure to have these items available before taking implementation action on this tutorial:
1) A physical or virtual machine running KALI LINUX 2021.1
2) Atleast 1 network interface card
3) An internet connection to download KALI package updates
4) The billysoftacademy network documentation spreadsheet (DOWNLOAD IT HERE)
5) Access to the KALI linux root user account

OVERVIEW

1) Check the current network configuration
2) Set a static IP address using the KALI GNOME GUI
3) Set a static IP address using the KALI terminal
4) Learn how to update the KALI network manager system package
5) document the static IP address that you have set in the network documentation spreadsheet.

Step 1: Check The Current Network Configuration

1) To run a basic check of the current network configuration on your KALI linux computer, open the TERMINAL application and run the following command:

ifconfig

The ifconfig command will return configuration information about the attached network interfaces. On ETH0 then important information to take note of the the values on INET, NETMASK and BROADCAST.

In the image on the right you can see that the KALI linux computer has been given the IP address of 10.0.2.15 as indicated on the INET parameter. The subnet mask for the network is 255.255.255.0 and the broadcast address for the network is 10.0.2.255

2)