In current Internet environment, every PC is assigned a private IP. If global IP is necessary, the router the PC…