I'm a little confused about the meaning of DHCP and NAT in Internet.
I know NAT is used to translate local IP address and ports to a public IP and port. So your local network has IP looking like 192.168.212/24 for example.
But then I found that DHCP is used to give IP address and configurations to hosts connected to a router, and that our home routers have a DHCP server to assign IPs to the hosts. Isn't that already done by NAT?
Other strange thing, if I access websites that give me my IP, from two computers in the same local network, these sites will give me different IPs, shouldn't it be the IP of my router?