Always when a PC connects with a network, it gets assigned with an IP address. If it connects with both network and the internet, then it is assigned with an internal IP address, which defines its location in the local network, and an external IP address, which is the IP address of the internet connection. […]