Hi,
I setupped a virtual IP for my zabbix and agents listen to it. However I have some agent in same LAN of zabbix so, for that hosts, I use a private IP. I've added the IP in ListenIP and the virtual IP as SourceIP in order to avoid to use the real pubblic IP. But Zabbix uses the virtual IP for LAN too so the agents don't reply. How can I tell to Zabbix to use the virtual IP for public agents and LAN ip for private agents? If I remove SourceIP, private agents work with the private IP but the public agents receive packets from the real IP instead of the virtual IP.
I setupped a virtual IP for my zabbix and agents listen to it. However I have some agent in same LAN of zabbix so, for that hosts, I use a private IP. I've added the IP in ListenIP and the virtual IP as SourceIP in order to avoid to use the real pubblic IP. But Zabbix uses the virtual IP for LAN too so the agents don't reply. How can I tell to Zabbix to use the virtual IP for public agents and LAN ip for private agents? If I remove SourceIP, private agents work with the private IP but the public agents receive packets from the real IP instead of the virtual IP.
Comment