# Example 7: 2 teams - 2 adapter FEC team and 1 Adapter with 2 VLANs.


# This example will make 2 teams.  The first will be a Fast EtherChannel team
# comprised of a Copper Gigabit Server Adapter (CE1000.LAN) running at 100M
# along with a PRO/100 (CE100B.LAN).  The only reason to have a gigabit adapter
# join an FEC team is if a switch with a copper gigabit port is not available
# for the copper gigabit adapter as the potential throughput of a single FEC
# team will be  significantly lower then the throughput of a single Gigabit
# adapter linked at 1000 Mb.  The second team will consist of a single PRO/100
# adapter configured with 2 VLANs.

;load TCPIP.NLM.  Must be done before IP is bound.
LOAD TCPIP

; Load the base drivers for the first team.  In order to join an FEC team, the
; Gigabit Server adapter must be running at 100 Mbit.

LOAD CE1000 SLOT=1 FRAME=Ethernet_802.2 NAME=GIG_E82 speed=100 forceduplex=2
LOAD CE1000 SLOT=1 FRAME=Ethernet_II    NAME=GIG_EII speed=100 forceduplex=2

LOAD CE100B SLOT=2 FRAME=Ethernet_802.2 NAME=100M_E82 speed=100 forceduplex=2
LOAD CE100B SLOT=2 FRAME=Ethernet_II    NAME=100M_EII speed=100 forceduplex=2

; Load iANS.LAN for the first team.  The "team" keyword is used to specify
; which team the adapters should join.

LOAD iANS FRAME=ETHERNET_802.2 NAME=FEC_TEAM_E82 TEAM=1
LOAD iANS FRAME=ETHERNET_II    NAME=FEC_TEAM_EII TEAM=1

; Bind iANS to the base driver for each adapter and each frametype.  Bind to
; the name of the base driver instance (assigned when the driver was loaded)
; and specify the team number.

BIND iANS GIG_E82 TEAM=1 PRIMARY
BIND iANS GIG_EII TEAM=1 PRIMARY

BIND iANS 100M_E82 TEAM=1
BIND iANS 100M_EII TEAM=1

; commit for team 1

LOAD iANS COMMIT MODE=FEC TEAM=1

; Bind IPX to both frametypes and bind IP to Ethernet II.

BIND IPX FEC_TEAM_E82 NET=102
BIND IPX FEC_TEAM_EII NET=111
BIND IP FEC_TEAM_EII ADDR=128.181.11.1 MASK=255.255.0.0

; Now load the base drivers for the VLAN adapter.

LOAD CE100B SLOT=6 FRAME=Ethernet_802.2 NAME=vl-base_E82
LOAD CE100B SLOT=6 FRAME=Ethernet_II    NAME=vl-base_EII

; Load iANS.LAN for the second team.  Name each frametype with the "NAME"
; keyword and specify the second team with the "TEAM=2" keyword.

LOAD iANS FRAME=ETHERNET_802.2 VLANID=100 NAME=VLAN_100_E82 TEAM=2
LOAD iANS FRAME=ETHERNET_II    VLANID=100 NAME=VLAN_100_EII TEAM=2

LOAD iANS FRAME=ETHERNET_802.2 VLANID=200 NAME=VLAN_200_E82 TEAM=2
LOAD iANS FRAME=ETHERNET_II    VLANID=200 NAME=VLAN_200_EII TEAM=2


; Bind iANS to the base driver for each adapter and each frametype.  Bind to
; the name of the base driver instance (assigned when the driver was loaded)
; and specify the team number.

bind iANS vl-base_E82 TEAM=2
bind iANS vl-base_EII TEAM=2

; commit for team 2

LOAD iANS COMMIT TEAM=2

; Bind appropriate protocols to each VLAN and frametype.

BIND IPX VLAN_100_E82 NET=102
BIND IPX VLAN_100_EII NET=111
BIND IP VLAN_100_EII ADDR=128.122.22.1 MASK=255.255.0.0

BIND IPX VLAN_200_E82 NET=202
BIND IPX VLAN_200_EII NET=211
BIND IP VLAN_200_EII ADDR=128.222.22.1 MASK=255.255.0.0


# Copyright (c) 2001, Intel Corporation. All rights reserved.
# 
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.