Network connection error in virtualbox



  • 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.


  • Netgate Administrator

    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



  • 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)



  • 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)


  • Netgate Administrator

    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



  • 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.


  • Netgate Administrator

    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


Locked