6–Configuring NIC Functionality in the Converged Network Adapter
Configuring the NIC in a Linux Environment
FE0254601-00 A 6-53
Loading the VLAN 802.1q Kernel Module
In most RHEL 5 environments, the VLAN 802.1q kernel module is loaded by
default. VLAN interfaces cannot be created over the QLogic adapter NIC function
without the VLAN 802.1q kernel module.
To determine whether the VLAN 802.1q kernel module is loaded, issue the
following command:
# lsmod | grep 8021q
If the command produces no output, the VLAN 802.1q Kernel Module is not
loaded. If the output is similar to Figure 6-35, the VLAN 802.1q kernel module is
already loaded.
Figure 6-35. Verifying that the VLAN 802.1q Kernel Module Is Loaded
To load the VLAN 802.1q kernel module, issue the following command:
# modprobe -v 8021q
If the command produces no output, the VLAN 802.1q Kernel Module is
already loaded. If the output contains the string insmod
/lib/modules/2.6.18-164.el5/kernel/net/8021q/8021q.ko,
the VLAN 802.1q kernel module has already been loaded.
Unloading the VLAN 802.1q Kernel Module
To unload the VLAN 802.1q Kernel Module, issue the following command:
# modprobe -r 8021q
To verify that the VLAN 802.1q kernel module has been unloaded, refer to
“Loading the VLAN 802.1q Kernel Module” on page 6-53.
To display VLAN 802.1q kernel module version information, issue the following
command:
# modinfo 8021q
Configuring a VLAN
NOTE:
Creating, modifying, or dissolving VLAN interfaces can reset the network
connection. Do not configure VLAN interfaces on production systems.