Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I bought up a vlan interface by running ifup on my ifcfg-vlan10 file, now when I do ifdown the ip connection goes down, however the device vlan10 is still visible in ifconfig. Why is that the case and how do I get rid of it from ifconfig?

share|improve this question
have you tried to remove the configuration file from /etc/sysconfig/network-scripts ? – Danie Feb 11 '13 at 13:21
no unfortunately it doesn't disappear from ifconfig if I "rm" the file ifcfg-vlan10 in /etc/sysconfig/network-scripts. – Dan Feb 11 '13 at 14:59
Why do you want it to disappear? – Michael Hampton Feb 11 '13 at 15:04
well my understanding is that is shouldn't be there if it's not active. Typically my experience has been if the interface is active (or up) it will display in ifconfig, for any other interfaces you need to run "ifconfig -a" to display the remainder. In any case since I've deleted the dev by running "ip delete dev vlan10" and I've down'ed the interface via ifdown, I can't see how it should be available. – Dan Feb 11 '13 at 16:13

Does vconfig do what you want ?

vconfig rem vlan10

or similar.

share|improve this answer
no, it's still there after running vconfig, although vconfig said: Removed VLAN -:vlan10:-. I just don't get what is ifconfig showing. – Dan Feb 11 '13 at 12:17
running the following shows it is present still: cat /proc/net/vlan/vlan10 – Dan Feb 11 '13 at 12:19

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.