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

    VLAN interface rule

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 3 Posters 955 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.
    • M Offline
      mobydick426
      last edited by

      Hi guys,

      Can you explain to me this mistake :

      I've a VLAN interface on my pfSense with an IP (1.0.0.1 for example), based on a physical ethernet (eth2 for example).

      When I test a ping from my switch (IP 1.0.0.2 for example) using the VLAN to 10.0.0.1, pfSense blocks the traffic because no rules for eth2.

      But a rule exists on VLAN interface in pfSense !

      Why the packet isn't received directly by VLAN interface (the ICMP is tagged) ?

      I'm using pfSense 2.3.2.

      Thanks in advance

      Regards,

      1 Reply Last reply Reply Quote 0
      • jahonixJ Offline
        jahonix
        last edited by

        How did you connect your VLAN on eth2 to your switch?

        1 Reply Last reply Reply Quote 0
        • johnpozJ Online
          johnpoz LAYER 8 Global Moderator
          last edited by

          Well in your example your pinging the wrong IP ;)  You state your IP is 1.0.0.1 but your pinging 10.0.0.1 heheheeh

          So your switch has an svi in the vlan you connected eth2?  You say its tagged.. How exactly did you validate the packet was tagged? So what is the configuration of the switch port you connected to eth2?

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 25.07.1 | Lab VMs 2.8, 25.07.1

          1 Reply Last reply Reply Quote 0
          • M Offline
            mobydick426
            last edited by

            Hi,

            Thanks for your reply.

            @jahonix:

            How did you connect your VLAN on eth2 to your switch?

            pfSense is a VM (ESXi 6.0) on a group port with VLAN 4095 (all VLAN accepted). Hypervisor is on VLAN 4095 too.

            Hypervisor dont' manage VLAN only VM pfSense.

            The VLAN is configured on pfSense.

            @johnpoz:

            Well in your example your pinging the wrong IP ;)  You state your IP is 1.0.0.1 but your pinging 10.0.0.1 heheheeh

            So your switch has an svi in the vlan you connected eth2?  You say its tagged.. How exactly did you validate the packet was tagged? So what is the configuration of the switch port you connected to eth2?

            Sorry, 1.0.0.1 is a bad entry… 10.0.0.1 is the address used :-)

            On the switch, I send an ICMP on VLAN 10 only to 10.0.0.1, so packet if tagged VLAN 10 to 10.0.0.1.

            Yes switch has a SVI on VLAN (juste for test, I will remove it later).

            Regards,

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