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

    Routing VLAN traffic

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 3 Posters 912 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.
    • L Offline
      LoonixTarballs
      last edited by

      Hi.

      I'm doing some network programming and to test my code I need to send crafted Ethernet frames from one network segment and receive them on a different network segment.
      My network topology looks like this:

      A –- B --- C

      A and C are Windows VMs and B is a pfSense VM. AB and BC are two separate network segments. All firewalling between A and C has been disabled and they can ping each other just fine.
      A sends my packets and C is supposed to receive them. The packets look like this (RFC 7348):

      Ethernet | VLAN | IPv4 | UDP | VXLAN | encapsulated traffic
      Ethernet | VLAN | IPv4 | fragmented traffic

      Now, my problem is that pfSense is not routing my packets from AB to BC. Running Wireshark on A I see some flooding, but I can't tell if that's a bug in my code or if pfSense is bouncing my packets back to A.

      How can I get pfSense to route my packets? Note that pfSense must not decapsulate the traffic. I believe I'm not trying to set up a VLAN in pfSense, but rather I'm just routing traffic between a segmented VLAN.

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

        Windows firewall by default blocks traffic from other networks than its own. Did you check that?

        1 Reply Last reply Reply Quote 0
        • L Offline
          LoonixTarballs
          last edited by

          I disabled the firewalls on both endpoints. And anyway the outer IP header is correct. I seriously doubt Windows supports VXLAN decapsulation. And even if it did, I should at least be able to see the packets arriving in Wireshark, as long as pfSense is routing them and setting the destination MAC correctly.

          1 Reply Last reply Reply Quote 0
          • T Offline
            TheSypHunterGeneral
            last edited by

            Were are you running wireshark?

            I would try a packet capture on the pfsense interfaces and compare what is arriving to what it leaving,

            also trying looking over the pfsense logs, if it is doing anything to the packets and erroring it should so up here
            status > system > routing

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