When I connect to my friend's mobile Wi-Fi hotspot, we both have the same public IP address.
Now, when I go to duck.com, how does DuckDuckGo know where to deliver the packets? I mean, I and my friend have the same public IP address, so how does DuckDuckGo know who requested for the packet?
And do MAC addresses and private IP addresses play any role in this?
I'd really appreciate your answers. :)