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.
This commit is contained in:
edison 2010-09-27 17:08:31 -07:00
parent ad4ea90207
commit 2d728d4044

View File

@ -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() {