If there are multiple guest network, CloudStack will assign a IP in the first guest network to systemvms as the public IP. We can add a global configuration to set the network uuid of the systemvms.
in com.cloud.network.NetworkManagerImpl.setupNetwork(Account, NetworkOffering, Network, DeploymentPlan, String, String, boolean, Long, ACLType, Boolean, Long) List<NetworkVO> configs = _networksDao.listBy(owner.getId(), offering.getId(), plan.getDataCenterId()); if (configs.size() > 0) { if (s_logger.isDebugEnabled()) { s_logger.debug("Found existing network configuration for offering " + offering + ": " + configs.get(0)); } if (errorIfAlreadySetup) { InvalidParameterValueException ex = new InvalidParameterValueException("Found existing network configuration (with specified id) for offering (with specified id)"); ex.addProxyObject(offering, offering.getId(), "offeringId"); ex.addProxyObject(configs.get(0), configs.get(0).getId(), "networkConfigId"); throw ex; } else { return configs; } } 2013/8/30 Jijun <jiju...@gmail.com> > > hi all, > > now we try to add advance zone , shared network offering with security > group enabled. > > but in the UI when click the next step we can not choose the public > network. > > when vm created , cpvm , ssvm will get a public ip address from guest > network. > > > is there any design considerations? > > > > > > > -- > Thanks, > Jijun > > > >