Get mac question

non-local area network, is there a way to get the mac address of a host? Know ip


within layer 2 Ethernet (local area network), the MAC address is used to communicate, and the MAC address is only valid within the local area network.

across the layer 2 network, you need to obtain the MAC address, which can only be transmitted by carrying the MAC address of the host in the application layer message.

Menu