Lets take an example:
PC 1 (188.8.131.52) | |----- **Router 1** (IP 184.108.40.206) ------------- **Router 2** --- Google Server(220.127.116.11 for eg) | PC 2 (18.104.22.168)
In this scenario, Lets say that both PCs are authenticated to Google and the assigned cookies are Cookie1 and Cookie2 respectively.
So now, both these two PCs open "gmail.com" simultaneously. Now, when the Google server receives the request, the packet Source IP for both packets is 22.214.171.124 (thats what I know).
So when the reply packets are received from the Google server by the Router 1, their destination IP would be same (i.e 126.96.36.199). So how does the router know if the packet is to be sent to PC1 or PC2?
It could send the mails of PC1 to PC2 but it doesn't. How?