Library Table of Contents Index Previous Next Comments

Second-level vifs

Creating a second-level vif on a single filer

Assumptions made in this procedure  Top

The following procedure assumes that you want to create a second-level vif, called vif_name, on a single filer with two multi-mode vifs, called vif_name1 and vif_name2. The vif_name1vif is composed of two physical interfaces, if1 and if2, and vif_name2 is composed of two physical interfaces, if3 and if4.

By default, IP-based load balancing will be used for the multi-mode vifs created in this procedure.

Prerequisites  Top

You need the following items to create a second-level vif:

Creating a second-level vif on a single filer  Top

To create a second-level vif on a single filer, complete the following steps.

Note
The operation performed using the vif create command is not persistent across reboots unless the command is added to the /etc/rc file.

Step

Action

1

Enter the following commands to create two multi-mode interfaces:

vif create multi -b {rr|mac|ip} vif_name1 if1 if2
vif create multi -b {rr|mac|ip} vif_name2 if3 if4

-b specifies the type of load-balancing method.

  • rr--Round robin
  • mac--MAC-address based
  • ip--IP-address based (default)

    Note
    You must ensure that all interfaces to be included in the vif are configured down. You can use the ifconfig command to configure an interface down.

2

Enter the following command to create a single-mode interface from the multi-mode interfaces:

vif create single vif_name vif_name1 vif_name2

Example of creating a second-level vif on a single filer  Top

The following commands create the second-level vif shown in Example of a second-level vif on a single filer. In this example, IP-based load- balancing is used for the multi-mode vifs.

vif create multi Firstlev1 e0 e1
vif create multi Firstlev2 e2 e3
vif create single Secondlev Firstlev1 Firstlev2

Library Table of Contents Index Previous Next Comments