diff --git a/xCAT/postscripts/configeth b/xCAT/postscripts/configeth
index 247257b84..195fab5a6 100755
--- a/xCAT/postscripts/configeth
+++ b/xCAT/postscripts/configeth
@@ -335,7 +335,8 @@ elif [ "$1" = "-s" ];then
     if [ -n "$MACADDRESS" ];then
         str_inst_mac=$MACADDRESS
     else
-        str_inst_mac=`ifconfig $str_inst_nic | grep HWaddr | awk -F'HWaddr' '{print $2}' | sed 's/\s*//'`
+        #str_inst_mac=`ifconfig $str_inst_nic | grep HWaddr | awk -F'HWaddr' '{print $2}' | sed 's/\s*//'`
+        str_inst_mac=`ip link show $netdev | grep ether | awk '{print $2}'`
     fi
 
     if [ -z "$str_inst_ip" -o -z "$str_inst_mask" ];then