Sun Microsystems Ethernet PCI-X Adapter manual Configuring VLANs

Page 55

VLAN 2 includes the Main Server, Clients 1 and 2 by means of a shared media segment, and Client 5. This is a software development group.

VLAN 3 includes the Main Server, the Accounting Server and Client 4. This is an accounting group.

The Main Server is a high-use server that needs to be accessed from all VLANs and IP subnets. The server has a Sun 10-Gigabit Ethernet adapter installed. All three IP subnets are accessed by means of the single physical adapter interface. The server is attached to one of the switch’s Gigabit Ethernet ports, which is configured for VLANs 1, 2, and 3. Both the adapter and the connected switch port have tagging turned on. Because of the tagging VLAN capabilities of both devices, the sever is able to communicate on all three IP subnets in this network, but continues to maintain broadcast separation between all of them. The following list describes the components of this network:

The Accounting Server is available to VLAN 3 only. It is isolated from all traffic on VLANs 1 and 2. The switch port connected to the server has tagging turned off.

Clients 1 and 2 are attached to a shared media hub that is then connected to the switch. They belong to VLAN 2 only, and are logically in the same IP subnet as the Main Server and Client 5. The switch port connected to this segment has tagging turned off.

Client 3 is a member of VLAN 1, and can communicate only with the Main Server and Client 5. Tagging is not enabled on Client 3’s switch port.

Client 4 is a member of VLAN 3, and can communicate only with the servers. Tagging is not enabled on Client 4’s switch port.

Client 5 is a member of both VLANs 1 and 2, and has a Sun 10-Gigabit Ethernet adapter installed. It is connected to switch port 10. Both the adapter and the switch port are configured for VLANs 1 and 2 and have tagging enabled.

VLAN tagging is only required to be enabled on switch ports that create trunk links to other VLAN-aware Ethernet switches, or on ports connected to tag-capable end- stations, such as servers or workstations with VLAN-aware adapters.

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 (ixge0, ixge1, ixge2 and so on), 4094 possible VLAN IDs can be selected. Only 512 unique IDs can be used simultaneously. Because IP subnets are commonly used, it is best to use IP

Chapter 4 Configuring VLANs 39

Image 55
Contents Sun Microsystems, Inc Please Recycle Contents Specifications Configuring VLANsInstalling the Software Manually Diagnostic SoftwareIndex Page Accept-jumbo Parameters TablesPage Figures Page European Union USA-FCC Class aPage How This Book Is Organized PrefaceShell Prompts Using Unix CommandsTypographic Conventions Accessing Sun DocumentationThird-Party Web Sites Sun Welcomes Your Comments Contacting Sun Technical SupportProduct Description Product Overview1Hardware and Software Requirements for Sun Sparc Servers Hardware and Software Requirements2Sun 10-Gigabit Ethernet PCI-X Adapter Fiber Optic Channels FeaturesPage Installing the Adapter Without Dynamic Reconfiguration Installing the AdapterInsert the adapter into the PCI opening To Install the AdapterTo Install the Optical Transceiver Page Ok show-devs To Verify the Hardware InstallationCd /pci@9,600000/ethernet@1 Ok cd /pci@9,600000/ethernet@1 Ok .properties Rebooting the SystemOk boot -r View the .properties file for a list of device propertiesUsing the Installation Script Installing the Adapter With Dynamic ReconfigurationTo Install the Software Using the Installation Script # mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom/cdrom0 Execute the installation script# ./install Code Example 2-1Typical Install Script OutputCode Example 2-1Typical Install Script Output # modinfo grep Ixge Verifying the Software InstallationReboot the system to load the driver # reboot -r# ifconfig ixge0 plumb ip-addressup Configuring the Network Host Files# grep ixge /etc/pathtoinst /pci@9,600000/ethernet@1 0 ixge Ifconfig ethnumber down ifconfig ethnumber up # Internet host table Localhost Zardoz Loghost Zardoz-11 # cat /etc/hostsPage Gigabit Ethernet Device Driver Parameters Configuring Driver ParametersFlow Control Parameters Gigabit Ethernet Driver Parameter Values and Definitions1ixge Driver Parameter, Status, and Descriptions 2Read-Write Flow Control Keyword Descriptions Interrupt Parameters3RX Blanking Register for Alias Read Set the instance to accept jumbo frames Jumbo FramesPlumb the interface up To Configure Jumbo Frames in a Linux Environment Setting ixge Driver ParametersSetting Parameters Using the ndd Utility Use the instance number to select the device To Specify Device Instances for the ndd Utility# ndd -set /dev/ixge instance number # ndd /dev/ixge To modify a parameter value, use the -setoption# ndd -set /dev/ixge parameter value # ndd /dev/ixge parameter# ndd -get /dev/ixge \? Setting Parameters Using the ixge.conf FileMan prtconf # grep ixge /etc/driveraliases ixge pci8086,1048.108e.7036 To Set Driver Parameters Using a ixge.conf FileSave the ixge.conf file Set the parameters for the above devices5Read-Only ixge Device Capabilities GigabitEthernet Driver Operating Statistics6Receive and Transmit Parameters 6describes the kstat ixge1 receive and transmit parametersTxmsgdupfail # kstat ixge1 Code Example 3-1Output from kstat CommandCode Example 3-1Output from kstat Command # kstat ixge1 grep cap Use the kstat command to discover device capabilities# kstat ixge1 grep link Use the kstat command to discover link settings# kstat ixge0 grep macmtu Page Overview of VLANs Configuring VLANs1shows an example network that uses VLANs Configuring VLANs 2Ethernet Tag Header Format To Configure Static VLANs# ifconfig -a # ifconfig ixge123000 plumb up # ifconfig ixge4000 plumb upPage Table A-1Performance Specifications SpecificationsTable A-2Physical Characteristics Physical CharacteristicsSunVTS Diagnostic Software Diagnostic SoftwareUpdating SunVTS to Recognize the Adapter To Update SunVTS to Recognize the AdapterTable B-1SunVTS Documentation To Use the netlbtest Using the SunVTS netlbtestPage To Install the Driver Software Manually Installing the Software Manually# showrev -p grep Table C-1Files and Directories on the CD-ROMCheck to see if vlan drivers are installed on the system Install the patch# /usr/bin/pkginfo SUNWvld SUNWvldx # pkgadd -d /Solaris9/i386/Packages Select the packages you want to installTo Set Up the Driver in a Linux Platform Setting Up the Driver in a Linux PlatformBuild the 10-Gigabit Ethernet driver Change to the rpm directory Build the man pages optionalLoad ixge driver for all instances # dmesg Verify that the driver is loadedAdd the ixge interfaces to the /etc/modules.conf file # lsmod# ethtool eth3 Setting Driver Parameters in a Linux Environment# modprobe ixge option=VAL1, VAL2 To Set ixge Parameters in a Linux EnvironmentLoad the Sun 10-Gigabit Ethernet PCI-X device driver # rmmod ixgeValid Range 0-3 0=none, 1=Rx only, 2=Tx only, 3=Rx&Tx Insert the vlan module To Configure VLANs in a Linux EnvironmentConfigure ixge vlan eth2 in this example Ensure that the ixge module is loadedLoad the bonding driver To Configure Bonding for Multiple ixge InterfacesConfigure bond0 interface Modify /etc/modules.conf file by adding these linesVlan ID Index

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.