Nova-manage network create odd behavior

asked 2011-04-22 18:33:27 -0600

dennis-demarco gravatar image

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

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2011-04-22 19:18:29 -0600

dennis-demarco gravatar image

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

edit flag offensive delete link more
0

answered 2011-04-22 20:34:34 -0600

annegentle gravatar image

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

edit flag offensive delete link more
0

answered 2011-04-22 18:52:08 -0600

vishvananda gravatar image

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/+q...

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).

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-04-22 18:33:27 -0600

Seen: 66 times

Last updated: Apr 22 '11