FILE NAME: 	vlan-1.8.0d-14.src.rpm

TITLE:     	HP Tested and Approved Linux 802.1q VLAN Driver

VERSION:   	1.8.0d-14

LANGUAGE:  	English

CATEGORY:  	Software Solutions

DIVISIONS: 	Enterprise and Mainstream Servers

PRODUCTS AFFECTED:
		HP NC150T 4-Port Gigabit Combo Switch Adapter (bcm5700)
                HP NC310F Gigabit Server Adapter  (e1000)
		HP NC3120 Fast Ethernet Adapter   (e100)
		HP NC3121 Fast Ethernet Adapter   (e100)
		HP NC3122 Fast Ethernet Adapter   (e100)
		HP NC3123 Fast Ethernet Adapter   (e100)
		HP NC3131 Fast Ethernet Adapter   (e100)
		HP NC3132 Fast Ethernet Adapter   (e100)
		HP NC3133 Fast Ethernet Adapter   (e100)
		HP NC3134 Fast Ethernet Adapter   (e100)
		HP NC3135 Fast Ethernet Adapter   (e100)
		HP NC3163 Fast Ethernet Adapter   (e100)
		HP NC6132 Gigabit Server Adapter  (e1000)
		HP NC6133 Gigabit Server Adapter  (e1000)
		HP NC6134 Gigabit Server Adapter  (e1000)
		HP NC6136 Gigabit Server Adapter  (e1000)
		HP NC6170 Gigabit Server Adapter  (e1000)
		HP NC7131 Gigabit Server Adapter  (e1000)
		HP NC7132 Gigabit Server Adapter  (e1000)
		HP NC7170 Gigabit Server Adapter  (e1000)
		HP NC1020 Fast Ethernet Adapter   (bcm5700)
		HP NC6770 Gigabit Server Adapter  (bcm5700)
		HP NC7760 Gigabit Server Adapter  (bcm5700)
		HP NC7761 Gigabit Server Adapter  (bcm5700)
		HP NC7770 Gigabit Server Adapter  (bcm5700)
		HP NC7771 Gigabit Server Adapter  (bcm5700)
		HP NC7780 Gigabit Server Adapter  (bcm5700)
		HP NC7781 Gigabit Server Adapter  (bcm5700)
		HP NC7782 Gigabit Server Adapter  (bcm5700)

		                   
OPERATING SYSTEM:
                Red Hat Enterprise Linux 3 for AMD64
                     - Update 2
                Red Hat Enterprise Linux 3 for x86
                     - Update 2
                Red Hat Enterprise Linux 2.1
                     - Update 4
                Red Hat Linux 8.0 Professional
                     - Errata 2.4.20-28
                Red Hat Linux 7.3 Professional
                     - Errata 2.4.20-28
                Red Hat Linux 7.2 Professional
                     - Errata 2.4.20-28
                SUSE LINUX Enterprise Server 9 for AMD64
                     - Initial release
                SUSE LINUX Enterprise Server 9 for x86
                     - Initial release
                SUSE LINUX Enterprise Server 8 for AMD64
                     - SP3 + errata kernel 2.4.21-207
                SUSE LINUX Enterprise Server 8 for x86
                     - SP3 + errata kernel 2.4.21-198
                SUSE LINUX Enterprise Server 7 for x86
                     - Errata kernel 2.4.18-290


NOTE: HP highly recommends to our customers that are
      installing Red Hat Enterprise Linux 3 on ProLiant
      servers to also install Update 1 (2.4.21-9.EL kernel)
      or greater.  More details are located
      here: http://rhn.redhat.com/errata/RHSA-2004-017.html. 

NOTE: For Red Hat Linux 7.2 Professional BigMem installations,
      the system needs to be pre-configured before setting up
      the kernel sources and building the NIC and intermediate
      drivers. Refer to the Customer Advisory EU030812_CW01
      for details on how to pre-configure the system. To access
      the customer advisory, visit www.hp.com and search for
      EU030812_CW01.

