Hey guys,
there is a strange behavior with Mac OSx Lion and OpenVPN. I want to configure a mac-address in opvn.conf via lladdr xx:xx.... If I start the client and the dhcp-request was send, I can see in tcpdump (at server and client) a wrong / random mac-address was send with the dhcp-req. My dhcp-server answers the req with a reply but the client does not accept it because tap0 does have the configured mac-address from the ovpn.conf. Deleting the lladdr from config = everthing wents fine. With Ubuntu / Gentoo / Windows clients everything is fine with using lladdr.
I think that can be caused by 2 different things. First is that there is something wrong with openvpn / tuntap and mac OSx lion. The second could be a problem with tun/tap and the dhcp-client from mac OSx lion.
Does anybody heard about that issue (perhaps with a workarround).
Regards,
Mike
server:
- 2.6.38-gentoo-r1 i686
- openvpn-2.1.4
- dnsmasq-2.57 (DHCP / DNS)
client:
- MacBook Pro
- OSx Lion 11.2.0 Darwin Kernel Version 11.2.0 x86_64
mac:~ root# /Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.2.1/openvpn --version
OpenVPN 2.2.1 i386-apple-darwin10.8.0 [SSL] [LZO2] [PKCS11] [eurephia] built on Sep 14 2011
Originally developed by James Yonan
Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <
sales@openvpn.net>
$ ./configure --with-lzo-headers=../../../lzo-2.05/staging/include --with-lzo-lib=../../../lzo-2.05/staging/lib --with-pkcs11-helper-headers=../../../pkcs11-helper-1.09/staging/include --with-pkcs11-helper-lib=../../../pkcs11-helper-1.09/staging/lib --with-ssl-headers=/Users/jonathanbullard/Documents/Development/Tunnelblick/R3000-1793a-NoTuntapLogging-Built/third_party/build/staging/openssl-1.0.0e/include/i386 --with-ssl-lib=/Users/jonathanbullard/Documents/Development/Tunnelblick/R3000-1793a-NoTuntapLogging-Built/third_party/build/staging/openssl-1.0.0e/lib --disable-dependency-tracking
Compile time defines: ENABLE_CLIENT_SERVER ENABLE_DEBUG ENABLE_EUREPHIA ENABLE_FRAGMENT ENABLE_HTTP_PROXY ENABLE_MANAGEMENT ENABLE_MULTIHOME ENABLE_PORT_SHARE ENABLE_SOCKS USE_CRYPTO USE_LIBDL USE_LZO USE_PKCS11 USE_SS