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

    Route a network to pfSense which available on a VM

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 2 Posters 1.2k 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
      buomque1
      last edited by

      Hi guys, I need help with my setup.
      My physical server has 2 VMs.
      #1)pfSense VM:
      WAN interface: public IP
      LAN interface: 10.10.10.1
      #2)Windows VM:
      NIC1: 10.10.10.2 (LAN)
      NIC2: 172.16.1.2 (dedicate server physical port)

      Server's physical port is connecting to a Cisco switch, and there are a couple more servers (172.16.1.3-10) which are connecting to this same switch.

      I have troubling reaching 172.16.1.3-10 from pfSense. Is there anyway I could route this IP block to pfSense?

      Thank you for any help.

      alt text

      1 Reply Last reply
      Reply Quote 0
      • N
        netblues
        last edited by

        Well, since your lan interface is on 10.10.10.1 there are two options.
        a. Enable routing on windows, and add a route on pfsense for 172.16.1.0/24 via 172.16.1.2, or add an additional interface on pfsense, on lan 172.16.1.0/24
        Obviously the second is a far better option.

        B 1 Reply Last reply
        Reply Quote 0
        • B
          buomque1 @netblues
          last edited by

          @netblues

          I followed your option #2, went to Virtual IPs and created 172.16.1.1/24 on LAN interface.

          From my Windows VM, i can ping 172.16.1.1, however from pfSense I cannot ping 172.16.1.2.

          Am I missing something?

          N 1 Reply Last reply
          Reply Quote 0
          • N
            netblues @buomque1
            last edited by

            @buomque1 I never said virtual ip. I said another interface on vm
            You can have multiple lan interfaces on pfsense (the main difference from wan interfaces is that there is no gateway defined.)

            B 1 Reply Last reply
            Reply Quote 0
            • B
              buomque1 @netblues
              last edited by

              @netblues

              It works perfectly.

              Thanks a ton!!

              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy