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 ?– DanieCommented 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.– DanCommented Feb 11, 2013 at 14:59
-
Why do you want it to disappear?– Michael HamptonCommented 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.– DanCommented Feb 11, 2013 at 16:13
Add a comment
|