start-networking
Network Interface Management tool similar to ifupdown
Install
- All systems
-
curl cmd.cat/start-networking.sh
- Debian
-
apt-get install ifupdown2
- Ubuntu
-
apt-get install ifupdown2
- Kali Linux
-
apt-get install ifupdown2
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install ifupdown2
- Raspbian
-
apt-get install ifupdown2
- Dockerfile
- dockerfile.run/start-networking
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.