View Single Post
Old 29th June 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Consider:
  • netstart(8) executed without any options will start all network interfaces defined in hostname.if(5) files.
  • netstart(8) is executed by rc(8) at boot time.
Adding or deleting a hostname configuration file will only have an impact:
  • at boot
  • if the admin -- you -- run netstart(8) yourself
The book I mentioned above? It used an example that changed PF configuration based on time of day, via cron(8). Why don't you consider this?



No gyrations with network interface configurations would be needed if you elected to control access using PF -- and if you think about it, that's what PF is for. In the book's example, the contributor controlled the time window for internet access for a single workstation .. but you could do the same for an entire subnet, just as easily.
Reply With Quote