Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Can I configure a network interface (eth0, eth1, etc.) to be down by default, but still be available?

I would like my eth0 interface to be "down" after a fresh boot. With the option of using ifup eth0 from the command line to bring it up later.

share|improve this question
Is this on a system with or without network manager? – Oli Apr 12 '13 at 14:19
ubuntu server 12.04, without network manager – Corey Apr 12 '13 at 15:11

1 Answer 1

up vote 3 down vote accepted

/etc/network/interfaces is repsonsible for getting it up.

Comment out auto eth0 (add a # in front of it) and it will not start on boot.

share|improve this answer
Can I still use "ifup eth0" at the command prompt? – Corey Apr 12 '13 at 15:12
Yes of course! That was the whole idea ;) 1 thing: if this does not work networkmanager might be interfering (but I assume you are using a server and not a server with a desktop) – Rinzwind Apr 12 '13 at 17:22
Thanks, that worked perfectly! – Corey Apr 12 '13 at 17:30
Gratz! and thanks for the upvote – Rinzwind Apr 12 '13 at 17:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.