Reserving IPs
How do I tell OpenStack to not to use the first 10 addresses for each fixed network?
Edit: I'm using nova-network, not quantum.
First time here? Check out the FAQ!
How do I tell OpenStack to not to use the first 10 addresses for each fixed network?
Edit: I'm using nova-network, not quantum.
You have to define IP pools for your subnet.
(quantum) help subnet-create
usage: subnet-create [-h] [-f {shell,table}] [-c COLUMN] [--variable VARIABLE]
[--prefix PREFIX] [--request-format {json,xml}]
[--tenant-id TENANT_ID] [--name NAME]
[--ip-version {4,6}] [--gateway GATEWAY_IP]
[--no-gateway]
[--allocation-pool start=IP_ADDR,end=IP_ADDR]
[--host-route destination=CIDR,nexthop=IP_ADDR]
[--dns-nameserver DNS_NAMESERVER] [--disable-dhcp]
NETWORK CIDR
Create a subnet for a given tenant.
positional arguments:
NETWORK network id or name this subnet belongs to
CIDR cidr of subnet to create
optional arguments:
-h, --help show this help message and exit
--request-format {json,xml}
the xml or json request format
--tenant-id TENANT_ID
the owner tenant ID
--name NAME name of this subnet
--ip-version {4,6} IP version with default 4
--gateway GATEWAY_IP gateway ip of this subnet
--no-gateway No distribution of gateway
--allocation-pool start=IP_ADDR,end=IP_ADDR
Allocation pool IP addresses for this subnet (This
option can be repeated)
--host-route destination=CIDR,nexthop=IP_ADDR
Additional route (This option can be repeated)
--dns-nameserver DNS_NAMESERVER
DNS name server for this subnet (This option can be
repeated)
--disable-dhcp Disable DHCP for this subnet
output formatters:
output formatter options
-f {shell,table}, --format {shell,table}
the output format, defaults to table
-c COLUMN, --column COLUMN
specify the column(s) to include, can be repeated
shell formatter:
a format a UNIX shell can parse (variable="value")
--variable VARIABLE specify the variable(s) to include, can be repeated
--prefix PREFIX add a prefix to all variable names
Sorry, I should have specified that I'm using nova-network, not quantum. I edited my question to reflect this.
looks like a duplicate of this https://ask.openstack.org/en/question/5510/how-do-you-reserve-fixed-ips/#5537
Asked: 2013-10-03 11:27:25 -0600
Seen: 117 times
Last updated: Oct 03 '13
br100 setup and nova fixed ip range
networks in dashboard with nova-network enabled
Unable to delete VMs - IceHouse
Bridge network interface for VM networks not working in openstack ubuntu
nova-network create on compute node
Unable to delete instances in 'ERROR' state
dnsmasq DHCP server doesn't lease a released IP address.
can change flatdhcp to flat mode?
HTTPConnectionPool request times out when creating network [closed]
Unable to associate floating ip into instance using Nova Cells and nova-network