[Kea-users] Force subnet selection for specific interface

Branimir Rajtar branimir.rajtar at 5x9networks.com
Mon Jul 1 15:11:12 UTC 2024


Hi Darren,

Thanks for responding and sorry for replying so late, this mail ended up in my spam folder.

Yes, the traffic is relayed. I was actually thinking of a case where the relay IP address is the same on traffic received on both interfaces. For example, if you have different VRFs on different interfaces. On the underlaying Linux of the KEA server, the VRFs don't need to be configured at all, but I might want to handle the DHCP server for multiple VRFs from the same server. In this case, it would make sense to force certain subnets to listen only on specific interfaces.

Regards,
Branimir

From: Kea-users <kea-users-bounces at lists.isc.org> on behalf of Darren Ankney <darren.ankney at gmail.com>
Date: Sunday, 23 June 2024 at 12:25
To: Kea user's list <kea-users at lists.isc.org>
Subject: Re: [Kea-users] Force subnet selection for specific interface
Hi Branimir,

Is the traffic being relayed?  I can't think why subnets would be
available on multiple interfaces unless the interfaces are bonded for
local broadcast traffic.

On Thu, Jun 20, 2024 at 8:40 AM Branimir Rajtar
<branimir.rajtar at 5x9networks.com> wrote:
>
> Hi,
>
>
>
> I was trying to force subnets just to respond on specific interfaces, if more are available, but no luck – the keyword „interface“ doesn't seem to do anything under the subnet4 tree, here is an example:
>
> "subnet4": [
>
>       {
>
>         "subnet": "192.168.1.0/24",
>
>         "interface": "eth2",
>
>         "pools": [
>
>           {
>
>             "pool": "192.168.1.10 - 192.168.1.100"
>
>           }
>
>         ]
>
> }
>
> }
>
> This is a regular subnet, not a shared one. Even if „eth2“ is configured, requests received from other interfaces are replied to.
>
>
>
> Is there any other way or best practice for this?
>
>
>
> Regards,
>
> Branimir
>
>
>
> --
> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
>
> To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.
>
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
--
ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.

To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users.

Kea-users mailing list
Kea-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20240701/a91156e7/attachment.htm>


More information about the Kea-users mailing list