Re: [uknof] DHCP relay with different ports

2022-06-24 Thread Paul Thornton
On 11/06/2022 14:43, Matthew Newton wrote: I thought we could do this in FreeRADIUS, but it seems not - only the relay server could be set. Have put together a short patch[0] which allows it to be changed. Maybe that helps? After spending a couple of weeks being distracted by other unrelated

Re: [uknof] DHCP relay with different ports

2022-06-11 Thread Andrew Veitch
> There are some pretty lightweight DHCP relays out there could act as a > reasonable starting point to write this in myself; and its looking > increasingly likely I'll have to do that. https://github.com/mirceaulinic/py-dhcp-relay seems to allow different ports to be set for client and server

Re: [uknof] DHCP relay with different ports

2022-06-11 Thread Matthew Newton
On 11/06/2022 14:03, Paul Thornton wrote: On 10/06/2022 14:36, Paul Mansfield wrote: does it have to be aware of the DHCP protocol, or could it be a simple forwarder using socat in UDP mode? Yes it does.  Any solution needs to be higher than layer 4 - the forwarder needs to set the giaddr in

Re: [uknof] DHCP relay with different ports

2022-06-11 Thread Paul Thornton
On 10/06/2022 14:36, Paul Mansfield wrote: On Fri, 10 Jun 2022 at 14:26, Paul Thornton wrote: Does anyone know of a DHCPv4 relay daemon that accepts requests from Thanks for the suggestions folks. Can't really use another box as there's already a router in place - conveniently running Cumul

Re: [uknof] DHCP relay with different ports

2022-06-10 Thread Paul Mansfield
once at PSINet, there were three Pauls working in the same part of the office, Mr Thornton, myself and someone else. across the room, someone called "Paul". we all replied "yes" in perfect sync, they shouted "not you, the other paul", and we all turned back to our computers, and I think the proces

Re: [uknof] DHCP relay with different ports

2022-06-10 Thread Charl Tintinger
[image: image.png] Not odd at all :-) Patrick? On Fri, Jun 10, 2022 at 2:56 PM Paul Civati wrote: > On 10 Jun 2022, at 10:58 am, Paul Thornton wrote: > > Does anyone know of a DHCPv4 relay daemon that accepts requests from > downstream clients on the normal DHCP port, and forwards to a DHCP

Re: [uknof] DHCP relay with different ports

2022-06-10 Thread Paul Civati
On 10 Jun 2022, at 10:58 am, Paul Thornton wrote: > Does anyone know of a DHCPv4 relay daemon that accepts requests from > downstream clients on the normal DHCP port, and forwards to a DHCP server on > an alternate port; and the reverse for replies? > > For example, client sends out DISCOVER o

Re: [uknof] DHCP relay with different ports

2022-06-10 Thread Paul Mansfield
On Fri, 10 Jun 2022 at 14:26, Paul Thornton wrote: > Does anyone know of a DHCPv4 relay daemon that accepts requests from does it have to be aware of the DHCP protocol, or could it be a simple forwarder using socat in UDP mode? you might need to run two socat processes, one for outbound, one to

[uknof] DHCP relay with different ports

2022-06-10 Thread Paul Thornton
Hi all, As usual, I'm trying to do something a bit odd. Does anyone know of a DHCPv4 relay daemon that accepts requests from downstream clients on the normal DHCP port, and forwards to a DHCP server on an alternate port; and the reverse for replies? For example, client sends out DISCOVER on