Sun Microsystems 5945532 Computer Hardware User Manual


 
30 Sun Dual 10GbE SFP+ PCIe ExpressModule User’s Guide August 2008
Configuring VLANs
VLANs can be created according to various criteria, but each VLAN must be
assigned a VLAN tag or VLAN ID (VID). The VID is a 12-bit identifier between 1
and 4094 that identifies a unique VLAN. For each network interface (ixgbe0,
ixgbe1, ixgbe2, and so on), 4094 possible VLAN IDs can be selected for each port.
Tagging an Ethernet frame requires the addition of a tag header to the frame. The
header is inserted immediately following the destination MAC address and the
source MAC address. The tag header consists of two bytes of Ethernet Tag Protocol
identifier (TPID, 0x8100) and two bytes of tag control information (TCI).
FIGURE 6-2
shows the Ethernet tag header format.
FIGURE 6-2 Ethernet Tag Header Format
By default, a single VLAN is configured for every port, which groups all ports into
the same broadcast domain, just as if there were no VLANs at all. This means that
VLAN tagging for the switch port is turned off.
Note If you configure a VLAN virtual device for an Ethernet adapter, all traffic
sent or received by that Ethernet adapter must be in VLAN-tagged format.
To Configure VLANs in a Linux Environment
1. Ensure that the ixgbe module is loaded:
# modprobe ixgbe
TPID (0x8100
3 bits
1
bit
12 bytes
User_priority
CFI
VID
Octet
1
2
3
4