DHCP client daemon autostart for both v4 and v6

Romskie L rslaranjo at gmail.com
Mon Dec 26 03:25:54 UTC 2011

On Sat, Dec 24, 2011 at 5:20 PM, Simon Hobson <dhcp1 at thehobsons.co.uk> wrote:
> Does FreeBSD have anything like the "up" and "post-up" options that Debian
> has in it's network config ? With these, you can have the network scripts
> automatically execute arbitrary commands on various events (pre-up, post-up,
> pre-down, post-down, etc) - so you could just add something like "post-up
> dhclient ..."

definitely you can do this also in FreeBSD. You can modify the order
in which rc scripts are being executed. the order rule is placed at
the rc script itself and you can see the order by using the rcorder

> Alternatively, if if up/down is handled by a script, would it be easier to
> customise the script to call dhclient twice after bringing up an interface ?
> --
> Simon Hobson
> Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
> author Gladys Hobson. Novels - poetry - short stories - ideal as
> Christmas stocking fillers. Some available as e-books.
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users

More information about the dhcp-users mailing list