ports/151636: net/isc-dhcp31-server and net/isc-dhcp41-server does
not work with VLAN interfaces
KOT MATPOCKuH
matpockuh at gmail.com
Fri Oct 22 07:48:21 UTC 2010
Hi all!
I got another problem with latest kernel: net/isc-dhcp31-server not
started on VLAN interface with message:
Internet Systems Consortium DHCP Server 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 64 leases to leases file.
Unsupported device type 135 for "bge1.48"
I tried to update dhcpd to net/isc-dhcp41-server, but without result.
I attached a patch for net/isc-dhcp41-server , but not sure is it correct.
I think a similar change should solve the problem for net/isc-dhcp31-server...
--
MATPOCKuH
-------------- next part --------------
diff -ruN net/isc-dhcp41-server.orig/files/patch-server__bpf.c net/isc-dhcp41-server/files/patch-server__bpf.c
--- net/isc-dhcp41-server.orig/files/patch-server__bpf.c 1970-01-01 03:00:00.000000000 +0300
+++ net/isc-dhcp41-server/files/patch-server__bpf.c 2010-10-22 10:39:22.887561512 +0400
@@ -0,0 +1,10 @@
+--- common/bpf.c.orig 2010-10-22 10:38:06.623559939 +0400
++++ common/bpf.c 2010-10-22 10:38:26.436563986 +0400
+@@ -577,6 +577,7 @@
+ */
+ switch (sa->sdl_type) {
+ case IFT_ETHER:
++ case IFT_L2VLAN:
+ hw->hlen = sa->sdl_alen + 1;
+ hw->hbuf[0] = HTYPE_ETHER;
+ memcpy(&hw->hbuf[1], LLADDR(sa), sa->sdl_alen);
More information about the freebsd-current
mailing list