Prevent duplicate MAC addresses in the same dynamic range

**Resolves issue #643.**