This knowledge base has moved to the documentation site. Please visit the knowledge base here for the most up to date content. This site is no longer maintained.

Unable to Assign an IP Address to Loopback lo:1

Follow

Issue

I am having issues assigning an IP address to lo:1. I am trying to configure OSPF Unnumbered. Here is my configuration:

# cat /etc/network/interfaces
<snip/>
auto lo
iface lo inet loopback

auto lo:1
iface lo:1
  address 172.16.3.5/32
<snip/>

Environment

  • Cumulus Linux, 2.2.x
  • Cumulus Linux, 2.5.x

Resolution

Assign loopback IP addresses directly under lo in /etc/network/interfaces:

auto lo
iface lo inet loopback
  address 172.16.3.5/32

Then continue configuring routing protocols in Quagga.

You can find more information in the Cumulus Linux Quick Start Guide.

Root Cause

Rather than creating the lo:N alias, python-ifupdown2 applies addresses from each configured lo:N to lo directly. This behavior may be different from other Linux distributions.

Comments

This support portal has moved

Cumulus Networks is now part of the NVIDIA Networking Business Unit! The NVIDIA Cumulus Global Support Services (GSS) team has merged its operations with the NVIDIA Mellanox support services team.

You can access NVIDIA Cumulus support content from the Mellanox support portal.

You open and update new cases on the Mellanox support portal. Any previous cases that have been closed have been migrated to the Mellanox support portal.

Cases that are still open on the Cumulus portal will continue to be managed on the Cumulus portal. Once these cases close, they will be moved to the Mellanox support portal.

Powered by Zendesk