Change MAC-address of NIC
-
I have a multi LAN/WAN setup with more than 30 VLANs on a
This pfsense machine is the SPOF (single point of failure) for a small community.
When it goes down I have a spare machine, exactly the same, which can turned on.
Each hour the config of my pfsense is downloaded and I will always have a fresh XML which I can put in the new machine.Even though I have this machine running, it will take a lot of time before it is actually working.
This, because the NICs have different MAC-addresses.Furthermore I will get a different WAN IP-address on 1 of the 5 WAN-connections.
Most is more of a nuisance than necessity, but if possible I would like to solve it.I was thinking about giving these commands as an "earlyshellcmd" in the config.xml
ifconfig em0 ether 02:01:02:03:04:05 ifconfig em1 ether 02:01:02:03:04:05BTW In the past I tried to use the MAC-spoof option for my WAN, but somehow it doesn't work when these interfaces are VLANs. At least not with the NIC I was using.
Has anyone tried it before and is it a good idea?
I have put these commands already in my config, but I have no way to test it….
-
VLAN MACs follow the MAC of their parent interface. Assign the parent interface of the VLANs, set IP type to none, and spoof the MAC there.
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 LoginPrivacy Policy · Cookie Policy