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

Re: [Openvpn-users] DHCP over tun?

  • Subject: Re: [Openvpn-users] DHCP over tun?
  • From: Leonard Isham <leonard.isham@xxxxxxxxx>
  • Date: Mon, 20 Dec 2004 23:01:38 -0500

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

Leonard Isham, CISSP 
Ostendo non ostento.

Openvpn-users mailing list