Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Virtual IP questio : traffic to a VIP doesnt seem to route

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    4 Posts 2 Posters 180 Views 2 Watching
    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.
    • B Offline
      boumacor
      last edited by

      To setup a switch (factory 192.168.1.3 for the management interface) I need to add a temporary ip address (192.168.1.4) on a regular interface (vlan 10 on a intel networkcard, 192.168.4.0/24). Using VIP I have added the temporary ip address (192.168.1.4/24) to the interface and this seems to work. From the pFsense firewall I can ping and portscan the switch (192.168.1.3).

      My management PC is on a different interface (172.26.9.50/24). On this interface there is an IP floating rule to allow all ipv4 traffic to anywhere. This work fine for the other devices on the regular interface (192.168.4.0/24). From the management system I can not reach the 192.168.1.3 device. In the logging I can see it accepts the traffic to the 192.168.1.3 address. In the routing information

      The Nat settings are default (Automatic outbound NAT rule generation). The pfsense is connected to 2 WAN interfaces (failover mode, works fine).

      What am I missing? Why can’t I reach the 192.168.1.3 device?

      SteveITSS 1 Reply Last reply Reply Quote 0
      • SteveITSS Offline
        SteveITS Rebel Alliance @boumacor
        last edited by

        @boumacor Is there a firewall on the 192.168.1.3 device and/or does it allow connections from 172.26.9.50/24?

        To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
        Only install packages for your version of pfSense.
        Upvote 👍 helpful posts!

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          boumacor @SteveITS
          last edited by

          @SteveITS Thanks for your answer. The switch is an Zyxel GS1200-5HP v2, there should not be a firewall. Is the configuration of the pFsense firewall "in the right direction" ?

          SteveITSS 1 Reply Last reply Reply Quote 0
          • SteveITSS Offline
            SteveITS Rebel Alliance @boumacor
            last edited by

            @boumacor I'm not a huge fan of floating rules if they can be set as regular rules, since the, er, rules change for floating. Just to maintain clarity. However if the rule triggers and a state is open you're through pf.

            Does the pfSense routing table show a route for the 192.168.1.0/24 subnet?

            I would still be suspicious of the switch ignoring traffic outside its own subnet unless you're sure it will allow it. You could set an IP on some other device and ping it, to check the connection through pfSense.

            To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
            Only install packages for your version of pfSense.
            Upvote 👍 helpful posts!

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