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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.