Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I don't know much about nova-network or your Apache requirements. This answer is just for the last part of your question about neutron.

With Havana I was able to create a port and add two fixed_ips from the same subnet to it. Then pass this port to nova boot. In the instance I had to add the second IP to eth0 manually as the dhcp client didn't. Then I was able to create and associate a floating IP for each internal IP.

I don't know much about nova-network or your Apache requirements. This answer is just for the last part of your question about neutron.

With Havana I was able to create a port and add two fixed_ips from the same subnet to it. Then pass this port to nova boot. In the instance I had to add the second IP to eth0 manually as the dhcp client didn't. Then I was able to create and associate a floating IP for each internal IP.

See http://paste.openstack.org/show/49514/

I don't know much about nova-network or your Apache requirements. This answer is just for the last part of your question about neutron.

With Havana I was able to create a port and add two fixed_ips from the same subnet to it. Then pass this port to nova boot. In the instance I had to add the second IP to eth0 manually as the dhcp client didn't. Then I was able to create and associate a floating IP for each internal IP.

See http://paste.openstack.org/show/49514/

Update: actually it would be easier just to do this, and let Neutron allocate the IPs:

neutron port-create net1 \
    --fixed-ip subnet_id=2a9da468-73e0-4418-93de-69e00887b0ee \
    --fixed-ip subnet_id=2a9da468-73e0-4418-93de-69e00887b0ee

I don't know much about nova-network or your Apache requirements. This answer is just for the last part of your question about neutron.

With Havana I was able to create a port and add two fixed_ips from the same subnet to it. Then pass this port to nova boot. In the instance I had to add the second IP to eth0 manually as the dhcp client didn't. Then I was able to create and associate a floating IP for each internal IP.

See http://paste.openstack.org/show/49514/

Update: actually it would be easier just to do this, and let Neutron allocate the IPs:

neutron port-create net1 \
    --fixed-ip subnet_id=2a9da468-73e0-4418-93de-69e00887b0ee \
    --fixed-ip subnet_id=2a9da468-73e0-4418-93de-69e00887b0ee

Also there is another way here.