Oracle Audio Technologies SunDual 10GbE XFP manual 1shows an example network that uses VLANs

Page 72

FIGURE 8-1shows an example network that uses VLANs.

FIGURE 8-1Example of Servers Supporting Multiple VLANs With Tagging Adapters

The example network has the following features:

The physical LAN network consists of a switch, two servers, and five clients. The LAN is logically organized into three different VLANs, each representing a different IP subnet.

VLAN 1 is an IP subnet consisting of the Main Server, Client 3, and Client 5. This represents an engineering group.

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 heavily used server that needs to be accessed from all VLANs and IP subnets. The server has a Sun x8 Express Dual 10 Gigabit Ethernet Fiber XFP Low Profile 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

62 Sun Dual 10GbE XFP PCI Express Card User’s Guide • May 2010

Image 72
Contents Sun Dual 10GbE XFP PCI Express Card Please Recycle Contents Network Configuration Configuring the nxge Device Driver ParametersConfiguring the Jumbo Frames Feature Configuring Link AggregationConfiguring VLANs Specifications Diagnostic SoftwareIndex Using This Documentation Using Unix CommandsShell Prompts Related Documentation Documentation, Support, and TrainingDocumentation Feedback Sun Dual 10GbE XFP PCI Express Card User’s Guide May Product Overview ComponentsProduct Description Hardware and Software Requirements 1shows the adapterFeatures Declaration of Conformity EMCDate Sun Dual 10GbE XFP PCI Express Card User’s Guide May Installing and Setting Up the Driver To Download the Driver on a Solaris PlatformUncompress the gzipped tar file Unpack the tar fileFor Sparc systems, change to the following directory For x86 systemsSelect the packages you want to install Verify that the nxge driver is installed on the systemTo discover the driver packages run the pkginfo command To remove the driver packages run the pkgrm commandDownloading and Installing the Driver on a Linux Platform Login to your system# ifconfig -a grep eth # modprobe nxge To Remove the Driver From a Linux Platform # ethtool -i eth4 driver nxge version# rpm -e nxge-1.0-1 Installing the Adapter Installing the AdapterTo Install the Adapter Installing the Adapter Sun Dual 10GbE XFP PCI Express Card User’s Guide May Installing an Optical Transceiver Install the optical transceiversTo Install an Optical Transceiver Installing the Adapter Verifying the Hardware Installation To Verify the Hardware InstallationConnect the Ethernet cables Ok show-netsOk cd /pci@7c0/pci@0/pci@8/network@0,1 Ok .propertiesRebooting the System Ok boot -rOk device-end Network Configuration Configuring the Network Host Files# ifconfig nxge0 plumb ip-addressup # grep nxge /etc/pathtoinst# cat /etc/hosts To Set Up a 10-Gigabit Ethernet Port on a Diskless Client Edit the hosts file in the diskless client’s root directoryExport/root/client-name Network Configuration # grep client-name /etc/bootparams Find the root directory of the client systemProceed with the Solaris Operating System installation Ok boot /pci@7c0/pci@0/pci@8/network@0Shut down and halt the client system # shutdown -i0 -g0 -yTo Boot Over the Network on Solaris x86 and Linux Systems # dladm show-devRefer the boot-device-order image Press the F12 key to install the OS from the network Image pxe-mac-addrConfiguring the nxge Device Driver Parameters Nxge Hardware and Software OverviewSetting nxge Driver Parameters on a Solaris Platform Setting Parameters Using the ndd UtilityNoninteractive and Interactive Modes To Specify Parameter Values Using the ndd Utility To Specify Device Instances for the ndd UtilityTo modify a parameter value, use the -setoption Setting Parameters Using the nxge.conf File # ndd /dev/nxge1 name to get/set ?Man prtconf To Set Driver Parameters Using an nxge.conf File Following parameters can be set usingLocate the path names and the associated instance numbers Set the parameters for the nxge devicesSun Dual 10GbE XFP PCI Express Card User’s Guide May Configuring the nxge Device Driver Parameters Class-opt-ipv4-tcp = 100 class-opt-ipv4-udp = Tuning for Maximum Performance on a Solaris Platform Reboot the system# reboot -r Save the nxge.conf fileTo Improve Performance on an AMD CPU Based Sun Platform Set ipipsqueuefanout=1 set ipsqueuesoftring=1Set ddimsixalloclimit=1 Configuring the nxge Device Driver Parameters Setting Parameters on a Linux Platform To Set Parameters Using the ethtool UtilityConfiguring the nxge Device Driver Parameters Following are some common parameters that can be changed # ethtool -C eth4 rx-usecs # ethtool -c eth4 # ethtool -k eth4# /usr/local/bin/nxgeconfig eth4 get # /usr/local/bin/nxgeconfig eth4 get classoptipv4udpTuning for Maximum Performance on a Linux Platform # /usr/local/bin/nxgeconfig eth4 set classoptipv4tcp 0xfe0Net.ipv4.tcpsack = Net.core.netdevmaxbacklog =Set up the sysctl utility # sysctl -p /etc/sysctlnxge.confConfiguring the Jumbo Frames Feature Checking Jumbo Frames ConfigurationsJumbo Frames Overview To Show the Driver Statistics in a Solaris Environment # kstat nxge1 grep rdcpackets# kstat Nxge38001 To Check Layer 2 Configuration Enabling Jumbo Frames in a Solaris EnvironmentSet the maximum MTU for maximum performance To Check Layer 3 Configuration To Enable Jumbo Frames in a Linux EnvironmentEnsure that the nxge software is installed Enabling Jumbo Frames in a Linux Environment# ifconfig eth4 To Show the Driver Statistics in a Linux EnvironmentSun Dual 10GbE XFP PCI Express Card User’s Guide May Configuring Link Aggregation Overview of Link AggregationConfiguring Link Aggregation in a Solaris Environment To Configure Link Aggregation in a Solaris EnvironmentUse the dladm show-aggr-scommand to display statistics # ifconfig aggr33 plumb# ifconfig aggr33 192.168.1.1/24 broadcast + up # dladm show-aggr -sConfiguring Link Aggregation in a Linux Environment To Configure Bonding for Multiple nxge InterfacesConfigure bond0 interface Load the bonding driverConfiguring VLANs Overview of VLANs1shows an example network that uses VLANs Configuring VLANs in a Solaris Environment To Configure Static VLANs Configuring VLANs in a Linux Environment To Configure VLANs in a Linux Environment# ifconfig -a Ensure that the nxge module is loadedConfigure the nxge Vlan eth2 in this example # /sbin/vconfig add eth2# ifconfig eth2.5 xxx.xxx.xx.xxx up Insert the Vlan moduleSpecifications ConnectorsPerformance Specifications Table A-1XFP Connector CharacteristicsPhysical Characteristics Power RequirementsSun Dual 10GbE XFP PCI Express Card User’s Guide May Diagnostic Software SunVTS Diagnostic SoftwareTo Update SunVTS to Recognize the Adapter Updating SunVTS to Recognize the AdapterUsing the SunVTS netlbtest To Use the netlbtestSun Dual 10GbE XFP PCI Express Card User’s Guide May Symbols IndexSun Dual 10GbE XFP PCI Express Card User’s Guide May