[netbase] add helper for hwmac changer