With a normal Ethernet cable (patch cable) you use Ethernet Frames (https://en.wikipedia.org/wiki/Ethernet_frame) to send data to other computers/devices in my LAN network. In the Ethernet frame, there is a source mac address and a destination mac address. And it has a payload. The payload contains an IP package (https://en.wikipedia.org/wiki/Network_packet). How does my computer when I enter the command ping 192.168.86.40
connects to the computer and send packages without knowing the mac address used to send Ethernet frames. You need a destination mac address to send Ethernet frames which contains IP packages. And if I set up my network with a static IP address, subnet master, and a gateway IP what the mac address is for the gateway to connect. Does the computer use the broadcast mac address FF:FF:FF:FF
to figure out what the gateway mac address is?
The QUESTION is: How does a computer know where to send the packet to, only with an IP address not MAC address to send Ethernet frames that contain IP packets