Hi Pierre, 

I just upgraded the soekris box to openbsd 5.9 however I am still having the 
problem setting the rtable...

# uname -a
OpenBSD covebsd.cove.net 5.9 GENERIC#1561 i386

# rcctl set dhcpd200 rtable 200
usage:  rcctl get|getdef|set service | daemon [variable [arguments]]
        rcctl [-df] action daemon ...
        rcctl disable|enable|order [daemon ...]
        rcctl ls lsarg

same for the original dhcpd service...

# rcctl set dhcpd rtable 200
usage:  rcctl get|getdef|set service | daemon [variable [arguments]]
        rcctl [-df] action daemon ...
        rcctl disable|enable|order [daemon ...]
        rcctl ls lsarg

silly question, where can I find a list of dhcpd options that I can set? Is 
that just what "rcctl get" lists?

# rcctl get dhcpd
dhcpd_class=daemon
dhcpd_flags=vr1
dhcpd_timeout=30
dhcpd_user=root

Also how do I find out my dhcpd version? "dhcpd --version" does not work for 
me...

Thanks guys!
Difan

-----Original Message-----
From: petrus...@gmail.com [mailto:petrus...@gmail.com] On Behalf Of Pierre 
Emeriaud
Sent: Tuesday, July 12, 2016 11:33 PM
To: Difan Zhao <difan.z...@pason.com>
Cc: Chris Cappuccio <ch...@nmedia.net>; misc@openbsd.org
Subject: Re: ratble and rdomain support on dhcpd and openvpn

2016-07-13 1:37 GMT+02:00 Difan Zhao <difan.z...@pason.com>:
> Thank you Chris! I come from the Cisco world with a little Linux experience 
> but It does make sense to me. It looks like I could run two DHCP processes 
> this way.
>
> However the problem is that I still can't set the rtable.. Also tried the 
> "rdomain" but got the same error. It took the "set flag" command though. I 
> also tried "rcctl set dhcpd200 status on" and it took it too.
>
> Is it problem with my openbsd or dhcpd version?

rcctl table needs a fairly recent openbsd. Not sure if it was already in 5.9, 
I'm using -current.

Reply via email to