if i'm not mistaken, it's Berkeley Packet Filter. I must do the same issue for dhcpd when i use many vlan interfaces and PF :) -- Cordialement, Loïc BLOT, UNIX systems, security and network expert http://www.unix-experience.fr
Le mardi 08 janvier 2013 à 20:39 +0100, Ulrich Drolshagen a écrit : > Am 08.01.2013 19:48, schrieb Janne Johansson: > > cd /dev > > for i in $(jot 20 10); do ./MAKEDEV bpf${i} ; done > > to make 20 more bpfs. Each tcpdump and dhcrelay will want one of their > > own so you may need more dev-entries. > Thank you, this did the trick. I really didn't know what "bpf" are and > didn't think of devices. > > > > > > 2013/1/8 Ulrich Drolshagen <u.drolsha...@t-online.de>: > >> Hi, > >> > >> I am running an openbsd router attached to several vlans. On one of them > >> there is running a box with an isc-dhcp server. > >> For one of the vlans I have started a dhcrelay to forward the dhcp > >> broadcasts of the respective subnet to the server > >> > >> dhcrelay -i vlan5 172.16.1.4 > >> > >> This is working fine for some time now. If I try to start it a second time, > >> I get this: > >> > >> root:42# dhcrelay -d -i vlan6 172.16.1.4 > >> Can't find free bpf: No such file or directory > >> Jan 8 18:33:05 router dhcrelay: Can't find free bpf: No such file or > >> directory > >> exiting. > >> > >> To my understanding dhcrelay should support whatever vlan requires > >> forwarding the broadcasts. For me it does not make sense to only support > >> just one subnet. Or am I missing something here? > >> > >> Thank you for looking into this > >> > >> Ulrich > >> > >> -- > >> http://www.ulrich-drolshagen.de