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

    Network connection error in virtualbox

    Scheduled Pinned Locked Moved Hardware
    7 Posts 2 Posters 2.9k 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.
    • N
      Netman
      last edited by

      Hi everybody,
      I tested pfsense in virtual lab by using gns3 virtual box edition and I found network connection error between two guest OS.
      I couldn't ping to each other. Ping result was destination host unreachable. And then, I also tried pfsense network setting to
      bridge mode and tested my real network.Unlucky the result was same. :(
      Although network interface is ok in pfsense, couldn't connect to other guest OS and real network.
      Pls help me.
      Thanks.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Probably some network configuration error.
        Please give us more details. Particularly the IP address, subnet mask and gateway of your pfSense WAN and LAN interfaces and of the two client machines that are not connecting.

        Steve

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

          Hello Stephenw10>>
          Here is my configuration details.
          please see my attachment files.
          Thanks

          ![PFsense networkcard setting.JPG](/public/imported_attachments/1/PFsense networkcard setting.JPG)
          ![PFsense networkcard setting.JPG_thumb](/public/imported_attachments/1/PFsense networkcard setting.JPG_thumb)
          ![Windows7 networkcard setting.JPG](/public/imported_attachments/1/Windows7 networkcard setting.JPG)
          ![Windows7 networkcard setting.JPG_thumb](/public/imported_attachments/1/Windows7 networkcard setting.JPG_thumb)

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

            Hello Stephenw10>>
            please see my next attachment files.
            Thanks

            ![ip setting.JPG](/public/imported_attachments/1/ip setting.JPG)
            ![ip setting.JPG_thumb](/public/imported_attachments/1/ip setting.JPG_thumb)
            ![communication error.JPG](/public/imported_attachments/1/communication error.JPG)
            ![communication error.JPG_thumb](/public/imported_attachments/1/communication error.JPG_thumb)

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Ok.
              It looks like you have pfSense setup correctly. At least a workable configuration.
              How is the Windows 7 client receiving it's IP address, DHCP?

              It looks like a problem with the virtual NIC connections. I'm unfamiliar with Virtualbox but it looks like you have all three NICs, 2 from pfSense and 1 from Win7, bridged to the same real NIC in the host.  :-
              What I expect to see is the pfSense LAN NIC and the Win7 NIC connected via a virtual switch and are not connected to a real NIC at all.

              Steve

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

                I configured Windows 7 client NIC with manual IP configuration not via DHCP because IP address can't able to receive via DHCP.
                I think it will be unsupportable NIC in PFsense. I configured all the same setting with my laptop is all ok.
                I tested networking configuration with bridge mode via real NIC in Linux, Windows guest machines. All are fine, no problem communication.
                Thanks.

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  How many NICs do you have in the machine running VirtualBox?

                  It looks like you have the pfSense WAN and LAN bridged to the same real NIC. You can't do that.

                  Steve

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