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

    Changing WAN MAC Address (Solved)

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 3 Posters 3.5k 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.
    • NollipfSenseN
      NollipfSense
      last edited by NollipfSense

      What is the best way to change the WAN's Mac address? I tried both at the CLI and via webconfig's WAN interface tab unsuccessfully and I end up with WAN having both a hardware Mac address and an ether Mac address. When this happens, dpinger gets stuck in error 65 - no route to host, then the pfSense box takes, what seems forever, to complete the boot up process. That results in WAN having or getting no public IP and often ends up with 0.0.0.0 or n/a. I would like to change because I keep getting pfB_PRI1_v4 members trying to make TCP or UDP request to connect to my old PBX server address a year ago that doesn't exist...yes, I know they're not going anywhere...they seems to take over my firewall logs with entries.

      igb0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
      description: WAN
      options=9100b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWFILTER,NETMAP>
      ether 3b:80:cd:5d:87:38
      hwaddr a0:36:9f:09:b0:3c
      inet6 fe80::4ecc:6aff:fe10:ed93%igb0 prefixlen 64 scopeid 0x2
      inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
      media: Ethernet autoselect (1000baseT <full-duplex>)
      status: active
      nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

      pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
      pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        That's what it;s supposed to look like when you spoof the MAC. And via the WAN config in the GUI is where you should do it.

        You are doing this just so you get a different public WAN IP?

        Steve

        NollipfSenseN 1 Reply Last reply Reply Quote 0
        • NollipfSenseN
          NollipfSense @stephenw10
          last edited by NollipfSense

          @stephenw10 said in Changing WAN MAC Address:

          You are doing this just so you get a different public WAN IP?

          Yes, Yes, Yes...how to? Had been wondering whether my ISP locked that address to my modem since it's my own. I had placed an Apple Extreme in front just to see whether I would get a different address, and I did.

          pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
          pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

            @nollipfsense said in Changing WAN MAC Address:

            ISP locked that address to my modem since it's my own.

            You sure its a modem and not a gateway? Do you get an actual public IP on pfsense wan?

            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 24.11 | Lab VMs 2.7.2, 24.11

            NollipfSenseN 1 Reply Last reply Reply Quote 0
            • NollipfSenseN
              NollipfSense @johnpoz
              last edited by

              @johnpoz said in Changing WAN MAC Address:

              You sure its a modem and not a gateway? Do you get an actual public IP on pfsense wan?

              Yes, pfSense gets a public IP but it seems it was the same address before the ISP and me war a year ago.

              pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
              pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

                @nollipfsense well if you are on a dhcp normal sort of leasing, changing the mac of the device connected to your cable modem should change your IP.

                Most of time with a cable modem, and you change the device (or mac of this device) you need to power cycle the modem and then connect the new device or device that you changed the mac on.

                What I would do is disconnect pfsense from your modem. Power cycle the modem - then once its lights show that is connected to your isp. Reconnect pfsense after you have changed it mac - and if via normal dhcp leasing this new mac would/should get a new IP from the dhcp server of your isp.

                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 24.11 | Lab VMs 2.7.2, 24.11

                NollipfSenseN 1 Reply Last reply Reply Quote 0
                • NollipfSenseN
                  NollipfSense @johnpoz
                  last edited by

                  @johnpoz said in Changing WAN MAC Address:

                  What I would do is disconnect pfsense from your modem. Power cycle the modem - then once its lights show that is connected to your isp. Reconnect pfsense after you have changed it mac -

                  Makes sense and was the only step I did not do...I keep the Ethernet cable connected and was just power cycling the modem on/off...that's why dpinger got stuck...the cable was still connected, look at that!

                  pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                  pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

                    @nollipfsense It couldn't hurt as well to release the IP before you disconnect it.. But I believe the first thing pfsense would try and do once it sees the connection again is renew which should fail because your a different mac, so it would then send a discover.. Which should get you a different IP.

                    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 24.11 | Lab VMs 2.7.2, 24.11

                    NollipfSenseN 1 Reply Last reply Reply Quote 0
                    • NollipfSenseN
                      NollipfSense @johnpoz
                      last edited by

                      @johnpoz said in Changing WAN MAC Address:

                      @nollipfsense It couldn't hurt as well to release the IP before you disconnect it.. But I believe the first thing pfsense would try and do once it sees the connection again is renew which should fail because your a different mac, so it would then send a discover.. Which should get you a different IP.

                      Worked like a charm...thank you John!

                      pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                      pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

                        @nollipfsense great - glad you got it sorted!

                        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 24.11 | Lab VMs 2.7.2, 24.11

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