Page 1 of 1

Android+Openvpn = random MACaddr (no static lease)

Posted: Wed May 20, 2015 9:41 am
by Mike.Peterson
I am using Softether without virtualNAT, I use dnsmasq and local bridge instead (tap). I have managed to assign static ip addresses using dhcp with dnsmasq.conf to Windows clients.
The problem is that when I connect to this server using Openvpn from Android the MAC address of the android is different each time! So it is impossible to set a static dhcp lease for android client.
The vpn itself works fine, the problem only with random MAC.
How can I set static lease to Ovpn client?
The dnsmasq.leases with android connected looks like this:
1xxxxxxxxx b4:xx:xx:xx:xx:56 192.168.6.33 * 01:xx:xx:xx:xx:xx:42 (those MACs are random on each connect)

Re: Android+Openvpn = random MACaddr (no static lease)

Posted: Tue May 26, 2015 10:59 am
by Mike.Peterson
bump

Re: Android+Openvpn = random MACaddr (no static lease)

Posted: Wed May 27, 2015 8:47 pm
by Scriberguy
I have a similar issue. I use the built in android VPN client. The MACs are not random but seem to be assigned off a first come first serve list. I have an open post about this on this forum.

Re: Android+Openvpn = random MACaddr (no static lease)

Posted: Thu Jun 04, 2015 6:18 am
by thisjun
It's normal.
Open VPN or L2TP client doesn't send information to identify the client itself like as MAC address.
If you want to assign static MAC address, try to write a new code.
SoftEther is opensource.