Re: ratble and rdomain support on dhcpd and openvpn

2016-07-18 Thread Difan Zhao
Great ideas! Thank you Pierre! -Original Message- From: BARDOU Pierre [mailto:bardo...@mipih.fr] Sent: Monday, July 18, 2016 8:51 AM To: Difan Zhao Cc: misc@openbsd.org Subject: RE: ratble and rdomain support on dhcpd and openvpn Hi, OpenVPN does not support rdomains and probably never

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-18 Thread BARDOU Pierre
rre BARDOU -Message d'origine- De : Difan Zhao [mailto:difan.z...@pason.com] Envoyé : vendredi 15 juillet 2016 21:35 À : Chris Cappuccio Cc : Pierre Emeriaud ; misc@openbsd.org Objet : Re: ratble and rdomain support on dhcpd and openvpn Thank you sir! So I probably just stick

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-15 Thread bytevolcano
Kapetanakis Giannis wrote: On 15/07/16 22:34, Difan Zhao wrote: Thank you sir! So I probably just stick with my hacking approach and wait for the 6.0. I see that will come in November so not too much waiting. So any idea how the openvpn might start to support rtable or rdomain? Thanks, Difan

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-15 Thread Kapetanakis Giannis
On 15/07/16 22:34, Difan Zhao wrote: Thank you sir! So I probably just stick with my hacking approach and wait for the 6.0. I see that will come in November so not too much waiting. So any idea how the openvpn might start to support rtable or rdomain? Thanks, Difan OpeBSD -current (snapshots

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-15 Thread Difan Zhao
...@nmedia.net] Sent: Friday, July 15, 2016 11:07 AM To: Difan Zhao Cc: Pierre Emeriaud ; misc@openbsd.org Subject: Re: ratble and rdomain support on dhcpd and openvpn Difan Zhao [difan.z...@pason.com] wrote: > Hi Pierre, > > I just upgraded the soekris box to openbsd 5.9 however I am still h

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-15 Thread Chris Cappuccio
Difan Zhao [difan.z...@pason.com] wrote: > Hi Pierre, > > I just upgraded the soekris box to openbsd 5.9 however I am still having the > problem setting the rtable... > This requires OpenBSD 6.0 which is not yet released. You can use snapshots at http//ftp.openbsd.org/pub/OpenBSD/snapshots/am

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-14 Thread Difan Zhao
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 Cc: Chris Cappuccio ; misc@openbsd.org Subject: Re: ratble and rdom

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-12 Thread Pierre Emeriaud
2016-07-13 1:37 GMT+02:00 Difan Zhao : > 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"

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-12 Thread Difan Zhao
an Zhao Cc: Pierre Emeriaud ; misc@openbsd.org Subject: Re: ratble and rdomain support on dhcpd and openvpn Difan Zhao [difan.z...@pason.com] wrote: > Thanks Pierre! However the command does not work for me... Do I need to upgrade my openbsd box? I am on 5.8 right now. > > # rcctl set dhcp

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-12 Thread Chris Cappuccio
Difan Zhao [difan.z...@pason.com] wrote: > Thanks Pierre! However the command does not work for me... Do I need to > upgrade my openbsd box? I am on 5.8 right now. > > # rcctl set dhcpd rtable 200 > usage: rcctl [-df] action|get|getdef|ls|order|set > [service | daemon [variable [a

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-12 Thread Difan Zhao
...@gmail.com] On Behalf Of Pierre Emeriaud Sent: Tuesday, July 12, 2016 12:53 AM To: Difan Zhao Cc: misc@openbsd.org Subject: Re: ratble and rdomain support on dhcpd and openvpn 2016-07-12 7:41 GMT+02:00 Difan Zhao : > > So I have been playing with rdomain and I am able to get dhcp and >

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-12 Thread Gregor Best
Ahoy, > [...] > Same for the openVPN. I use privateinternetaccess service. I ran > "openvpn US\ Seattle.ovpn" to start the vpn and that gives me the tun0 > with IP on it. Then I have run the following to move the tun0 to the > rdomain200 manually. > [...] > However, when the openvpn times

Re: ratble and rdomain support on dhcpd and openvpn

2016-07-11 Thread Pierre Emeriaud
2016-07-12 7:41 GMT+02:00 Difan Zhao : > > So I have been playing with rdomain and I am able to get dhcp and openvpn > working but with some hacking. I am seeking a proper way to do this. rcctl(8) is the way to go: # rcctl set dhcpd rtable 200 # rcctl get dhcpd dhcpd_class=daemon dhcpd_flags= d

ratble and rdomain support on dhcpd and openvpn

2016-07-11 Thread Difan Zhao
Hi folks, I am new to openbsd and I like it a lot. I am able to setup my first soekris box (OpenBSD 5.8) myself however now I ran into some problems with rtable or rdomain First of all, I can't really understand the difference between the two. I know that rdomain can have multiple rtables. One in