Open koumdros opened 10 years ago
possible solution:
(echo "DEVICE MAC-ADDRESS IP-ADDRESS" && ifconfig | grep 'inet addr:' -B 1 | grep -v -- "^--$" | sed 'N;s/\n/ /' | egrep -v Loopback | tr -s ' ' | cut -d' ' -f1,5,7 | sed 's/addr://g') | column -t
I met this problem when workign iin some very old Centos 5 Installations and also XenServer...