"ip link" reports "RTNETLINK answers: No such device Cannot send link get request: No such device" with alias interface

Solution Verified - Updated -

Issue

  • "ip link" reports "RTNETLINK answers: No such device Cannot send link get request: No such device" with alias interface
  • System with ethX:Y style alias interface can no longer show the alias interface as of RHEL 7.6 iproute package:

Old behaviour:

# ./ip/ip link show eth1
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether aa:bb:cc:dd:ee:ff brd ff:ff:ff:ff:ff:ff

# ./ip/ip link show eth1:1
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether aa:bb:cc:dd:ee:ff brd ff:ff:ff:ff:ff:ff

New behaviour:

# ./ip/ip link show eth1
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether aa:bb:cc:dd:ee:ff brd ff:ff:ff:ff:ff:ff

# ./ip/ip link show eth1:1
RTNETLINK answers: No such device
Cannot send link get request: No such device

Environment

  • Red Hat Enterprise Linux 7.6
  • iproute-4.11.0-14.el7 package
  • Old-style alias interface like ethX:Y or eth0:1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content