Re: pf integration with dhcpd
On 10/27/17 12:04, Sonic wrote: On Fri, Oct 27, 2017 at 2:48 PM, Carlos Cardenas <cardena...@gmail.com> wrote: On a 6.2-syspatch box, I wanted to start leveraging the pf integration dhcpd pfctl -t dhcpd_X -T show Do you see the current leases in "/var/db/dhcpd.leases"? A "reserved" address would not show up there, nor would it be placed in the leased table. Must truly be a dynamic lease. That's what I thought...operator error. I was expecting entries to appear in tables for reserved addresses as well. Verified everything works (various tables being populated, entries being added/deleted) using dynamic leases. +--+ Carlos
Re: pf integration with dhcpd
On Fri, Oct 27, 2017 at 2:48 PM, Carlos Cardenas <cardena...@gmail.com> wrote: > On a 6.2-syspatch box, I wanted to start leveraging the pf integration dhcpd > pfctl -t dhcpd_X -T show Do you see the current leases in "/var/db/dhcpd.leases"? A "reserved" address would not show up there, nor would it be placed in the leased table. Must truly be a dynamic lease.
pf integration with dhcpd
Howdy. On a 6.2-syspatch box, I wanted to start leveraging the pf integration dhcpd has with the * Abandoned * Changed * Leased tables. In pf, as a first step I added the table definitions: table persist table persist table persist and loaded the rules. Then added the respective flags to dhcpd via rcctl: -A dhcpd_abandoned -C dhcpd_changed -L dhcpd_leased em1 Restarted dhcpd (now noticed that there's a dhcpd: pf table handler process). I booted up some boxes and renewed some other dhcp leases to get some entries in the tables but when I attempted to print them out via pfctl nothing is in them. pfctl -t dhcpd_X -T show pfctl -vvsTables also shows 0 entries for those tables I guessing this is operator error on my part; Arethere any other items I need to do to get it working? Thanks in advance. +--+ Carlos