Print Download PDF Send Feedback

Previous

Next

Loopback Interfaces

You can define a virtual loopback interface by assigning an IPv4 or IPv6 address to the lo (local) interface. This can be useful for testing purposes or as a proxy interface for an unnumbered interface. This section shows you how to configure a loopback interface using the Gaia Portal and the Gaia Clish.

Configuring Loopback Interfaces - Gaia Portal

To add a loopback interface:

Step

Description

1

In the navigation tree, click Interface Management > Network Interfaces.

2

Click Add > Loopback.

3

In the Add loopback window:

  1. The Enable option is selected by default to set the loopback interface status to UP.
  2. In the Comment field, enter the applicable comment text (up to 100 characters).
  3. On the IPv4 tab, enter the IPv4 address and subnet mask.

    These IPv4 addresses are not allowed:

    • 0.x.x.x
    • 127.x.x.x
    • 224.x.x.x - 239.x.x.x (Class D)
    • 240.x.x.x - 255.x.x.x (Class E)
    • 255.255.255.255
  4. On the IPv6 tab (optional), enter the IPv6 address and mask length.

    Important - First, you must enable the IPv6 Support and reboot.

4

Click OK.

The new loopback interface name is automatically created with the addition of a sequence number to the string 'loop'. For example, the name of first loopback interface is loop00. The second loopback interface is loop01, and so on.

To configure a loopback interface:

Step

Description

1

In the navigation tree, click Interface Management > Network Interfaces.

2

Select a loopback interface and click Edit.

3

In the Edit loop<NN> window:

  1. If required, change the IPv4 address and subnet mask.
  2. If required, change the IPv6 address and mask length.

4

Click OK.

To delete a loopback interface:

Step

Description

1

In the navigation tree, click Network Management > Network Interfaces.

2

Select a loopback interface and click Delete.

3

When the confirmation message shows, click OK.

Configuring Loopback Interfaces - Gaia Clish

Description

Configure loopback interfaces.

Syntax

Important - After you add, configure, or delete features, run the save config command to save the settings permanently.

Notes:

Parameters

Parameter

Description

lo

You must use the lo (local interface) keyword to define a loopback interface

<IPv4 Address>

Specifies the IPv4 address

These IPv4 addresses are not allowed:

  • 0.x.x.x
  • 127.x.x.x
  • 224.x.x.x - 239.x.x.x (Class D)
  • 240.x.x.x - 255.x.x.x (Class E)
  • 255.255.255.255

<Mask Length>

Configures the IPv4 subnet mask length using the CIDR notation (integer between 2 and 32)

<Name of Loopback Interface>

Specifies a loopback interface name

Example

gaia> add interface lo loopback 10.10.99.1/24

 

gaia> delete interface lo loopback loop01