Page 1 of 1

fixed MAC address on a TAP interface

Posted: Thu Jan 10, 2019 4:54 pm
by apeg
When clients connect via the TAP interface their mac address is cycled every connection.

Is there a way for the TAP interface to keep the native mac of the client?

Thanks,

Re: fixed MAC address on a TAP interface

Posted: Fri Jan 11, 2019 8:30 pm
by bird333
I'm not sure if this is the issue you're having but I had an issue where Windows kept thinking I was joining a new network every time I would connect to Openvpn. The issue was running the server in bridge mode. The bridge will take the MAC address of the lowest addressed member. I solved this by manually setting the MAC address of the TAP interface to an artificially high number that is beyond any of the possible connected clients on startup. I.E. ifconfig tap0 hw ether ee:ee:**:**:**:** That command is for a linux openvpn server. If this is Windows, you will have to find a way to do it there. Hopefully it helps.

Re: fixed MAC address on a TAP interface

Posted: Sat Jan 12, 2019 1:14 pm
by apeg
Hi Bird, thanks for the recommendation... i'll give it a try.

if i cant get that to go i may switch back to TUN and give the CCD method a try