A router is connected to multiple networks and for networks running on Ethernet, yes, each device on those networks has a MAC address its interface connected to it.
The headers of IP packets wouldn’t be affected by MAC addresses, Ethernet packets carry IP packets as their payload and would have their own headers as appropriate.
A router’s job is essentially to “pass on” or relay IP packets based on its routing tables, they are what connect networks together.
The headers of IP packets wouldn’t be affected by MAC addresses, Ethernet packets carry IP packets as their payload and would have their own headers as appropriate.
A router’s job is essentially to “pass on” or relay IP packets based on its routing tables, they are what connect networks together.