Sun Microsystems Ethernet PCI-X Adapter To Configure Static VLANs, 2Ethernet Tag Header Format

Page 56
FIGURE 4-2

subnets when setting up a VLAN network interface. This means that each VID assigned to a VLAN interface of a physical network interface will belong to different subnets.

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).

shows the Ethernet Tag Header format.

 

 

 

 

 

 

 

 

Octet

 

 

 

TPID (0x8100

 

1

 

 

 

 

2

 

 

 

 

 

 

 

 

 

 

3 bits

1

12 bytes

 

3

 

 

 

 

bit

 

 

 

4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

User_

 

priority

 

 

 

 

 

 

 

CFI

VID

 

 

FIGURE 4-2Ethernet 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, VLAN tagging for the switch port turned off.

Note – If you configure a VLAN virtual device for an adapter, all traffic sent or received by that adapter must be in VLAN-tagged format.

To Configure Static VLANs

1.Create one hostname6.ixgenumber file for each VLAN that will be configured for each adapter on the server.

Use the following naming format, which includes both the VID and the physical point of attachment (PPA):

VLAN logical PPA = 1000 * VID + Device PPA ixge123000 = 1000*123 + ixge

This format limits the maximum number of PPAs (instances) you can configure to 1000 in the /etc/path_to_inst file.

For example, on a server with the Sun 10-Gigabit Ethernet adapter having an instance of 0, belonging to a member of two VLANs, with VID 123 and 224, you would use ixge123000 and ixge224000, respectively, as the two VLAN PPAs.

40 Sun 10-Gigabit Ethernet PCI-X Adapter Installation and User’s Guide • December 2005

Image 56
Contents Sun Microsystems, Inc Please Recycle Contents Configuring VLANs SpecificationsIndex Diagnostic SoftwareInstalling the Software Manually Page Tables Accept-jumbo ParametersPage Figures Page USA-FCC Class a European UnionPage Preface How This Book Is OrganizedUsing Unix Commands Shell PromptsThird-Party Web Sites Accessing Sun DocumentationTypographic Conventions Contacting Sun Technical Support Sun Welcomes Your CommentsProduct Overview Product DescriptionHardware and Software Requirements 1Hardware and Software Requirements for Sun Sparc ServersFeatures 2Sun 10-Gigabit Ethernet PCI-X Adapter Fiber Optic ChannelsPage Installing the Adapter Installing the Adapter Without Dynamic ReconfigurationTo Install the Adapter Insert the adapter into the PCI openingTo Install the Optical Transceiver Page Cd /pci@9,600000/ethernet@1 To Verify the Hardware InstallationOk show-devs Rebooting the System Ok boot -rView the .properties file for a list of device properties Ok cd /pci@9,600000/ethernet@1 Ok .propertiesTo Install the Software Using the Installation Script Installing the Adapter With Dynamic ReconfigurationUsing the Installation Script Execute the installation script # ./installCode Example 2-1Typical Install Script Output # mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom/cdrom0Code Example 2-1Typical Install Script Output Verifying the Software Installation Reboot the system to load the driver# reboot -r # modinfo grep Ixge# grep ixge /etc/pathtoinst /pci@9,600000/ethernet@1 0 ixge Configuring the Network Host Files# ifconfig ixge0 plumb ip-addressup Ifconfig ethnumber down ifconfig ethnumber up # cat /etc/hosts # Internet host table Localhost Zardoz Loghost Zardoz-11Page Configuring Driver Parameters Gigabit Ethernet Device Driver Parameters1ixge Driver Parameter, Status, and Descriptions Gigabit Ethernet Driver Parameter Values and DefinitionsFlow Control Parameters 3RX Blanking Register for Alias Read Interrupt Parameters2Read-Write Flow Control Keyword Descriptions Plumb the interface up Jumbo FramesSet the instance to accept jumbo frames Setting Parameters Using the ndd Utility Setting ixge Driver ParametersTo Configure Jumbo Frames in a Linux Environment # ndd -set /dev/ixge instance number To Specify Device Instances for the ndd UtilityUse the instance number to select the device To modify a parameter value, use the -setoption # ndd -set /dev/ixge parameter value# ndd /dev/ixge parameter # ndd /dev/ixgeMan prtconf Setting Parameters Using the ixge.conf File# ndd -get /dev/ixge \? To Set Driver Parameters Using a ixge.conf File # grep ixge /etc/driveraliases ixge pci8086,1048.108e.7036Set the parameters for the above devices Save the ixge.conf fileGigabitEthernet Driver Operating Statistics 5Read-Only ixge Device Capabilities6describes the kstat ixge1 receive and transmit parameters 6Receive and Transmit ParametersTxmsgdupfail Code Example 3-1Output from kstat Command # kstat ixge1Code Example 3-1Output from kstat Command Use the kstat command to discover device capabilities # kstat ixge1 grep cap# kstat ixge0 grep macmtu Use the kstat command to discover link settings# kstat ixge1 grep link Page Configuring VLANs Overview of VLANs1shows an example network that uses VLANs Configuring VLANs To Configure Static VLANs 2Ethernet Tag Header Format# ifconfig ixge123000 plumb up # ifconfig ixge4000 plumb up # ifconfig -aPage Specifications Table A-1Performance SpecificationsPhysical Characteristics Table A-2Physical CharacteristicsDiagnostic Software SunVTS Diagnostic SoftwareTable B-1SunVTS Documentation To Update SunVTS to Recognize the AdapterUpdating SunVTS to Recognize the Adapter Using the SunVTS netlbtest To Use the netlbtestPage Installing the Software Manually To Install the Driver Software ManuallyTable C-1Files and Directories on the CD-ROM # showrev -p grep# /usr/bin/pkginfo SUNWvld SUNWvldx Install the patchCheck to see if vlan drivers are installed on the system Select the packages you want to install # pkgadd -d /Solaris9/i386/PackagesBuild the 10-Gigabit Ethernet driver Setting Up the Driver in a Linux PlatformTo Set Up the Driver in a Linux Platform Load ixge driver for all instances Build the man pages optionalChange to the rpm directory Verify that the driver is loaded Add the ixge interfaces to the /etc/modules.conf file# lsmod # dmesgSetting Driver Parameters in a Linux Environment # ethtool eth3To Set ixge Parameters in a Linux Environment Load the Sun 10-Gigabit Ethernet PCI-X device driver# rmmod ixge # modprobe ixge option=VAL1, VAL2Valid Range 0-3 0=none, 1=Rx only, 2=Tx only, 3=Rx&Tx To Configure VLANs in a Linux Environment Configure ixge vlan eth2 in this exampleEnsure that the ixge module is loaded Insert the vlan moduleTo Configure Bonding for Multiple ixge Interfaces Configure bond0 interfaceModify /etc/modules.conf file by adding these lines Load the bonding driverIndex Vlan ID

Ethernet PCI-X Adapter specifications

The Sun Microsystems Ethernet PCI-X Adapter stands as a pivotal component for enhancing network performance in various computing environments. Designed to cater to the demanding needs of enterprise networks, this adapter provides a seamless integration of high-speed connectivity with robust hardware design, making it a preferred choice for businesses relying on Sun systems.

One of the standout features of the Sun Ethernet PCI-X Adapter is its adherence to the PCI-X interface, which allows for faster data transfer rates compared to traditional PCI. With speeds of up to 1 Gbps, this adapter supports larger data throughput, significantly improving the efficiency of data-intensive applications. The PCI-X standard, operating at an impressive 64-bit bus, not only enhances performance but also ensures backward compatibility with earlier PCI standards, offering flexibility in deployment.

In terms of network connectivity, the adapter supports both 10/100/1000 Mbps Ethernet speeds, allowing it to automatically negotiate the best speed based on network conditions. This feature is particularly advantageous for enterprises with diverse networking equipment, enabling seamless integration without compromising on performance.

The Sun Microsystems Ethernet PCI-X Adapter comes equipped with advanced technologies such as Jumbo Frames support. This allows for the transmission of larger packets over the network, which is beneficial for applications that require the movement of substantial amounts of data, like video streaming or large file transfers. By facilitating Jumbo Frames, the adapter minimizes CPU load and enhances overall throughput, leading to better resource utilization.

Another noteworthy characteristic of this adapter is its robust error checking and correction capabilities. This ensures data integrity during transmission, reducing the likelihood of packet loss and improving the reliability of network communications. Coupled with support for multiple protocols, including TCP/IP, the Ethernet PCI-X Adapter provides versatility, adapting to various network configurations and applications.

Furthermore, the adapter boasts a high-performance driver suite, which enhances its compatibility across different operating systems, ensuring smooth integration into existing network environments. The flexibility and scalability of this adapter make it an ideal solution for current and future network demands.

In conclusion, the Sun Microsystems Ethernet PCI-X Adapter delivers exceptional performance, reliability, and versatility, making it an essential asset for enterprises seeking to enhance their networking capabilities. Whether for upgrading existing infrastructure or supporting new applications, this adapter stands out as a dependable choice for high-speed connectivity in the constantly evolving technology landscape.