أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
Because IP addresses are work with Routers which are layer3 devices in case of WANbut MAC addresses work with switches which are layer2 devices in case on LAN.
IP addresses work as Source and destination IPs but MAC addresses work as hop-to-hop.
That's why when tranferring traffic between a source and destination IP addresses take place and not MAC addresses.