Restriction on numbering VLANs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eucalyptus |
Triaged
|
Wishlist
|
Daniel Nurmi |
Bug Description
I'm using vlan tags 100 through 200, and set subnet configurations in eucalyptus.conf as
VNET_SUBNET=
VNET_NETMASK=
VNET_ADDRSPERNE
Launching an instance on this setting fails with an "out of range" error.
--- cc.log -------
[Mon Mar 7 18:44:17 2011][007559]
[Wed Mar 9 18:24:03 2011][001791]
-------
It seems like the error occurs with the small number of security groups like:
[range of VNET_SUBNET] / VNET_ADDRSPERNET <= 16
This restricts the network environments where eucalyptus can run on.
system:
Eucalyptus : 2.0.2
Host : CentOS5.5
Installed : binary(
Hypervisor : kvm
Changed in eucalyptus: | |
assignee: | nobody → Daniel Nurmi (nurmi) |
The VNET_SUBNET/ VNET_NETMASK defined pool of IPs must be large enough for the required VLAN range to be indexed into the range. With the current settings (range makes 254 IPs available), with subnets of size 16, only VLANs 2-15 would work. In order to allow the system to use VLANs 100-200, with subnets of size 16, we need a range of IPs that is at least ~4096 in size:
192.168.0.0
255.255.240.0
for example, would cover it.