dhcp-relay over tun interface - solution?

Shane Kerr shane at isc.org
Thu Jan 2 17:21:04 UTC 2014


Stefan,

On Thu, 19 Dec 2013 09:13:52 +0100
Stefan Bauer <stefan.bauer at cubewerk.de> wrote:

> we want to use the dhcp-relay binary to relay over a openvpn tunnel
> interface:
> 
> 12: tunTEST: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc
> pfifo_fast state UNKNOWN qlen 100 link/none
>     inet 1.2.3.6 peer 1.2.3.5/32 scope global tunTEST
>        valid_lft forever preferred_lft forever
> 
> 
> How can we achieve this?
> 
> I found this 
> 
> http://kabru.eecs.umich.edu/bin/view/Main/DhcpRelayUseSocket
> 
> but the patch is not working with newer releases.

With the latest DHCP you should be able to enable sockets via an option
to the ./configure script:

$ ./configure --enable-use-sockets

That should do the same thing as the patch there.

Good luck!

--
Shane


More information about the dhcp-hackers mailing list