more intellegent gw check on lxc