I just commited VLAN DHCP support to my own branch, doesn't touch the GUI at all.
Here's the config it can generate:
option domain-name "local";
default-lease-time 7200;
max-lease-time 86400;
authoritative;
log-facility local7;
ddns-update-style none;
shared-network "vlan 69 on vr0" {
subnet 10.69.0.0 netmask 255.255.255.0 {
pool {
range 10.69.0.10 10.69.0.20;
}
option routers 10.69.0.1;
next-server 10.69.0.1;
filename "pxelinux.0";
}
}
shared-network "vlan 68 on vr0" {
subnet 10.68.0.0 netmask 255.255.255.0 {
pool {
range 10.68.0.10 10.68.0.20;
}
option routers 10.68.0.1;
next-server 10.68.0.1;
filename "pxelinux.0";
}
subnet 10.0.0.0 netmask 255.255.255.0 {
}
}
If you are lucky the attached patch works, but the pf team have modified the dhcp function a bit from m0n0 and I make some rather grand assumptions in the code.
services.inc.vlan-dhcp.patch.txt