From 986813d9735d4930f7e0998aad7120e205ec50b1 Mon Sep 17 00:00:00 2001 From: Joris van Lieshout Date: Thu, 20 Feb 2014 14:54:04 +0100 Subject: [PATCH] Prevent DHCPACK for DHCPINFORM in the DHCP server The orignal "dhcp-range=xxx,static" would only prohibit DHCPREQUEST from unknown hosts, but not DHCPINFORM which can request routing information. This caused trouble for some bridged networks outside CloudStack. This patch would fix the issue, prevent dnsmasq from acking any unknown request. Signed-off-by: Sheng Yang --- systemvm/patches/debian/config/etc/dnsmasq.conf.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/systemvm/patches/debian/config/etc/dnsmasq.conf.tmpl b/systemvm/patches/debian/config/etc/dnsmasq.conf.tmpl index 07c5902e118..447e74827d6 100644 --- a/systemvm/patches/debian/config/etc/dnsmasq.conf.tmpl +++ b/systemvm/patches/debian/config/etc/dnsmasq.conf.tmpl @@ -277,7 +277,9 @@ dhcp-hostsfile=/etc/dhcphosts.txt # or /etc/ethers. Equivalent to ISC "deny unknown-clients". # This relies on the special "known" tag which is set when # a host is matched. -#dhcp-ignore=tag:!known +# +# When using bridged networks in ACS this prevents ack to DHCPINFORM etc. request +dhcp-ignore=tag:!known # Send extra options which are tagged as "red" to any machine whose # DHCP vendorclass string includes the substring "Linux"