weizhouapache commented on issue #4542:
URL: https://github.com/apache/cloudstack/issues/4542#issuecomment-1041394441


   > @DaanHoogland @weizhouapache is right. The goal of this request is to use 
network services for servers outside of CS but in the same subnet of the other 
vms in CS. because we want the VR to be GW for that server. Regarding to the IP 
reservation feature, yes it is a different request but I raise it to notice 
that we can design ip reservation feature a way that we could extend it later 
to meet out requirements on this request.
   
   @aleskxyz 
   thanks for your confirmation.
   
   CloudStack saves all public IPs in its database (`user_ip_address` table), 
so it is easier to reserve a public IP, for example set IP state to 'Reserved'.
   However it does not have a table for private Ips (`private_ip_address` table 
saves the info of private gateway). so it is more complex than public IP 
reservation.
   
   a workaround for feature question is, 
   (1) create a dummy vm with the private IP. do not start it.
   (2) stop the vm if you have started it. 
   (3) create network rules to the vm/ip.
   by this way, the ip is allocated to a stopped vm but not actually in use.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to