fix dhcp file error
This commit is contained in:
parent
43eb9cc6b1
commit
78555481a4
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ function create_subnet {
|
|||
ebtables -A FORWARD --out-interface "br-${subnet_id}" -p arp --arp-op Request --arp-ip-dst "${gateway_ip}" -j DROP
|
||||
ebtables -A FORWARD --out-interface "br-${subnet_id}" -p IPv4 --ip-protocol udp --ip-source-port 67:68 --ip-destination-port 67:68 -j DROP
|
||||
|
||||
generate_dhcp_file "${subnet}" "${vpc_name}_br-${subnet_id}" "${router_ip}"
|
||||
generate_dhcp_file "${subnet}" "${vpc_name}_br-${subnet_id}" "${gateway_ip}"
|
||||
systemctl start "dnsmasq@${vpc_name}_br-${subnet_id}.service"
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue