Interface activation scripts can be useful for scenarios where special procedures are required to initialize networking.
For example, changing the Media Access Control (MAC) address of a network card before bringing it up can be done with a pre-up script. Such scripts should also be used for configuring bridge interfaces.
The following types of activation scripts can be set:
pre-up scripts are executed before the interface is activated.
up scripts activate the interface.
post-up scripts are executed after the interface is activated.
pre-down scripts are executed before the interface is deactivated.
down scripts deactivate the interface.
post-down scripts are executed after the interface is deactivated.
Published on June 04, 2020
© 2007-2019 BalaSys
Send your comments to support@balasys.hu