How to Determine VMWare Interface MAC address on a Palo Alto Networks VM-Series

How to Determine VMWare Interface MAC address on a Palo Alto Networks VM-Series

25653
Created On 09/26/18 19:10 PM - Last Modified 06/12/23 08:34 AM


Resolution


Issue

On the Palo Alto Networks VM-Series, MAC addresses displayed in the CLI for the configured dataplane interfaces is specific to PAN-OS. They do not reflect the MAC address assigned to the interface in VMWare.

 

For example:

> show interface hardware

 

total configured hardware interfaces: 6

 

name                    id    speed/duplex/state        mac address

--------------------------------------------------------------------------------

ethernet1/1             16    10000/full/up             00:1b:17:f1:66:10

ethernet1/2             17    10000/full/up             00:1b:17:f1:66:11

ethernet1/3             18    10000/full/up             00:1b:17:f1:66:12

ethernet1/4             19    10000/full/up             00:1b:17:f1:66:13

ethernet1/5             20    10000/full/up             00:1b:17:f1:66:14

 

Resolution

To determine the VMWare assigned MAC addresses, use the show system state | match hwaddr command.  This command can be used to pull the MAC address for each interface from the runtime configuration data present on the VM-Series firewall instance.

 

For example:

> show system state | match hwaddr

 

net.eth0.cfg: { 'broadcast': 192.168.1.255, 'fips-gated': True, 'hwaddr': 00:0c:29:2d:33:fe, 'ifindex': 2, 'ipaddr': 192.168.1.30, 'ipv6addr': , 'ipv6linklocal': fe80::20c:29ff:fe2d:33fe/64, 'mtu': 1500, 'netmask': 255.255.255.0, 'onboot': True, 'routes': { 'default': 192.168.1.1, }, 'running': True, 'up': True, 'v6routes': { 'default': , }, }

net.lo.cfg: { 'broadcast': 127.0.0.1, 'hwaddr': 00:00:00:00:00:00, 'ifindex': 1, 'ipaddr': 127.0.0.1, 'ipv6addr': ::1/128, 'mtu': 16436, 'netmask': 255.255.255.0, 'onboot': True, 'running': True, 'up': True, }

sw.dev.interface.config: { 'ethernet1/1': { 'hwaddr': 00:1b:17:f1:66:10, 'mtu': 1500, }, 'ethernet1/2': { 'hwaddr': 00:1b:17:f1:66:11, 'mtu': 1500, }, 'ethernet1/3': { 'hwaddr': 00:1b:17:f1:66:12, 'mtu': 1500, }, 'ethernet1/4': { 'hwaddr': 00:1b:17:f1:66:13, 'mtu': 1500, }, 'ethernet1/5': { 'hwaddr': 00:1b:17:f1:66:14, 'mtu': 1500, }, }

sys.s1.p1.hwaddr: 00:0c:29:2d:33:08

sys.s1.p10.hwaddr: BA:DB:AD:BA:DB:0a

sys.s1.p11.hwaddr: BA:DB:AD:BA:DB:0b

sys.s1.p12.hwaddr: BA:DB:AD:BA:DB:0c

sys.s1.p13.hwaddr: BA:DB:AD:BA:DB:0d

sys.s1.p14.hwaddr: BA:DB:AD:BA:DB:0e

sys.s1.p15.hwaddr: BA:DB:AD:BA:DB:0f

sys.s1.p16.hwaddr: BA:DB:AD:BA:DB:10

sys.s1.p17.hwaddr: BA:DB:AD:BA:DB:11

sys.s1.p18.hwaddr: BA:DB:AD:BA:DB:12

sys.s1.p19.hwaddr: BA:DB:AD:BA:DB:13

sys.s1.p2.hwaddr: 00:0c:29:2d:33:12

sys.s1.p20.hwaddr: BA:DB:AD:BA:DB:14

sys.s1.p21.hwaddr: BA:DB:AD:BA:DB:15

sys.s1.p22.hwaddr: BA:DB:AD:BA:DB:16

sys.s1.p23.hwaddr: BA:DB:AD:BA:DB:17

sys.s1.p24.hwaddr: BA:DB:AD:BA:DB:18

sys.s1.p3.hwaddr: 00:0c:29:2d:33:1c

sys.s1.p4.hwaddr: 00:0c:29:2d:33:26

sys.s1.p5.hwaddr: 00:0c:29:2d:33:30

sys.s1.p6.hwaddr: BA:DB:AD:BA:DB:06

sys.s1.p7.hwaddr: BA:DB:AD:BA:DB:07

sys.s1.p8.hwaddr: BA:DB:AD:BA:DB:08

sys.s1.p9.hwaddr: BA:DB:AD:BA:DB:09

 

owner: kfindlen



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000Cm2fCAC&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language