mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
In external-ip mode, management server can get user VM's ip from
direct.attach.network.externalIpAllocator.url.
This simple tool provides such kind of ip allocator service.
How to:
1. setup the dnsmasq:
add the following in dnsmasq.conf:
dhcp-range=starting-ip-allocate-to-vm,end-ip,netmask,static
dhcp-option=option:router,gateway
2. run cloud-web-ipallocator,
The default listing port is 8080, if it's used by others, change the port by:
cloud-web-ipallocator other-port
3. set the following in direct.attach.network.externalIpAllocator.url:
http://your-host-ip:listening-port/ipallocator