I have successfully followed the instructions for setting up 802.1q VLAN tagging in Fedora. Now I need to make sure that when I reboot the 8021q kernel module is loaded again.

Should I be doing this through /etc/sysconfig/modules as instructed here or should I be doing this through /etc/rc.modules as instructed here? Or is there somewhere else I should be looking?


As for Fedora, both methods will work, there is no guarantee to chose which one is preferable.

For Redhat/Centos, you should use /etc/sysconfig/modules, since when it's documented in Redhat documentation - Persistent Module Loading.

Another way you can use /etc/modules.conf in Redhat/Centos base distro. If you use Debian base distro, use file /etc/modules file instead.

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.