[Openstack] Unable to create a floating ip

Alessandro Tagliapietra tagliapietra.alessandro at gmail.com
Wed May 16 23:33:31 UTC 2012


Oh, great, thank you, that worked fine, now i've created the floating ip, associated to a vm, in fact when i do

iptables -t nat -L -n i get

DNAT       all  --  0.0.0.0/0            94.23.x.x         to: 192.168.4.34
SNAT       all  --  192.168.4.34         0.0.0.0/0            to:94.23.x.x

but when i do

tcpdump -i eth0 (public interface) i can see incoming packets, but not when i do tcpdump -i br100 where the vm has the 192.168.4.34 ip.

So it seems it doesn't route the packets, i've enable ip forward and i got the same result.

Best Regards

Il giorno 16/mag/2012, alle ore 22:08, Vishvananda Ishaya ha scritto:

> to create an individual ip, use the full ip address without /32. The floating ip create code ignores the network and broadcast address for a range, so you will end up with no usable ips if you specify a /32 or /31
> 
> Vish
> 
> On May 16, 2012, at 8:05 AM, Alessandro Tagliapietra wrote:
> 
>> Hello guys,
>> 
>> this is my nova.conf (network part)
>> 
>> --network_manager=nova.network.manager.FlatDHCPManager
>> --public_interface=eth0
>> --flat_interface=eth2
>> --flat_network_bridge=br100--fixed_range=192.168.4.1/27--network_size=32
>> --flat_network_dhcp_start=192.168.4.33--flat_injected=False
>> --force_dhcp_release=true
>> 
>> i'm trying to add a floating ip with the command
>> 
>> nova-manage floating create --ip_range=94.23.x.x/32
>> 
>> and i get no output in logs or cmdline, then when i do nova-manage floating list i get  "no floating ip addresses have been defined" and in logs and cmdline
>> 
>> 2012-05-16 16:48:55 DEBUG nova.utils [req-58cd4a1d-1801-4380-8472-81dc55ed1b86 None None] backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from (pid=12824) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658
>> 
>> Any idea on what's the problem?
>> 
>> Best Regards
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack at lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
> 





More information about the Openstack mailing list