ifquery

high level tools to configure network interfaces

Install

All systems
curl cmd.cat/ifquery.sh
Debian Debian
apt-get install ifupdown
Ubuntu
apt-get install ifupdown
Alpine
apk add ifupdown
image/svg+xml Kali Linux
apt-get install ifupdown
Windows (WSL2)
sudo apt-get update sudo apt-get install ifupdown
Raspbian
apt-get install ifupdown
Docker
docker run cmd.cat/ifquery ifquery powered by Commando

ifupdown

high level tools to configure network interfaces

This package provides the tools ifup and ifdown which may be used to configure (or, respectively, deconfigure) network interfaces based on interface definitions in the file /etc/network/interfaces.

ifupdown2

Network Interface Management tool similar to ifupdown

ifupdown2 is ifupdown re-written in Python. It replaces ifupdown and provides the same user interface as ifupdown for network interface configuration. Like ifupdown, ifupdown2 is a high level tool to configure (or, respectively deconfigure) network interfaces based on interface definitions in /etc/network/interfaces. It is capable of detecting network interface dependencies and comes with several new features which are available as new command options to ifup/ifdown/ifquery commands. It also comes with a new command ifreload to reload interface configuration with minimum disruption. Most commands are also capable of input and output in JSON format. It is backward compatible with ifupdown /etc/network/interfaces format and supports newer simplified format. It also supports interface templates with python-mako for large scale interface deployments. See /usr/share/doc/ifupdown2/README.rst for details about ifupdown2. Examples are available under /usr/share/doc/ifupdown2/examples.