On Tue, Nov 24, 2009 at 3:45 PM, Otto Moerbeek <[email protected]> wrote:
>
> On Tue, Nov 24, 2009 at 03:37:58PM +0100, Andreas Mueller wrote:
>
> > [email protected] wrote:
> > > Hello
> > >
> > > i added theses lines :
> > > pass in on $int_if inet proto { tcp, udp } from any to $gw_obsd port 67
> > > pass in on $int_if inet proto { tcp, udp } from any to $gw_obsd port 68
> > Clients most certainly don't send dhcp request packets to your gateway
> > but to multicast, so set destination to 255.255.255.255.
> >
> > >
> > > my dhcpd.conf is a standard config...
> > > my hostname.bge0 :
> > > inet 192.168.0.1 255.255.255.0 NONE
> > >
> > > if i configure a machine with static ip address, all works fine.
> > > Using DHCP is not possible, pf block it, and i don't understand why...
> > > Can you help me please ?
> >
> > Andreas
>
> No no no, listen to what claudio wrote. dhcp packets are grabbed by
> dhclient or dhcpd before pf sees them.
>
>        -Otto
>

Otto is right, dont keep suggesting things and listen to Claudio's words.

I came across this issue some time ago, i was quite confused on why pf
and dhcpd or dhclient are both on top of bpf device, however after
some thinking everything made sense.

http://onlamp.com/lpt/a/4839 can help inspite being an interview from
2004. Design hasnt changed that much, as far as I know.

Reply via email to