My network interface didn't get an IP address. I get the error as follows:
3: eno2: NO-CARRIER,BROADCAST,MULTICAST,UP mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 4c:d9:8f:58:9c:ea brd ff:ff:ff:ff:ff:ff
4: enp179s0f0: NO-CARRIER,BROADCAST,MULTICAST,UP mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 4c:d9:8f:4e:d4:c7 brd ff:ff:ff:ff:ff:ff
eno2
and enp179s0f0
are plugged to switch and I assigned a static IP address.
I have 2 up interfaces and I didn't get any no-carrier error from them.
I tried this topics and they didnt work: