From 2d728d4044600fc50c205852f2a19a680c9e31ac Mon Sep 17 00:00:00 2001 From: edison Date: Mon, 27 Sep 2010 17:08:31 -0700 Subject: [PATCH] set default gateway always on eth2, to fix the bug that system vm is not pingable, if public network and private network both are in the same subnet. --- tools/systemvm/debian/config/etc/init.d/cloud-early-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/systemvm/debian/config/etc/init.d/cloud-early-config b/tools/systemvm/debian/config/etc/init.d/cloud-early-config index 11efc5c1afc..6d3ea7723cf 100755 --- a/tools/systemvm/debian/config/etc/init.d/cloud-early-config +++ b/tools/systemvm/debian/config/etc/init.d/cloud-early-config @@ -141,7 +141,7 @@ setup_common() { fi ip route delete default - ip route add default via $GW + ip route add default via $GW eth2 } setup_dnsmasq() {