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

    Ping on opt WAN

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 5 Posters 522 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.
    • Q
      querichelli
      last edited by

      Hello there.

      I use 2 different WANs on my PFSense.

      In example below, WAN1 is my default and WAN2 my optional.

      I need to keep WAN1 working, but test WAN2 with ping test for 1hour+, is it possible?

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        Yes.  You use policy routing via firewall rules to determine which traffic goes out which gateway.

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          You can have as many wans as you want to be honest all active at same time if you so desire.  If you want to be able to ping wan2 then setup firewall rule on its interface to allow you to ping it.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

          1 Reply Last reply Reply Quote 0
          • NogBadTheBadN
            NogBadTheBad
            last edited by

            You can specify the source address from the cli :-

            [2.4.3-RELEASE][admin@pfsense]/root: ping -S 172.16.3.1 8.8.8.8
            PING 8.8.8.8 ( 8.8.8.8 ) from 172.16.3.1: 56 data bytes
            64 bytes from 8.8.8.8: icmp_seq=0 ttl=60 time=11.582 ms
            64 bytes from 8.8.8.8: icmp_seq=1 ttl=60 time=11.318 ms
            ^C
            –- 8.8.8.8 ping statistics ---
            2 packets transmitted, 2 packets received, 0.0% packet loss
            round-trip min/avg/max/stddev = 11.318/11.450/11.582/0.132 ms
            [2.4.3-RELEASE][admin@pfsense]/root:

            Andy

            1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

            1 Reply Last reply Reply Quote 0
            • M
              mlsbraves
              last edited by

              @querichelli:

              I need to keep WAN1 working, but test WAN2 with ping test for 1hour+, is it possible?

              Whats the purpose of the Test? If your wanting to test WAN2 specifically for devices behind pfSense than the policy route via firewall rule as suggested would be the way to go. If you just wanting to see the quality of your WAN2 from ping results than I would suggest changing the monitoring IP for that gateway to 8.8.8.8 and let pfSense monitor this for you. This way you can see the current quality of your WAN2 when you login and also check the history of that link by going to Status –> Monitoring. If you haven't done so already, I would suggest doing this for WAN1 as well. In order for failover to work properly this should have already been done but maybe this isn't the purpose for your test.

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