Static MAC address
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 7
- Joined: Sun Jul 28, 2013 11:43 pm
Static MAC address
Hi,
To have a special configuration pushed to my clients, I want to give each client a static MAC address.
I found lladdr. However, this option seem sto be ignored! I set e.g.:
dev tap
lladdr 00:FF:33:AC:7F:84
dev-node "OpenVPN"
but ipconfig /all still reports the old MAC address - also the DHCP server on the other end receives the old MAC. Is lladdr broken?
Is there a different way how I can set a static/persistent MAC address for a tap device?
Thank you!
To have a special configuration pushed to my clients, I want to give each client a static MAC address.
I found lladdr. However, this option seem sto be ignored! I set e.g.:
dev tap
lladdr 00:FF:33:AC:7F:84
dev-node "OpenVPN"
but ipconfig /all still reports the old MAC address - also the DHCP server on the other end receives the old MAC. Is lladdr broken?
Is there a different way how I can set a static/persistent MAC address for a tap device?
Thank you!
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Static MAC address
can you post the output of ipconfig on your windows client?
if you ommit dev-node parameter,still not working?
Michael.
if you ommit dev-node parameter,still not working?
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
- OpenVpn Newbie
- Posts: 7
- Joined: Sun Jul 28, 2013 11:43 pm
Re: Static MAC address
Hi, thanks.
No change if I remove dev-node.
But when starting the tunnel from command line I found an interesting message now: "Thu Aug 08 22:41:03 2013 Sorry, but I don't know how to configure link layer addresses on this operating system."
No change if I remove dev-node.
Code: Select all
...
Ethernet adapter OpenVPN:
Connection-specific DNS Suffix . : intra.example.com
Description . . . . . . . . . . . : TAP-Windows Adapter V9
Physical Address. . . . . . . . . : 00-FF-33-AA-6F-DD
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.0.204(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Wednesday, August 07, 2013 10:06:03
Lease Expires . . . . . . . . . . : Thursday, October 03, 2013 14:40:23
DHCP Server . . . . . . . . . . . : 192.168.0.10
DNS Servers . . . . . . . . . . . : 192.168.0.10
Primary WINS Server . . . . . . . : 192.168.0.10
NetBIOS over Tcpip. . . . . . . . : Enabled
...
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Static MAC address
what OS is your client?
can you post full client log?
what openvpn version are you using?
Michael.
can you post full client log?
what openvpn version are you using?
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
- OpenVpn Newbie
- Posts: 7
- Joined: Sun Jul 28, 2013 11:43 pm
Re: Static MAC address
Hi,
Thanks again. The full log is (replaced public IP with 192.0.2.1 for privacy reaons):
OpenVPN is the latest, 2.3.2 and Client is Windows 9. OpenVPN is started with admin rights.
Thanks!
Thanks again. The full log is (replaced public IP with 192.0.2.1 for privacy reaons):
Code: Select all
Fri Aug 09 23:51:29 2013 OpenVPN 2.3.2 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Jun 3 2013
Fri Aug 09 23:51:29 2013 UDPv4 link local (bound): [undef]
Fri Aug 09 23:51:29 2013 UDPv4 link remote: [AF_INET]192.0.2.1:1194
Fri Aug 09 23:51:32 2013 [server] Peer Connection Initiated with [AF_INET]192.0.2.1:1194
Fri Aug 09 23:51:34 2013 open_tun, tt->ipv6=0
Fri Aug 09 23:51:34 2013 TAP-WIN32 device [OpenVPN] opened: \\.\Global\{33AA6FDD-9E44-42F4-AE15-DBF15360B579}.tap
Fri Aug 09 23:51:34 2013 Successful ARP Flush on interface [25] {33AA6FDD-9E44-42F4-AE15-DBF15360B579}
Fri Aug 09 23:51:34 2013 Sorry, but I don't know how to configure link layer addresses on this operating system.
Fri Aug 09 23:51:39 2013 Initialization Sequence Completed
Thanks!
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Static MAC address
windows 9...?
i dont know if openvpn works in win 9....
developers any comment?
Michael.

i dont know if openvpn works in win 9....
developers any comment?

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
-
- OpenVpn Newbie
- Posts: 7
- Joined: Sun Jul 28, 2013 11:43 pm
Re: Static MAC address
Windows 8 of course 

- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Static MAC address
because i am not M$ expert , i still dont know if openvpn supports win8....
Michael.
Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"
Long live Dino Dini (Kick off 2 Creator)
Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)
"objects in mirror are losing"