How vlan work on dhcp

Hi

I have on my network 3 vlane

10.111.2.2 this is for users
10.111.3.3 this is for wlan
10.111.4.3 this is for server

Now How do I write this in the dhcpd.conf

efault-lease-time-7200;
max-lease-time 10800;
ddns-update-style ad-hoc;
option domain-name “linux”;
option domain-name-servers 62.149.114.7;
option routers 10.111.2.254;
option subnet-mask 255.255.255.0;

subnet 10.111.2.0 netmask 255.255.255.0 {
range 10.111.2.7 10.111.2.254;
}

Regards

Each subnet needs a separate router


default-lease-time-7200;
max-lease-time 10800;
ddns-update-style ad-hoc;
option domain-name "linux";
option domain-name-servers 62.149.114.7;
option routers 10.111.2.254;
option subnet-mask 255.255.255.0;

subnet 10.111.2.0 netmask 255.255.255.0 {
  option routers 10.111.2.2;
  range 10.111.2.7 10.111.2.254;
}
subnet 10.111.3.0 netmask 255.255.255.0 {
  option routers 10.111.3.3;
  range 10.111.3.7 10.111.3.254;
}

And so on

Thank you very much