User About 1 month ago 12 views

cloudlin down eth1 - set a network interface

Is it possible to set a network interface (like eth0, eth1, …) to remain down by default while still allowing it to be activated later?

I want my eth0 interface to start in the “down” state after booting up. I would like the ability to use ifup eth0 from the command line to enable it when needed.

1 Answer
Staff one About 1 month ago

Hello Dear Mer,

The file /etc/network/interfaces manages the network interface settings.

To prevent eth0 from starting at boot, simply comment it out by adding a # in front of the line.

Regards

© Copyright 2024 VPS Provider.
Take off with us!