Skip to main content

Creating a virtual IP (VIP) data LIF

Starting with ONTAP 9.5, you can create a VIP data LIF. The existence of a VIP data LIF is advertised to peer routers through the routing protocol, Border Gateway Protocol (BGP).

Before you begin

  • The BGP peer group must be set up and the BGP session for the SVM on which the LIF is to be created must be active.

    Refer to Setting up Border Gateway Protocol (BGP)

  • A static route to the BGP router or any other router in the BGP LIF’s subnet must be created for any outgoing VIP traffic for the SVM.

  • You should turn on multipath routing so that the outgoing VIP traffic can utilize all the available routes.

    Refer to Enabling multipath routing

    If multipath routing is not enabled, all the outgoing VIP traffic goes from a single interface.

  1. Create a VIP data LIF: network interface create -vserver svm_name -lif lif_name -role data -data-protocol {nfs|cifs|fcache|none|fc-nvme} -home-node home_node -address ip_address -is-vip true

    A VIP port is automatically selected if you do not specify the home port with the network interface create command.

    By default, the VIP data LIF belongs to the system-created broadcast domain named 'Vip', for each IPspace. You cannot modify the VIP broadcast domain.

    A VIP data LIF is reachable simultaneously on all ports hosting a BGP LIF of an IPspace. If there is no active BGP session for the VIP's SVM on the local node, the VIP data LIF fails over to the next VIP port on the node that has a BGP session established for that SVM.

    Example

    cluster1::> network interface create -vserver vs34 -lif vip1 -role data -data-protocol cifs,nfs,fcache -home-node
    gw-node1 -address 3.3.3.3 -is-vip true
  2. Verify that the BGP session is in the up status for the SVM of the VIP data LIF: network bgp vserver-status show

    If the BGP status is down for the SVM on a node, the VIP data LIF fails over to a different node where the BGP status is up for the SVM. If BGP status is down on all the nodes, the VIP data LIF cannot be hosted anywhere, and has LIF status as down .

    Example

    cluster1::> network bgp vserver-status show                                     

    Node Vserver bgp status
    ---------- -------- ---------
    node1 vs1 up