Two relay agents (cisco) for public addresses .193 and .194 and one relay (cisco) .198 for private addresses.
All listen on the same vlan, networks are different. agents for public addresses are redundant and always only one server relay dhcp to KEA.
When client sends DISCOVER kea gets request from both relay agents, one from public .194 and one from private .194. In log, I see that proper address from proper network was assigned but KEA sends OFFER to .194 this helper doesn't have private address so discards packet.
I moved my configuration to GNS3 to check configuration, according to documentation I removed shared-networks to subnet4.
Now I have one relay's agent which has two interfaces with different subnets. On both subnet I have client with the same mac address "service computer". I want when client connects to one subnet get address from that subnet, when connects to other subnet get address from other subnet. Common thing is the same mac address