How To Install ifupdown-multi on Kali Linux

In this tutorial we learn how to install ifupdown-multi on Kali Linux. ifupdown-multi is multiple default gateway support for ifupdown

Introduction

In this tutorial we learn how to install ifupdown-multi on Kali Linux.

What is ifupdown-multi

ifupdown-multi is:

This package integrates support for multiple default gateways on independent network connections into the Debian ifupdown network interface configuration system. It adds new “multi_*” options to the /etc/network/interface file format in order to more easily configure Linux’s policy based routing.

The policy information used to configure each network interface using ifupdown-multi is saved when ifup is run. This allows network interfaces using ifupdown-multi to be brought up or down cleanly as needed.

There are three methods to install ifupdown-multi on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ifupdown-multi Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install ifupdown-multi using apt-get by running the following command:

sudo apt-get -y install ifupdown-multi

Install ifupdown-multi Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ifupdown-multi using apt by running the following command:

sudo apt -y install ifupdown-multi

Install ifupdown-multi Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install ifupdown-multi using aptitude by running the following command:

sudo aptitude -y install ifupdown-multi

How To Uninstall ifupdown-multi on Kali Linux

To uninstall only the ifupdown-multi package we can use the following command:

sudo apt-get remove ifupdown-multi

Uninstall ifupdown-multi And Its Dependencies

To uninstall ifupdown-multi and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove ifupdown-multi

Remove ifupdown-multi Configurations and Data

To remove ifupdown-multi configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge ifupdown-multi

Remove ifupdown-multi configuration, data, and all of its dependencies

We can use the following command to remove ifupdown-multi configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ifupdown-multi

Dependencies

ifupdown-multi have the following dependencies:

References

Summary

In this tutorial we learn how to install ifupdown-multi package on Kali Linux using different package management tools: apt, apt-get and aptitude.