2

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:

Lorenz Keel
  • 8,905
Kadir Y.
  • 416
  • Are you positive that there's actuallly an cable plugged into those two NIC's? – vidarlo Jun 21 '19 at 12:40
  • yes i am sure. i changed interface eno2 to enp179s0f0. Now i plugged to enp179s0f0. – Kadir Y. Jun 21 '19 at 13:36
  • I solved the issue. We wrote a bash script for add routing. In this script we down-up interface for ssh bind interface so that it convert no carrier to interface. – Kadir Y. Oct 11 '19 at 11:02
  • 2
    @Kadir Y. If you solved it, could you add an answer with the details about the solution (and then remove the SOLVED in the title)? – Lorenz Keel Oct 11 '20 at 11:06
  • @LorenzKeel i wrote the answer above. Again, when you change the interface up-down status rapidly, interface comes to no-carrier. – Kadir Y. Oct 19 '20 at 19:02
  • 2
    @KadirY. Hey, could you please elaborate a bit because I have the same problem and dont really understand the answer you gave. Would you mind sharing the bash script? – random person Dec 21 '21 at 07:50
  • Hi @randomperson Main cause is interface situation is changing rapidly. I mean if you up or down your network interface you get NO-CARRIER error. Do not change routing or interface state rapidly. – Kadir Y. Dec 23 '21 at 08:04

0 Answers0