The ifup
command is used to activate the specified network interface. It corresponds to the ifdown
command. Generally, the network information can be changed without restarting the system, such as changing the MAC
address, setting a static IP
, etc. The command execution requires root
privileges.
Syntax format: ifup [network interface]
Common parameters:
Example
sudo ifup eth0
This article is reprinted from https://xugaoxiang.com/2022/09/26/linux-cmds-104-ifup/
This site is for inclusion only, and the copyright belongs to the original author.