From 8ff8673f730c6c27d0f5f2f138ccffe0cb15709b Mon Sep 17 00:00:00 2001 From: ilya musayev Date: Fri, 7 Dec 2012 15:16:22 -0500 Subject: [PATCH] Fixed ARP issue that affected VmWare with Adavanced Network Zone that use Multiple vSwitches --- patches/systemvm/debian/config/etc/init.d/cloud-early-config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/patches/systemvm/debian/config/etc/init.d/cloud-early-config b/patches/systemvm/debian/config/etc/init.d/cloud-early-config index 11380b4105d..64459fd6118 100755 --- a/patches/systemvm/debian/config/etc/init.d/cloud-early-config +++ b/patches/systemvm/debian/config/etc/init.d/cloud-early-config @@ -364,6 +364,11 @@ setup_common() { ping -n -c 3 $LOCAL_GW & sleep 3 pkill ping + #This code is added to address ARP issue by pinging MGMT_GW + MGMT_GW=$(echo $MGMTNET | awk -F "." '{print $1"."$2"."$3".1"}') + ping -n -c 3 $MGMT_GW & + sleep 3 + pkill ping fi }