Wifi Guest network MAC keeps changing

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
devsk
DD-WRT Novice


Joined: 25 Aug 2016
Posts: 42

PostPosted: Fri Dec 28, 2018 17:50    Post subject: Wifi Guest network MAC keeps changing Reply with quote
When I create a VAP, I get a new VIF with wl0.1 as the name and a MAC address which is 1 greater than the MAC of the AP that this VAP is sitting on. This creates trouble when the client tries to connect: it gets password incorrect, auth failed message but that's just a red herring. Essentially, its just dropping all handshake messages.

If I go into Setup -> Networking -> Port Setup -> Network Configuration for wl0.1 and change the MAC to be same as that of AP, the client connects, gets an IP in VAP's subnet, is able to connect to internet and is totally isolated from my LAN. Perfect!!!

But....I reboot the router or change any network settings, the Network Configuration for wl0.1 goes back to AP's MAC + 1. And the whole thing breaks. OK, I thought I will just set it using "nvram set wl0.1_hwaddr=<AP's MAC> ; ifconfig wl0.1 hw ether <AP's MAC>" after the boot completes through the startup commands but the Network Configuration through GUI does some more stuff than just changing the MAC. So, it does not restore the guest network operation.

Any ideas on why it is this way? And what can I do to permanently fix it?

PS: I had posted about this as part of another thread but no response there, likely because its device based forum but the question is general.
Sponsor
ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2319
Location: Canada

PostPosted: Mon Dec 31, 2018 3:41    Post subject: Wiki Reply with quote
Have you read this wiki page: https://wiki.dd-wrt.com/wiki/index.php/Guest_WiFi_+_abuse_control_for_beginners

I have not yet tried this but I will be setting it up in the coming months.

_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings


Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.

Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS

Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum