Linux ifup Command

How to run ifup Linux Command?

Explanation

ifup COMMAND:

ifup command is used to preconfigure the network interface up. This command line is used to manually start up any interface on a command line. It also helps in transmitting and receiving the data.

SYNTAX :


ifup [options]

OPTIONS:


OptionsDescription
-a All interfaces marked auto.
--force Force configuration
-i Read interface definitions from file
--allow CLASS Only allow interfaces listed in an allow-CLASS

EXAMPLE:


  1. To bring ethernet network interface up using ifup:
    ifup eth0
    The above command will bring up interface eth0.

Ask Questions

Ask Question