ifconfig shows UP while ip link shows DOWN

Solution 1:

In the ifconfig UP flag means the administrative status, not link status. If you have 'link up', then RUNNING flag is present in the ifconfig output. Anyway, ifconfig is deprecated, use the ip tool.

In the ip tool link status is shown by flags LOWER_UP and NO-CARRIER.