You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Bharat Kumar <bh...@citrix.com> on 2014/09/11 12:59:49 UTC
Regarding gateway ip getting allocated to user VMs in shared
network.
Hi All,
I have found that the gateway ip can get allocated to the uservms in case of shared networks. This is a corner case and might happen accidentally.
This happens because we allow addition guest ip ranges containing the gateway ip, while creating a shared network and internally there is no check
to see if the ip getting allocated is a gateway ip.
Simple way to fix this would be to fail the network creation if the supplied guest ip range contains the gateway ip.
example
gateway=172.16.88.1
netmask=255.255.255.0
guestIpRange=172.16.88.1 to 172.16.88.20.
we fail the network creation in this case as the gateway ip is a part of the guest ip range.
Any concerns or suggestions regarding this fix ?
bug id CLOUDSTACK-7536