Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Packet loss when pinging Carp vip

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    3 Posts 1 Posters 584 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      olavM
      last edited by

      Hello !

      I have packet loss problems with a vip carp on a private lan.
      The configuration I set up is the following:
      network address: 10.10.10.0/24
      pfsense-1 : 10.10.10.2/24 (LAN interface)
      pfsense-2 : 10.10.10.3/24 (LAN interface)
      Carp vip defined on pfsense-1 : 10.10.10.1/24 (LAN interface)

      This vip appears on pfsense-2 (xmlrpc sync) with a skew increased by 100.

      Outbound Nat rule:
      Interface: LAN
      Source: Any
      Destination: 10.10.10.0/24
      Translation: Address: 10.10.10.1
      The firewall allows all traffic on the LAN interface.

      When I ping the pfsense-1 ip from a machine on the 10.10.10.0/24 network, it works fine.
      But when I ping the carp vip, I get a lot of packet loss:
      olav@client-1:~$ ping 10.10.10.1
      PING 10.10.10.1 (10.10.10.1) 56(84) bytes of data.
      64 bytes from 10.10.10.1: icmp_seq=3 ttl=64 time=0.939 ms
      64 bytes from 10.10.10.1: icmp_seq=5 ttl=64 time=0.597 ms
      64 bytes from 10.10.10.1: icmp_seq=6 ttl=64 time=0.537 ms
      64 bytes from 10.10.10.1: icmp_seq=7 ttl=64 time=0.574 ms
      64 bytes from 10.10.10.1: icmp_seq=8 ttl=64 time=0.379 ms
      64 bytes from 10.10.10.1: icmp_seq=9 ttl=64 time=0.438 ms
      64 bytes from 10.10.10.1: icmp_seq=11 ttl=64 time=1.16 ms
      64 bytes from 10.10.10.1: icmp_seq=12 ttl=64 time=0.534 ms
      64 bytes from 10.10.10.1: icmp_seq=13 ttl=64 time=0.546 ms
      ^C
      --- 10.10.10.1 ping statistics ---
      13 packets transmitted, 9 received, 30.7692% packet loss, time 236ms
      rtt min/avg/max/mdev = 0.379/0.633/1.156/0.236 ms

      Does anyone know what mistake I may have made in configuring this vip? Or how to diagnose the problem?

      Thank you,

      OlavM

      1 Reply Last reply Reply Quote 0
      • O
        olavM
        last edited by

        Both of the routers show as Master for this vip.
        Does anyone have any idea what may cause tis problem ?

        1 Reply Last reply Reply Quote 0
        • O
          olavM
          last edited by

          I have just realized that I had the mtu set to 9000 everywhere except on the routers. Setting it to 9000 on the routers solved the problem...

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.