I have a very rudimentary doubt. I am sure missing something but cant recollect what.
Suppose we have 2 hosts connected on 2 interfaces of a switch. if host 1 pings host 2 , it will first send an ARP request for host 2, host 2 will reply and it will be entered in the ping packet.
BUT, we dmac is always of the next hop of the packet. In this case the next hop of the packet is the switch interface, so why dmac of the host and not the switch.
Is it that next hop concept is used in routers and not in switches ?
