Virtual interface support
name: Virtual interface support
about: with the rise of VTI IPsec usage, there is a need for virtual interface support in dhcp relay.
Is your feature request related to a problem? Please describe.
I would like to use a remote dhcp server and relay request to it threw VTI interfaces.
Describe the solution you'd like
I'd like to have support for virtual interfaces so I can relay dhcp requests threw them.
Describe alternatives you've considered
The only alternative when using VTI is to have a local dhcp server, instead of a remote one. But when you start to have some small remote sites, it's a lot less convenient than simply activate dhcp relay and setting up the ip of the remote server.
Additional context
The attached patch is implementing this for IFT_TUNNEL interface type.
I had some trouble with BPF, getting the whole packet. I was only having the first 67 bytes. I'm not sure why. It was working correctly in a small POC code environnement but not within dhcrelay. I managed do get it works by adding a "load (uint)(-1) into the accumulator" instruction before returning the packet.
We are using this patch in production since march on a dozen of firewalls, it's working well. It's untested except on pfSense/FreeBSD.
Participating in development
I am willing to participate in the feature development, discusions, tests. I will see how to do this on linux. Could I have a project allocation to this intent ?
Contacting you
Here is nice, or github.