I have reused code from lib/proxy/dhcp/server/native_ms.rb
If you want things different (better) I suggest it gets unified or updated in both locations