In ip a output, how are an interface's IPv4 address and MAC address identified?
ip a
The state field shows the IPv4 address, and mtu shows the MAC address.
state
mtu
The link/ether line shows the IPv4 address, and the inet line shows the MAC address.
link/ether
inet
The inet line shows the IPv4 address, and the link/ether line shows the MAC address.
valid_lft shows the IPv4 address, and preferred_lft shows the MAC address.
valid_lft
preferred_lft