Search This Blog

2013-08-01

Find vmnic mac address on ESXi

grep "/net/pnic" /etc/vmware/esx.conf
/net/pnic/child[0000]/mac = "84:2b:2b:16:94:a7"
/net/pnic/child[0000]/virtualMac = "00:50:56:56:94:a7"
/net/pnic/child[0000]/name = "vmnic0"
/net/pnic/child[0002]/mac = "00:10:18:6b:dd:d8"
/net/pnic/child[0002]/virtualMac = "00:50:56:5b:dd:d8"
/net/pnic/child[0002]/name = "vmnic2"
/net/pnic/child[0002]/duplex = "auto"
/net/pnic/child[0002]/speed = "auto"
/net/pnic/child[0001]/mac = "84:2b:2b:16:94:a8"
/net/pnic/child[0001]/virtualMac = "00:50:56:56:94:a8"
/net/pnic/child[0001]/name = "vmnic1"
/net/pnic/child[0003]/mac = "00:10:18:6b:dd:da"
/net/pnic/child[0003]/virtualMac = "00:50:56:5b:dd:da"
/net/pnic/child[0003]/name = "vmnic3"

1 comment:

  1. Vmnic number as the physical adapters are detected. While this should happen in an order that makes sense this does not always happen.

    Thanks
    Silvester Norman

    Change Mac Address

    ReplyDelete