[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] DHCP over tun?


  • Subject: Re: [Openvpn-users] DHCP over tun?
  • From: Stefan Lüthje <stefan+list@xxxxxxxxxx>
  • Date: Tue, 21 Dec 2004 11:19:47 +0100 (CET)
  • Importance: Normal

Leonard Isham sagte:
> On Mon, 20 Dec 2004 16:55:02 -0700, Hans Fugal <fugalh@xxxxxxxxx> wrote:
>> I love openvpn, but I am uneasy about ifconfig-pool. No doubt many of
>> you will try to convince me it is OK with varying degrees of success,
>> but let's say for the sake of this thread that I want to leave things
>> that DHCP has been doing well for so long up to a DHCP server, and ask
>> openvpn only to do what it does best: VPN.
>>
>> I've done this happily in a bridging setup, but I'm not clear whether
>> it can be done with TUN. TUN being IP-based as it is, I'm guessing
>> it's not possible since communication over the VPN requires routing
>> and all that good stuff.
>>
>> I wonder, though, would it be possible to set up the openvpn as a bona
>> fide DHCP relay?
>>
>> What are your thoughts on this?
>>
>> PS Yes, I can think of things that DHCP does, that we use, that
>> openvpn does not emulate. I think it's silly to emulate DHCP to the
>> point of implementing DHCP if there's a way to work a real DHCP server
>> in there.
>>
>>
>
> First of all the system running OpenVPN would have to support BOOTP
> forwarding, yes DHCP is built on the BOOTP foundation and uses the
> same basic packet.  Aftere that you neeed your DHCP serer correctly
> configured.
>

The easiest way is to build a bridge, start the dhcp-server on the bridge
and than attach all the tun devices to the bridge.


Best Regards

        Stefan Luethje


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users