Solved: Cannot ping device or print to device connected to different VLANS

  • Pfsense 2.02. HP 1910-48G switch with single connection to Pfsense.

    All devices on Vlans can access the internet and ping and print to devices on the same Vlan, but cannot ping or print to devices located on different Vlans.

    Created rules to allow traffic between Vlans.

    Did a Diag>Packet capture, interface Vlan 10 (vlan with HP laser printer Traffic appears to be passing from Vlan 50 to Vlan 10 but device on Vlan 50 is not getting a reply.

    Checked the states table.

    Screenshots attached.

    client on Vlan 50

    printer on vlan 10

    client cannot ping printer

    Pfsense can ping both devices.

    Any advice is appreciated.

    ![packet capture.png](/public/imported_attachments/1/packet capture.png)
    ![packet capture.png_thumb](/public/imported_attachments/1/packet capture.png_thumb)
    ![fw rules 50.png](/public/imported_attachments/1/fw rules 50.png)
    ![fw rules 50.png_thumb](/public/imported_attachments/1/fw rules 50.png_thumb)

  • This one sounds like the gateway on the printer is not set to the pfsense machine.

  • Thanks for that. Here is a screenshot of the printer setup. It looks correct, gateway is which is the interface Ip for Vlan 10.

    The strange thing is which is on vlan 10 can ping, the interface for vlan 50, but cannot ping which is on vlan 50 can ping, the interface for vlan 10, but cannot ping, the HP laser.

    Everything can ping everything on it's same Vlan.

    ![hp printer.png](/public/imported_attachments/1/hp printer.png)
    ![hp printer.png_thumb](/public/imported_attachments/1/hp printer.png_thumb)

  • One more thing.

    The disconnect seems to be between Pfsense and the HP 1910 48G switch.

    What I cannot explain is Pfsense is communicating with two of the seven vlans.

    Workstations on any vlan can ping all devices on their own vlan and and (the 1910) but cannot ping,,, or although they are all connected via a single lan cable from Pfsense to the 1910.

  • Can a host on vlan50 get to another host on vlan10? If so it would indicate the even though set, the default gateway is ignored and is GUI only.

  • Hosts on vlan50 cannot get to other hosts on vlan10. Traffic stops at pfsense and does not get to the 1910 switch.

    This appears to be being caused by captive portal. Disabled CP on vlan 50 and host on vlan 50 can ping and print to printer on vlan 10.

    MAC address of host on vlan50 was already exluded from CP.

    I will try excluding the MAC address of the HP printer in CP, turn on CP for vlan 50 and see if I can ping/print.

    What is the best way to exclude a single device from CP such as a printer? Should I add the MAC address of the 1910 switch as an excluded device?

    Thanks for your help!

  • Looks like it was captive portal. I added the IP's for the Vlan networks to the third tab on CP.

    I will test, mark as solved and add screen shots as it appears to be working now.

Log in to reply