Index: drbl-virt/sbin/drbl_client_cmd
===================================================================
--- drbl-virt/sbin/drbl_client_cmd	(revision 211)
+++ drbl-virt/sbin/drbl_client_cmd	(revision 212)
@@ -82,18 +82,14 @@
 
 
-# = 3. Check client exist
-grep $client_name $Work_Home/etc/IP_HOST_TABLE >> /dev/null
-if [ $? -ne 0 ]; then
-    echo "[Error] This host is not DRBL client"
-    exit 2
-fi
-
+# = 3. ssh client to execute command  =
 echo "[$client_name]"
 
-# = 4. ssh host to deploy VM  =
-# local varibales
-host_IP=$(cat $Work_Home/etc/IP_HOST_TABLE | grep $client_name | awk '{print $1}')
+# check network
+IP_status="online"
+ping -c1 -w1 $client_name > /dev/null 2>&1 || IP_status="offline"
 
-# start ssh
-ssh -o StrictHostKeyChecking=no $host_IP "$command"
-
+if [ $IP_status == "offline" ]; then
+    echo "[Error] $client_name's network is offline !!!"
+else
+    ssh -o StrictHostKeyChecking=no $client_name "$command"
+fi
