Question 1) which one is used nowadays? NAT or PAT?
Question 2) as I knew, when my pc requests some website, what happens is , the data(packets) from my pc go to router. then router makes the request to the internet, gets response, and sends it back to the pc. It knows which pc, because of PAT or NAT.
What I'm curious is the following.
how does data from my pc to router get sent? my pc's private ip address and router's ip address are used ? or MAC addresses get used? I just don't understand the whole thing at once. Can someone explain to me the whole scenario? Imagine there're 3 pc's in the same network, 3 of them are connected to wifi. and 1 of the computer makes request to google.com . what happens in each step? what addresses get used and so on and how does my pc finally get the response from google.com?
Please, I've been interested in the whole process and can't seem to relate all the things together. Thank you in advance.