4

I added a new connection config (CentOS 7):

DEVICE="eth1"
BOOTPROTO="static"
ONBOOT="yes"
IPADDR=10.68.0.1
GATEWAY=10.68.0.1
NETMASK=255.255.255.248

Next, I ran systemctl restart network and got an error in journalctl:

Connection activation failed: No suitable device found for this connection.

How can I fix it?

1 Answer 1

7

CentOS 7 uses "predictable interface names", a new convention for naming network devices that replaces the old eth* convention. Thus, your device is named something else, probably something like enp0s25, not eth1. Check with ip a what your device is named, and substitute it for eth1 in your config file.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .