Attempting to enable dhcrelay to run via rc.conf.local is barfing.


Specifically running the daemon interactively seems happy:



$ sudo dhcrelay -i fxp3 192.168.100.6

$

$ ps -ax | grep dhcrelay

31341 ??  Is      0:00.00 dhcrelay -i fxp3 192.168.100.6

$



Subsequently, my DHCP server now responds to DHCP request from this
segment on fxp3. Life is good.



However attempting to configure for start upon reboot fails:



$ cat /etc/rc.conf.local | grep dhcrelay

dhcrelay_flags="-i fxp3 192.168.100.6"



*INSERT REBOOT HERE*



$ ps -ax | grep dhcrelay

$

$ more /var/log/daemon | grep dhcrelay

Jan  4 16:11:49 fw01 dhcrelay: fxp3: host unknown

Jan  4 16:11:49 fw01 dhcrelay: no interface given

Jan  4 16:11:49 fw01 dhcrelay: exiting.

Jan  4 16:11:57 fw01 dhcrelay: Can't find free bpf: Permission denied

Jan  4 16:11:57 fw01 dhcrelay: exiting.

Jan  4 16:12:12 fw01 dhcrelay: Can't find free bpf: Permission denied

Jan  4 16:12:12 fw01 dhcrelay: exiting.

Jan  4 16:14:25 fw01 dhcrelay: Can't find free bpf: Permission denied

Jan  4 16:14:25 fw01 dhcrelay: exiting.

Jan  4 17:00:54 fw01 dhcrelay: Can't find free bpf: Permission denied

Jan  4 17:00:54 fw01 dhcrelay: exiting.

Jan  4 17:12:58 fw01 dhcrelay: connect: Address already in use

Jan  4 17:12:58 fw01 dhcrelay: exiting.

$



Haven't found much online about others dealing with this. Man pages for
dhcrelay, rc.conf.local, etc...  haven't yielded much either.



Any pointers and or RTFM suggestions appreciated.



-sc

Reply via email to