set "gateway" parameter to optional for adding static network