Ask Your Question

Change default DHCP port on DevStack

asked 2013-09-25 09:13:39 -0500

Albert Vonpupp gravatar image


I'm trying DevStack at the university lab. When I tried to deploy a VM I noticed that all the machines from the lab started renewing their leases with the DevStack DHCP server. That is inconvenient for me since I'm not the only user of this lab and it could cause troubles. I thought that perhaps changing the default port on the controller as on the compute nodes would work, but I don't know how to do that.

How can I change the dnsmasq DHCP port on DevStack? (controller and compute nodes)

Thanks a lot!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-09-25 15:22:50 -0500

rz2p gravatar image

Do you have more than 1 interface?

I guess you could block port 67 on the OpenStack host with iptables..

(I am just writing off the top of my head, youll get the point.)

iptables -A INPUT -i ethx --destination-port 67 -j DROP

This way any packet coming from the schools network will be blocked right away, and the requests from the VMs will go through on the other network

edit flag offensive delete link more


Thanks for your answer. The problem that I have is just the opposite, the DevStack DHCP (dnsmasq) is being used by other machines from the lab. I cannot block the traffic on DHCP otherwise the machines wont start up properly I guess.

Albert Vonpupp gravatar imageAlbert Vonpupp ( 2013-09-26 11:03:12 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-09-25 09:13:39 -0500

Seen: 293 times

Last updated: Sep 25 '13