Skip to content
Zafer Balkan edited this page Apr 17, 2026 · 6 revisions

dzmac Help

This help content is adapted from the original TMAC help and limited to features currently supported by dzmac.

How to change the MAC address of a network connection

  1. Select the target network connection in the main list.
  2. In Change MAC Address, enter a MAC address in hexadecimal format.
  3. Optional: click Random MAC Address to generate one.
  4. Optional: choose a vendor/manufacturer in the dropdown first, then generate a random MAC.
  5. Optional: enable automatic adapter reset/restart to apply changes.
  6. Click Change Now!.

How to restore the original MAC address

  1. Select the target network connection.
  2. In Change MAC Address, click Restore Original.

How to enable/disable a network connection

  1. Select the network connection in the list.
  2. Toggle the Enabled checkbox for that row.

How to refresh the network connection list

  • Use Options > Refresh, or
  • Press F5.

How to enable/disable DHCPv4 on a connection

  1. Select the network connection.
  2. Use Action > DHCPv4 > DHCPv4 Enabled to toggle DHCPv4.

Note: dzmac preserves the current IPv4 configuration when switching DHCPv4 modes (safe-by-default behavior).

How to release/renew an IPv4 DHCP lease

  1. Select the network connection.
  2. Use Action > DHCPv4 > Release IP or Renew IP.
  3. Wait for the operation to complete.

Command-line interface (CLI)

Usage:

dzmac -n network_connection_name [options]

MAC address options

  • -m [mac_address] set MAC address (empty value restores original)
  • -nm [mac_address] alias behavior equivalent to -m
  • -r random MAC from vendor list
  • -nr random MAC from vendor list (alias behavior)
  • -r02 random locally-administered MAC (02 first octet)
  • -nr02 random locally-administered MAC (alias behavior)

IPv4 options

  • -i ip/mask[,ip/mask...] set IPv4 addresses
  • -g gateway/metric[,gateway/metric...] set IPv4 gateways
  • -d dns[,dns...] set IPv4 DNS servers
  • -h enable DHCPv4
  • -rl release DHCPv4 lease
  • -rn renew DHCPv4 lease

Other options

  • -s silent mode flag
  • -re disable/enable adapter (reset)
  • -di disable adapter
  • -en enable adapter
  • -ro restore original MAC record used by dzmac
  • -help display CLI help

CLI examples

Apply a specific MAC and reset adapter:

dzmac -n "Ethernet" -m 00:01:02:03:04:05 -re

Apply random MAC (locally administered) and reset adapter:

dzmac -n "Wi-Fi" -r02 -re

Enable DHCPv4 on a connection:

dzmac -n "Ethernet" -h

Release then renew DHCPv4 lease:

dzmac -n "Ethernet" -rl
dzmac -n "Ethernet" -rn

Features intentionally not supported in dzmac

The following TMAC help topics are intentionally out of scope for the current dzmac milestone:

  • DHCPv6 management (-h6, -rl6, -rn6, and other IPv6 write operations)
  • Internet Explorer / HTTP proxy management (-pxy and GUI proxy settings)
  • Preset import/export or preset-file workflows (.tpf, -f, -p)
  • TMAC installer command-line help topics

Clone this wiki locally