"ip link" reports "RTNETLINK answers: No such device Cannot send link get request: No such device" with alias interface
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
oreth0:1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.