Fallback to iproute if ifconfig doesn't work.

This fix applies the patch provided by Maccied Grela in [bugs:#26]