Ad Widget

Collapse

Failover IP with LAN IP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mattia
    Junior Member
    • Oct 2019
    • 3

    #1

    Failover IP with LAN IP

    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.
  • Mike2K
    Member
    • Oct 2018
    • 62

    #2
    Why not use a DNS name ?

    Comment

    • Mattia
      Junior Member
      • Oct 2019
      • 3

      #3
      Originally posted by Mike2K
      Why not use a DNS name ?
      What do you mean? The problem is not how to reach zabbix but how zabbix sends packets.
      Anyway, I solved through SNAT in my firewall.

      Comment

      • Mike2K
        Member
        • Oct 2018
        • 62

        #4
        Originally posted by Mattia

        What do you mean? The problem is not how to reach zabbix but how zabbix sends packets.
        Anyway, I solved through SNAT in my firewall.
        Sorry, I misunderstood your problem. Good to know you solved it.

        Comment

        Working...