Device "eth0" does not exist

22,699

In CentOS, network interfaces are named differently. So they aren't called eth0 or eth1, but rather have names like eno1 or enp2s0. (Source.)

Run ip addr to see how these interfaces are named on your system.

These names are defined in /etc/sysconfig/network-scripts/ifcfg-<iface>. You can change their names if you really wanted to, but I don't recommend it.

Share:
22,699

Related videos on Youtube

Curious
Author by

Curious

Updated on September 18, 2022

Comments

  • Curious
    Curious almost 2 years

    i am using centos 7. I am typing the command

    ip addr show eth0

    but its reply Device "eth0" does not exist.