Ask Your Question

How to exclude some IP's from vmnet

asked 2013-10-24 08:09:23 -0500

Dongjh gravatar image


How can i exclude some IP's or some IP ranges from vmnet when creating the VM network ? Because some IP's are using by some other hosts and gateway/DNS servers.

# nova network-create vmnet --fixed-range-v4= --bridge-interface=br100 --multi-host=T --gateway= --dns1=

For example, i want to exclude the controller's public IP, the IP's for the bridges on the compute nodes, and two IP ranges( and from subnet.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-10-24 09:56:05 -0500

marcantonio gravatar image

updated 2013-10-24 12:41:00 -0500

It would be better to have the controller and compute nodes on a separate network than your VMs. However, you can manually set them as reserved in the database:

UPDATE fixed_ips SET reserved = 1 WHERE address IN ('', '');

I don't remember if dnsmasq will respect this as well, you should test to be sure. If not you can use the dhcp_start option.

__EDIT__: That's with nova-network. I'm not sure if/how that translates to neutron.

__UPDATE__: It looks like you can use nova fixed-ip-reserve too.

edit flag offensive delete link more


Thanks, issue resolved.

Dongjh gravatar imageDongjh ( 2013-10-25 00:05:21 -0500 )edit

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


Asked: 2013-10-24 08:09:23 -0500

Seen: 642 times

Last updated: Oct 24 '13