Table of ContentsLibraryView in Frames

Creating a vFiler unit in a nondefault IPspace

If you are a SSP, you might have different clients that require complete network isolation. Creating vFiler units in separate, or nondefault, IPspaces ensures that the data on these vFiler units is not routed to other vFiler units or the host storage system in other IPspaces.

Considerations

When creating a vFiler unit in a nondefault IPspace, you need to meet the same prerequisites and follow the same guidelines as you would when creating a vFiler unit in the default IPspace.

Steps

  1. Create an IPspace, as described in the IPspace creation procedure.
  2. Assign an interface to be used by the vFiler unit in the newly created IPspace, as described in the interface assignment procedure.
  3. Verify that each interface to be used by the vFiler unit is ready to be configured, as described in the network interface readiness procedure.
  4. To create the vFiler unit, enter the following command:vfiler create vfiler_name -n -s ipspace -i ip_address [ -i ip_address ] ... path [ path ] ...

    ipspace is the IPspace in which the vFiler unit IP addresses reside.

    ip_address is an IP address.

    path is the complete path name to an existing volume or qtree. The first path name is the storage unit that contains the /etc directory, which contains the configuration information about the vFiler unit.

    Note: Ensure you use the -n option of the vfiler create command, and do not use the setup command to specify IP addresses for interfaces assigned to different IPspaces. The setup command (which runs automatically after the vfiler create command unless you use the -n option) does not allow duplicate IP addresses even if they are for interfaces in different IPspaces.

    Example

    The following command creates a vFiler unit named vFiler1 in the IPspace named ipspace1, using the IP address 123.123.123.123 and the /vol/vol1 volume as resources:vfiler create vfiler1 -n -s ipspace1 -i 123.123.123.123 /vol/vol1

  5. Perform one of the following steps:
    For each IP address used by the vFiler that is... Go to...
    An IP alias Step 6.
    A base IP address Step 7.
  6. Enter the following command to create the IP alias: ifconfig interface alias address

    If the interface to which you are assigning the alias is currently down, go to Step 7. Otherwise go to Step 8.

  7. Use the ifconfig command to configure the interface as Up with the IP address you specified in Step 4.
  8. To modify the routing table for the vFiler unit, enter the following command:vfiler run vfiler_name route add [host | net] [prefixlen prefixlen] destination gateway metric

    Example

    The following example adds a route to the routing table used by the vFiler unit named vFiler1:vfiler run vfiler1 route add 1.2.3/24 1.2.3.1 1

  9. For each interface used by the vFiler unit, add the following information to the /etc/rc file on the host storage system:

    • An ifconfig command to configure the interface as Up, with the address you specified in the first step
    • The route command you entered in the previous step

    This configures the interfaces as Up and enforces the route commands across reboots.

  10. If the host storage system is part of an active/active configuration, edit the /etc/rc file on each active/active partner to ensure that each interface the vFiler unit uses has a partner interface defined for it.

    Example

    ifconfig e10 partner e10

    Note: If you use the storage system setup command to automatically define a partner interface, it will clear all existing vFiler configuration information.

  11. The IPspace that the vFiler unit is assigned to must have a default gateway. If the IPspace already has a default gateway, skip this step. Enter the following command to establish the route to a default gateway in the IPspace that the vFiler unit can use:vfiler run vfiler_name route add default gateway metric

    Example

    The following example adds a route to the default gateway for the IPspace used by the vFiler unit named vFiler1:vfiler run vfiler1 route add default 1.2.3.1. 1

Related concepts
How to create a vFiler unit