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?

  • have you tried to remove the configuration file from /etc/sysconfig/network-scripts ?
    – Danie
    Feb 11, 2013 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, 2013 at 14:59
  • Why do you want it to disappear? Feb 11, 2013 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, 2013 at 16:13

1 Answer 1


Does vconfig do what you want ?

vconfig rem vlan10

or similar.

  • 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, 2013 at 12:17
  • running the following shows it is present still: cat /proc/net/vlan/vlan10
    – Dan
    Feb 11, 2013 at 12:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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