Random networking related stuff.

Cumulus Linux VRF aware loopback interface

The following article is a quick note to indicate how to define a loopback interface which is VRF aware under Cumulus Linux. The following topic is documented under the VRF section of the Cumulus documentation:

auto test
iface test
    vrf-table auto
cumulus@switch:~$ net show interface
State  Name           Spd   MTU    Mode          LLDP                Summary
-----  -------------  ----  -----  ------------  ------------------  -------------------------
UP     test		      N/A   65536  VRF                               IP:

The loopback interface is in fact a VRF interface. The IP is defined under a VRF interface statement. Note that this prefix can be advertised by a routing protocol (like BGP).