sureshanaparti commented on a change in pull request #4678:
URL: https://github.com/apache/cloudstack/pull/4678#discussion_r659346639



##########
File path: systemvm/debian/opt/cloud/bin/setup/common.sh
##########
@@ -322,7 +322,12 @@ setup_common() {
 
   if [ -n "$MGMTNET"  -a -n "$LOCAL_GW" ]
   then
-    ip route add $MGMTNET via $LOCAL_GW dev eth1
+    log_it "Received mgmt cidr : $MGMTNET"
+    cidrs=(${MGMTNET//,/ })
+    for cidr in ${cidrs[@]}
+    do
+      ip route add $cidr dev eth1

Review comment:
       > @ravening I am wondering why there is no "via gateway" in route.
   
   @ravening any update?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to