PREREQUISITES:	
		Pentium-based computer
		256MB RAM minimum
		Latest HP system ROM
		bcm5700 driver version
		e100 driver version
		e1000 driver version

		NOTE: Visit the following URL to upgrade the ROM
                      http://h18000.www1.hp.com/support/files

EFFECTIVE DATE: 07/29/2004

SUPERSEDES:     vlan-1.8.0-14.src.rpm

DESCRIPTION:    This RPM contains the vlan driver, which allows you 
                to use virtual LANs with ProLiant NICs running under 
                Linux.

ENHANCEMENTS/FIXES:
		- After the reboot, vlan configures if automated 
		using 'vlan.conf'
		- This file is made more general for both 2.4 kernels and
		2.6 kernel
		- vlan.txt has "ifenslave" in correct place
		- Supports 2.6 kernel
		- The VLAN Configuration (teamed using Bonding) section of
		  vlan.txt does not include the "ifenslave" instructions.

Table of Contents
=================
  Introduction
  Packaging
  Kernel Source Code Setup
  Installing the RPM Package
  VLAN Configuration
  Driver Messages
  Statistics
  Limitations
  Uninstalling the RPM Package
		       
Introduction
============
This package provides a driver module which implements the 802.1q 
VLAN implementation and the vconfig utility used to configure VLANs. 
After installation,additional information can be found in the manual 
page for vconfig, and in the vlan.txt file located at:

For Red Hat: /usr/share/doc/vlan-1.8.0/vlan.txt
For SUSE SLES 7: /usr/share/doc/packages/vlan/vlan.txt
For UnitedLinux 1.0: /usr/share/doc/packages/vlan/vlan.txt
For SUSE SLES 9: /usr/share/doc/packages/vlan/vlan.txt

The References section in vlan.txt provides many useful articles on
VLANs and possible configurations of VLANs.

8021q.o is a module in 2.4 kernel and 8021q.ko is a module in 2.6 kernel.

Packaging
=========
The driver is released in source RPM format. The file name for the
package is vlan-<version>.src.rpm and is dependent on the kernel
source code.


Kernel Source Code Setup
========================
The Linux VLAN driver requires the presence of the kernel source code
and configuring the kernel source before building the VLAN driver. The
following steps need to be done once for each kernel that is booted. For
example, if the current kernel is UP (uni-processor) and an SMP
(symmetrical-multi-processor) kernel is booted, these steps must be 
performed again to configure the kernel source for SMP before building
the VLAN driver for the SMP kernel.

	Red Hat installation:
	If the /usr/src/linux-<kernel-version> directory does not exist
	install the kernel source code per Red Hat instructions.  Once
	installed, follow the commands listed below to configure the
	kernel source to match the running kernel.

	# cd /usr/src/linux-<kernel_version>
	# make mrproper
	# make -e KERNELRELEASE=`uname -r` oldconfig
	# make -e KERNELRELEASE=`uname -r` dep

	UnitedLinux 1.0 Installation:
	If the /usr/src/linux-<kernel-version> directory does not exist
	install the kernel source code per SUSE instructions.
	Once installed, follow the commands listed below to setup
	the kernel source tree.

	# cd /usr/src/linux-<kernel_version>.SuSE
	# make mrproper
	# make cloneconfig
	# make dep

	SUSE SLES 7 Installation:
	If the /usr/src/linux-<kernel-version> directory does not exist
	install the kernel source code per SUSE instructions.
	Once installed, follow the commands listed below to setup
	the kernel source tree.

	# cd /usr/src/linux-<kernel_version>.SuSE
	# cp /boot/vmlinuz.config .config
	# cp /boot/vmlinuz.version.h include/linux/version.h
	# cp /boot/vmlinuz.autoconf.h include/linux/autoconf.h
	# make oldconfig
	# make dep

	SUSE SLES 9 Installation:
	If the /usr/src/linux-<kernel-version> directory does not exist,
	install the kernel source code per SUSE instructions.
	Once installed, follow the commands listed below to set up
	the kernel source tree.

	# cd /usr/src/linux-<kernel_version>
	# make mrproper
	# make cloneconfig

