Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    MAC address craziness

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 2 Posters 2.4k 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
      michelangelo
      last edited by

      …or ARP adventures.

      I have dual wan setup, made following step-by-step the howto:

      LAN -> 192.168.1.1
      WAN1 -> 192.168.2.2, router1 192.168.2.1
      WAN2 -> 192.168.3.2, router2 192.168.3.1

      router1 MAC: xx:xx:xx:xx:xx:12
      router2 MAC: xx:xx:xx:xx:xx:13

      the two routers are connected directly to pfsense.

      I had set up a Load balancing pool, two failovers and all the firewalling rules as in the tutorial, using 1.2RC4 on a Dell 860. The only difference is that I made up my own NAT rules, but identical to the default ones (i used pfctl -sn to see the autogenerated ones). I have sticky connections on. It worked flawlessly for a couple days, and I could test over and over the load balancer / failover.
      Then, this morning, I decided to change the hostname from the default pfSense to something else (firewall). To my astonishment, I could not reach anymore the internet. No pings, nothing. But I could reach the routers (and ping them). This situation seemed to resolve by itself in 10/15 minutes. After another 15/20 minutes of working - whomp - nothing. Can reach the routers but no internet! AND I can reach the router's monitor, since all the links are marked UP in the load balancer page (I can ping the monitor, too, from my machine).
      So I started dumping traffic between pfsense and router1. If I send a ping out I get this on the cable:

      IP 192.168.2.2 > [remote_host]: ICMP echo request, id 41528, seq 1, length 64
      IP 192.168.2.2 > [remote_host]: ICMP echo request, id 41528, seq 2, length 64
      IP 192.168.2.2 > [remote_host]: ICMP echo request, id 41528, seq 3, length 64

      but no response. Dumping traffic ON the router shows that it gets NO incoming traffic! How is this possible?? I had the answer "unpacking" a bit more the packets on the cable from pfsense to router1:

      [WAN1_MAC] > xx:xx:xx:xx:xx:13, ethertype IPv4 (0x0800), length 98: 192.168.2.2 > [remote_host]: ICMP echo request, id 16778, seq 1, length 64
      [WAN1_MAC] > xx:xx:xx:xx:xx:13, ethertype IPv4 (0x0800), length 98: 192.168.2.2 > [remote_host]: ICMP echo request, id 16778, seq 2, length 64
      etc…

      Yes it is as it seems: pfsense is sending the packet out of the right interface with the right source ip and mac but with the WRONG destination MAC! I bet I don't see anything on the router!
      Obviously it is done the same for router2. The ARP tables remain always correct (the ones shown on the webif).
      Any ideas?

      Thanks,
      Rodolfo

      1 Reply Last reply
      Reply Quote 0
      • S
        sai
        last edited by

        really weird stuff (like this) usually means hardware problems: memory, power supply….

        1 Reply Last reply
        Reply Quote 0
        • M
          michelangelo
          last edited by

          Mmh.. I'm inclined now to think it may be a problem with sticky conns… If I disable them everything works fine.
          Is it some doc that talks about manual nat + sickies? Maybe I did something wrong

          Cheers,
          Rodolfo

          1 Reply Last reply
          Reply Quote 0
          • S
            sai
            last edited by

            similar problem discussed here: http://forum.pfsense.org/index.php/topic,6204.0.html

            1 Reply Last reply
            Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
            Privacy Policy · Cookie Policy