Friday, December 30, 2011

How to bring the network interface down in Arch

Coming from Debian/Ubuntu camp, I know that ifup eth0 or ifdown eth0 can be used to bring a network interface down/up. Unfortunately, ifup and ifdown is not available by default on an Arch netinstall. Also, it seems like ifup/ifdown are now in the list of deprecated tools. So, what's the alternative? Use ip command, like to bring down an interface do:
#: ip link set eth0 down
Conversely, if you want to bring up an interface, do:
#: ip link set eth0 up


Tags: Debian, Ubuntu, Arch, interface, ifup, ifdown, replacement, alternative

1 comment:

Anonymous said...

This is an old post, but still does the trick!
So quite a few years have passed...Whatcha up to these days?