Send dhcp-users mailing list submissions to dhcp-users@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/dhcp-users or, via email, send a message with subject or body 'help' to dhcp-users-requ...@lists.isc.org You can reach the person managing the list at dhcp-users-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of dhcp-users digest..." Today's Topics: 1. Re: Multiple dhcp relay process (Simon Hobson) ---------------------------------------------------------------------- Message: 1 Date: Thu, 6 May 2021 18:17:08 +0100 From: Simon Hobson <dh...@thehobsons.co.uk> To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: Multiple dhcp relay process Message-ID: <2a31d823-ccef-46a1-9666-0085f7d5c...@thehobsons.co.uk> Content-Type: text/plain; charset=us-ascii Renuka Devi <renukar...@gmail.com> wrote: > Do we have to enable any flags or modify ISC dhcp relay code to make it > working ? Asa far as I know (I don't use it myself, but it shares code with the client and server), all you have to do is invoke it with arguments that mean each instance uses different config, PID, etc files. I suspect most distro startup files don't allow for this, so you'll be needing to roll your own. There is one area I don't know about. I thought that the relay agent might have to listen on the interface through which it talks to the server - but I'm not sure about that. If it does, then the upstream interfaces need to be different. But it's also possible that it uses ordinary unicast packets passed through the hosts IP stack to talk to the server(s). I raise this as I have a vague memory of seeing issues with this discussed here, but it's only vague. Hopefully someone with a better grasp can shed some light. So as I read the man page, and if it uses the host IP stack, then you'd invoke the different instances like this : dhcrelay -4 [some options] -i eth0 -i eth1 192.168.1.123 dhcrelay -4 [other options] -i eth2 192.168.57.66 I see it doesn't have a config file or any storage (leases file), so those problems are gone. If your process management system uses PID files, then you'll need to make sure that they are different. Simon ------------------------------ Subject: Digest Footer _______________________________________________ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. dhcp-users mailing list dhcp-users@lists.isc.org https://lists.isc.org/mailman/listinfo/dhcp-users ------------------------------ End of dhcp-users Digest, Vol 151, Issue 2 ******************************************