#
# Copyright(c) 2000-2004 Broadcom Corporation, all rights reserved
#
# Name:         team-sample
#
# Description:  This configuration script creates a SLB team with 3 
#               network interfaces, eth0, eth1 and eth2 with the 
#               team name "Team1". All 3 NICs are primary. One virtual 
#               interface is added to the team with the name "sw0" and 
#               the VLAN is not enabled.
#               This script is part of Broadcom Advanced Server Program
#               driver for Linux distribution.
#
# Updated:      October 20, 2004
#
# Configurable parameters:
#               TEAM_ID: this number uniquely identifies a team. 
#               TEAM_TYPE: 0 = SLB, 1 = Generic Trunking/GEC/FEC, 2= 802.3ad
#                          3 = SLB (Auto-Fallback Disable)
#               TEAM_NAME: ascii name of the team
#               TEAM_PAx_NAME: ascii name of the physical interface x,
#                              where x can be 0 to 7.
#               TEAM_PAx_ROLE: role of the physical interface x
#                              0 = Primary, 1 = Hot-standby. This field
#                              must be 0 for Generic Trunking/GEC/FEC 
#                              and IEEE 802.3ad team.
#               TEAM_VAx_NAME: ascii name of the virtual interface x,
#                              where x can be 0 to 63
#               TEAM_VAx_VLAN: 802.1p VLAN ID of the virtual interface x.
#                              For untagged virtual interface, i.e. without
#                              VLAN enable, set it to 0. The valid VLAN ID
#                              can be 0 to 4094.
#               TEAM_VAx_IP:   IP address of the virtual interface x. The 
#                              format should be aa.bb.cc.dd.
#               TEAM_VAx_NETMASK: Subnet mask of the virtual interface x.
#                              The format should mm.nn.oo.pp.
#               TEAM_VAx_BROADCAST: Optional broadcast address of the virtual
#                              interface x. The format should qq.rr.ss.tt.
#               TEAM_VAx_GW:   Optional default gateway. The format should
#                              be ww.xx.yy.zz. Usually one default gateway
#                              is specified for the system and it should
#                              be reacheable from one network interface.
#
#               Probe Packets: See bottom of this file for parameters

TEAM_ID=0
TEAM_TYPE=0
TEAM_NAME=TeamSample

# 1st physical interface in the team
TEAM_PA0_NAME=eth0 
TEAM_PA0_ROLE=0

# 2nd physical interface in the team
#TEAM_PA1_NAME=eth1
#TEAM_PA1_ROLE=0

# 3rd physical interface in the team
#TEAM_PA2_NAME=eth2
#TEAM_PA2_ROLE=0

# 1st virtual interface in the team
TEAM_VA0_NAME=sw0
TEAM_VA0_VLAN=0
TEAM_VA0_IP=192.168.1.160
TEAM_VA0_NETMASK=255.255.255.0
# Optional broadcast address to override the default
TEAM_VA0_BROADCAST=

# Optional default gateway 
# One default gateway is usually specified for the system and it should be
# reacheable from one network interface
TEAM_VA0_GW=

# Optional probe packet parameters. Probe packets is supported for SLB 
# teams only.

# Set to 1 to enable the probe packets feature. Set to 0 or remove to 
# disable probe packets
PROBE_PACKETS_ENABLE=1

# These are the probe target ip addresses. They must be unique on the subnet.
# The first probe target IP address must be specified if probe packets is used, 
# the other probe target ip addresses are optional
PROBE_TARGET_IP0=192.168.1.1
PROBE_TARGET_IP1=
PROBE_TARGET_IP2=
PROBE_TARGET_IP3=

# These are the NIC IP addresses, they must be unique on the subnet
TEAM_PA0_IP=192.168.1.40
#TEAM_PA1_IP=192.168.1.41
#TEAM_PA2_IP=192.168.1.42
#TEAM_PA3_IP=192.168.1.43
#TEAM_PA4_IP=192.168.1.44
#TEAM_PA5_IP=192.168.1.45
#TEAM_PA6_IP=192.168.1.46
#TEAM_PA7_IP=192.168.1.47

# This is the first nic ip address. The nics are assigned consecutive
# ip addresses from this base. All nic ip addresses must be unique on the
# subnet (obsolete).
NIC_BASE_IP=192.168.1.40
# This is the delay between probes in seconds. The minimum delay is 1 second.
# This parameter must be specified if probe packets is used
PROBE_DELAY=5
# This the number of consecutively missed probe replies before a failover.
# For example, the current setting defines a latency of 25 seconds 
# ( 5 x 5 seconds ).
# This parameter must be specified if probe packets is used
PROBE_LATENCY=5

