Hi there,
at many e.g. campsites or marinas or probably other places, you can have free wifi access for only one device. That's not enough usually. So my solution is that I use a Mikrotik with 2 wlan cards. With one interface I connect to the public wifi AP and with the second I make my own network. In between NAT. Many of these public APs remember clients by MAC address. Therefore in my solution they only see the MAC address of the connecting wlan interface and all other devices are hidden behind this MAC.
But... I had following situation. I connected with my phone to an public access point and got Internet. Then I took my Mikrotik and put the MAC address of my phone as the MAC of the wlan interface. Mikrotik connected to the network and I had access. But now I couldnt connect with my phone to my wifi network provided by the second wlan card?!!? In my situation the wlan1 and my phone trying to connect to wlan2 had the same MAC address. The problem occurred right when the phone has to authenticate to wlan2. It asked for password and said password not correct and asked again. (password was correct, because I when I do the same where the MAC addresses are different, then there is no problem)
First I thought there should be one MAC-IP-table per interface, but there is only one MAC-IP-table (IP>ARP>print)
Second I thought that if a packet passes from one network to another the MAC address is rewritten and therefore there should not be a problem if one IP-interface and one device connected to another IP-interface in a different network have the same MAC address
Third when I do source NAT (or masquarading), NAT isnt using MAC addresses.
But it seems that the problem is with the device associating with the AP
Fazit from me is that you cant associate a device with an MAC equal to an existing interfaces' one.
I'm a bit puzzled. Why does this happen? Anyone an idea? I am just curious.
Thanks