Nova-manage network create odd behavior

Asked by Dennis DeMarco

I would like to add Class C of 192.168.1.0/24

I issue the command

nova-manage network create 192.168.1.0/24 1 255

When I do a nova-manage network list I get:

root@nova-cc01:/var/log/nova# nova-manage network list
network netmask start address DNS
192.168.1.0/25 255.255.255.128 192.168.1.2 8.8.4.4

I am not sure exactly why it is doing this

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Dennis DeMarco
Solved:
Last query:
Last reply:
Revision history for this message
Vish Ishaya (vishvananda) said :
#1

try

nova-manage network create 192.168.1.0/24 1 256

the third parameter is network size. There are 256 addresses in a class c not 255.

Vish

On Apr 22, 2011, at 11:33 AM, Dennis DeMarco wrote:

> New question #153879 on OpenStack Compute (nova):
> https://answers.launchpad.net/nova/+question/153879
>
> I would like to add Class C of 192.168.1.0/24
>
> I issue the command
>
> nova-manage network create 192.168.1.0/24 1 255
>
> When I do a nova-manage network list I get:
>
> root@nova-cc01:/var/log/nova# nova-manage network list
> network netmask start address DNS
> 192.168.1.0/25 255.255.255.128 192.168.1.2 8.8.4.4
>
> I am not sure exactly why it is doing this
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).

Revision history for this message
Dennis DeMarco (dennis-demarco) said :
#2

ahh man. Thanks. That did the trick. All the documentation had that typo and didn't even spot it.

Revision history for this message
Anne Gentle (annegentle) said :
#3

Ah, great catch. I'll check all the docs for 255 in that command. Oops! Thanks for pointing it out.