From d53ac8d5226a70c2f47b5e6f28499eaa9c8df171 Mon Sep 17 00:00:00 2001 From: mykola2312 <49044616+mykola2312@users.noreply.github.com> Date: Mon, 9 Sep 2024 20:24:49 +0300 Subject: [PATCH] add static IP leases for virtual machines --- dnsmasq.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dnsmasq.conf b/dnsmasq.conf index 54d3d26..400865e 100644 --- a/dnsmasq.conf +++ b/dnsmasq.conf @@ -1,5 +1,8 @@ interface=vnat0 listen-address=10.0.0.1,127.0.0.1 dhcp-range=10.0.0.2,10.0.0.254,12h +dhcp-host=00:16:3e:54:9f:a0,srv-master,10.0.0.2 +dhcp-host=00:16:3e:ea:77:71,srv-slave1,10.0.0.3 +dhcp-host=00:16:3e:41:65:1e,srv-slave2,10.0.0.4 dhcp-option=option:ntp-server,10.0.0.1 dhcp-option=option:dns-server,10.0.0.1