VPC : CS-15424 default route & gateway is missing for private network in VPC virtual router on Vmware

reviewd by : Anthony

adding route configuration through eth0 when VPC router
This commit is contained in:
Murali Reddy 2012-07-05 13:45:29 -07:00
parent 2699e2c508
commit 2195f3ad83
1 changed files with 4 additions and 1 deletions

View File

@ -596,7 +596,10 @@ EOF
fi
if [ -n "$MGMTNET" -a -n "$LOCAL_GW" ]
then
ip route add $MGMTNET via $LOCAL_GW dev eth1
if [ "$hyp" == "vmware" ]
then
ip route add $MGMTNET via $LOCAL_GW dev eth0
fi
fi
ip route delete default