News for hackers. Stuff that matters.
Re:Why do we need MAC addresses? by kstrauser on Tuesday October 07, 2025 @11:06PM (#45511623)
IP packets and Ethernet frames are separate animals. Ethernet doesn’t know IP, except for a flag saying “interpret my payload as an IP packet”. It doesn’t have src or dst IP addresses. And an IP packet doesn’t know about its physical transport. It doesn’t have src or dst MAC addresses.

You can put other things than IP packets inside Ethernet frames. You can put IP packets into non-Ethernet carriers.

The short version is that small LANs route frames by MAC addresses and don’t know about IP addresses, and the Internet cares only about IP addresses and not MAC addresses.

Re:Why do we need MAC addresses? by ranger_danger on Tuesday October 07, 2025 @11:10PM (#45511645)
Yes I am aware, I was just pointing out that they are claiming that MAC addresses exist in "packets" (not frames) while simultaneously saying they don't.
Re:Why do we need MAC addresses? by kstrauser on Tuesday October 07, 2025 @11:20PM (#45511708)
Ah, got it. Yeah, they could’ve been clearer about that. I still call them packets sometimes when I’m talking with someone in person and we both know what we mean, but I try to be a stickler when writing docs.