Installing the RPM Package
=============================
1. Check for the existence of a current version of the vlan package as
   follows:

        # rpm -q vlan

        If an old version of the package exists the RPM package should be
        removed.

        # rpm -e vlan

        Then remove the loaded vlan module.

        # rmmod <module>

        Verify that the old vlan package has been removed as follows:

        # rpm -q vlan

2. Install the RPM source package.

	# rpm -ivh vlan-<version>.src.rpm

3. Change to the following directory and build the binary RPM for the
   VLAN driver.

   Red Hat

	# cd /usr/src/redhat
	# rpmbuild -bb SPECS/vlan.spec

   SUSE SLES 7 and UnitedLinux 1.0 Installations:

	NOTE: On UnitedLinux 1.0 installations, the g++ compiler
	does not get installed by default. Since the vlan package
	depends on the g++ compiler, install the 
	gcc-c++-<version> rpm package before building the vlan binary
	rpm package.

        # cd /usr/src/packages
        # rpm -bb SPECS/vlan.spec


   SUSE SLES 9 Installations:

	# cd /usr/src/packages
	# rpmbuild -bb SPECS/vlan.spec

   NOTE: If an error is encountered while building the driver or this 
         directory does not exist, refer to the "Kernel Source Code
         Setup" section of this document.

4. Install the new binary RPM package using the following command. Do not 
   use the U (Upgrade) flag in the RPM command below - previous vlan drivers
   must be removed as described in step one above before installing this
   version.

   NOTE: To Preserve the current VLAN configuration ( if applicable ),
	the user is advised to backup the /etc/vlan.conf file before
	installing the new package and restore the file after the
	installation finishes. Refer to the section on "Startup
	Scripts & VLAN Automation" section in vlan.txt for more
	details.

	# rpm -ivh RPMS/i386/vlan-<version>.i386.rpm --force

    The "force" rpm option is required since the VLAN driver is part of
    the kernel rpm.

4. The vlan driver is installed in the 
	/lib/modules/<kernel_version>/kernel/net/8021q directory.

VLAN Configuration
==================
   The VLAN driver can be configured either as a stand-alone adapter or
   with a team of adapters using the Bonding driver.

   Refer to the "VLAN Configuration (stand-alone adapters)"
   section in vlan.txt for details on how to setup VLANs with stand
   alone adapters.

   Refer to the "VLAN configuration (teamed with Bonding driver)"
   section in vlan.txt for details on how to setup VLANs in a teamed 
   environment using the Bonding driver.


Driver Messages
===============
The following messages will appear on the console when the 8021q.o
module loads:

      802.1Q VLAN Support V1.8 Ben Greear (greear@candelatech.com)

If the user attempts to configure VLANs without loading the module, 
the following messages will appear on the console after which
the module will automatically get loaded.

   WARNING: could not open /proc/net/vlan/config. Maybe you need to load 
            the 8021q module, or you are not using PROCFS
            802.1Q VLAN Support V1.8 Ben Greear (greear@candelatech.com)
            set name-type for VLAN subsystem. Should be visible in 
            /proc/net/vlan/config


Statistics
==========
Refer to "Verification of VLAN Configuration" in vlan.txt for
detailed information regarding statistics and configuration information
of VLANs.


Limitations
===========
If jumbo frames are used, the network interface (ethX) must have an MTU
equal to the largest MTU of the VLANs on that interface. The VLAN driver 
does not automatically increase the MTU of the underlying network interface.

The "Limitations" Section of vlan.txt provides information on the
current limitations and some possible configuration changes that can
be done to avoid some limitations.

Uninstalling the RPM Package
============================
 
The following command will uninstall the vlan RPM.
 
     # rpm -e vlan

Copyright 2002, 2003, 2004  Hewlett-Packard Development Company, L.P.
Product names mentioned herein may be trademarks and/or registered
trademarks of their respective companies
