ifconfig and netstat programs return an error: error fetching interface information: Device not found

Solution Verified - Updated -

Issue

  • When trying to view network details with ifconfig or netstat, an error is returned instead:

    [root@localhost ~]# ifconfig -a
    active: error fetching interface information: Device not found
    
    [root@localhost ~]# netstat -i
    Kernel Interface table
    Iface      MTU    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
    active: error fetching interface information: Device not found
    missing interface information: No such device
    

Environment

  • Red Hat Enterprise Linux
  • keepalived?

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