Ask Your Question
0

network create does not respect the CIDR when placing into sql db

asked 2011-02-24 04:27:59 -0500

arturo-lorenzo gravatar image

When I enter: nova-manage network create 192.168.1.64/28 1 14 the networks table shows: 192.168.1.64/29 as the CIDR; 192.168.1.65 as the gateway which is correct; 192.168.1.71 as the broadcast which is incorrect it should be 192.168.1.88; 255.255.255.248 as the netmask which is incorrect it should be 255.255.255.240; and 192.168.1.66 as the dhcp_start which is correct. This value was taken from the /etc/nova/nova.conf which is: --dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge --logdir=/var/log/nova --state_path=/var/lib/nova --verbose --sql_connection=mysql://root:nova@192.168.1.194/nova --s3_host=192.168.1.194 --rabbit_host=192.168.1.194 --ec2_host=192.168.1.194 --ec2_url=http://192.168.1.194:8773/services/Cloud --network_manager=nova.network.manager.FlatDHCPManager --fixed_range=192.168.1.64/26 --flat_network_dhcp_start=192.168.1.66 --flat_network_dns=209.18.47.61 --fixed_ip_disassociate_timeout=60 --network_size=64 I have also tried without fixed_range and adding the CIDR to the flat_network_dhcp_start unsuccessfully Thanks for the help!

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2011-02-24 04:32:53 -0500

vishvananda gravatar image

Network size (14) must be a power of two. Try 16 On Feb 23, 2011 8:28 PM, "arturo lorenzo" < question146658@answers.launchpad.net > wrote:

New question #146658 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

When I enter: nova-manage network create 192.168.1.64/28 1 14 the networks table shows: 192.168.1.64/29 as the CIDR; 192.168.1.65 as the gateway which is correct; 192.168.1.71 as the broadcast which is incorrect it should be 192.168.1.88; 255.255.255.248 as the netmask which is incorrect it should be 255.255.255.240; and 192.168.1.66 as the dhcp_start which is correct. This value was taken from the /etc/nova/nova.conf which is: --dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge --logdir=/var/log/nova --state_path=/var/lib/nova --verbose --sql_connection=mysql://root:nova@192.168.1.194/nova --s3_host=192.168.1.194 --rabbit_host=192.168.1.194 --ec2_host=192.168.1.194 --ec2_url=http://192.168.1.194:8773/services/Cloud --network_manager=nova.network.manager.FlatDHCPManager --fixed_range=192.168.1.64/26 --flat_network_dhcp_start=192.168.1.66 --flat_network_dns=209.18.47.61 --fixed_ip_disassociate_timeout=60 --network_size=64 I have also tried without fixed_range and adding the CIDR to the flat_network_dhcp_start unsuccessfully Thanks for the help!


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more
0

answered 2011-02-24 04:41:37 -0500

arturo-lorenzo gravatar image

Thanks so much! that fixed my problem!

edit flag offensive delete link more
0

answered 2011-02-24 04:42:01 -0500

arturo-lorenzo gravatar image

Thanks Vish Ishaya, that solved my question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-02-24 04:27:59 -0500

Seen: 8 times

Last updated: Feb 24 '11