Sun Microsystems Ethernet PCI-X Adapter manual Configuring VLANs, Overview of VLANs

Page 53

C H A P T E R 4

Configuring VLANs

This chapter explains Virtual Local Area Networks (VLANs) in detail and provides configuration instructions and examples. It contains the following sections:

“Overview of VLANs” on page 37

“Configuring VLANs” on page 39

With multiple VLANs on an adapter, a server with a single adapter can have a logical presence on multiple IP subnets. By default, 128 VLANs can be defined for each VLAN-aware adapter on your server. However, this number can be increased by changing the system parameters.

If your network does not require multiple VLANs, you can use the default configuration, in which case no further configuration is necessary.

Note – If you change any of the VLAN configuration parameters, you must reboot the system before the changes take effect. If you make changes and do not reboot, you may experience configuration problems.

Overview of VLANs

VLANs enable you to split your physical LAN into logical subparts, providing an essential tool for increasing the efficiency and flexibility of your network.

VLANs are commonly used to separate groups of network users into manageable broadcast domains, to create logical segmentation of workgroups, and to enforce security policies among each logical segment. Each defined VLAN behaves as its own separate network, with its traffic and broadcasts isolated from the others, increasing the bandwidth efficiency within each logical group.

37

Image 53
Contents Sun Microsystems, Inc Please Recycle Contents Specifications Configuring VLANsIndex Diagnostic SoftwareInstalling the Software Manually Page Accept-jumbo Parameters TablesPage Figures Page European Union USA-FCC Class aPage How This Book Is Organized PrefaceShell Prompts Using Unix CommandsThird-Party Web Sites Accessing Sun DocumentationTypographic Conventions 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 Cd /pci@9,600000/ethernet@1 To Verify the Hardware InstallationOk show-devs Ok boot -r Rebooting the SystemView 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 # ./install Execute the installation scriptCode Example 2-1Typical Install Script Output # mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom/cdrom0Code Example 2-1Typical Install Script Output Reboot the system to load the driver Verifying the Software Installation# 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 # Internet host table Localhost Zardoz Loghost Zardoz-11 # cat /etc/hostsPage Gigabit Ethernet Device Driver Parameters Configuring 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 # ndd -set /dev/ixge parameter value To modify a parameter value, use the -setoption# ndd /dev/ixge parameter # ndd /dev/ixgeMan prtconf Setting Parameters Using the ixge.conf File# ndd -get /dev/ixge \? # 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 ixge0 grep macmtu Use the kstat command to discover link settings# kstat ixge1 grep link 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 SoftwareTable B-1SunVTS Documentation To Update SunVTS to Recognize the AdapterUpdating SunVTS to Recognize the Adapter 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-ROM# /usr/bin/pkginfo SUNWvld SUNWvldx Install the patchCheck to see if vlan drivers are installed on the system # pkgadd -d /Solaris9/i386/Packages Select the packages you want to installBuild 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 Add the ixge interfaces to the /etc/modules.conf file Verify that the driver is loaded# lsmod # dmesg# ethtool eth3 Setting Driver Parameters in a Linux EnvironmentLoad the Sun 10-Gigabit Ethernet PCI-X device driver To Set ixge Parameters in a Linux Environment# rmmod ixge # modprobe ixge option=VAL1, VAL2Valid Range 0-3 0=none, 1=Rx only, 2=Tx only, 3=Rx&Tx Configure ixge vlan eth2 in this example To Configure VLANs in a Linux EnvironmentEnsure that the ixge module is loaded Insert the vlan moduleConfigure bond0 interface To Configure Bonding for Multiple ixge InterfacesModify /etc/modules.conf file by adding these lines Load the bonding driverVlan 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.