Question

In: Computer Science

[Only answer part 2] part 1: What is the public IP address of your machine? How...

[Only answer part 2]

part 1:

What is the public IP address of your machine? How can you know your public IP
address of the machine? (Hint: ask Google.) How does a website know your public IP address?
Is it different from the IP address shown on the network interface obtained by ifconfig?

part2:

Why are they different? (Hint: NAT.) What does this NAT thing do (briefly explain it in one sentence)?
Who did it? (Hint: the VirtualBox software may do it again in addition to your ISP's firewall or
router.)

Solutions

Expert Solution

`Hey,

Note: Brother if you have any queries related the answer please do comment. I would be very happy to resolve all your queries.

If your internet connection connects straight in to your computer, then your computer is assigned the external IP address. However, if your computer connects to a router then the computer will most likely get an internal IP address like 192.168.1.100 and your router will get the external IP address. Even though the internal IP is a different IP address, it's on the same network and all devices connected will share the same external IP.

Network Address Translation (NAT) is the process where a network device, usually a firewall, assigns a public address to a computer (or group of computers) inside a private network. The main use of NAT is to limit the number of public IP addresses an organization or company must use, for both economy and security purposes.

Internet requests that require Network Address Translation (NAT) are quite complex but happen so rapidly that the end user rarely knows it has occurred. A workstation inside a network makes a request to a computer on the Internet. Routers within the network recognize that the request is not for a resource inside the network, so they send the request to the firewall. The firewall sees the request from the computer with the internal IP. It then makes the same request to the Internet using its own public address, and returns the response from the Internet resource to the computer inside the private network. From the perspective of the resource on the Internet, it is sending information to the address of the firewall. From the perspective of the workstation, it appears that communication is directly with the site on the Internet. When NAT is used in this way, all users inside the private network access the Internet have the same public IP address when they use the Internet. That means only one public addresses is needed for hundreds or even thousands of users.

Kindly revert for any queries

Thanks.


Related Solutions

What are IP address ports and IP address classes?
What are IP address ports and IP address classes?
Your ISP has assigned you the following public IP address 196.92.16.64/28. Your router's address is 196.92.16.65/28....
Your ISP has assigned you the following public IP address 196.92.16.64/28. Your router's address is 196.92.16.65/28. (a) How many hosts can you assign a public address? (b) What will be the range of public addresses? (c) If you have 200 hosts of your network. Explain how you would provide Internet Access to all the host concurrently using NAT. (d) You have 26 hosts divided into 2 groups in your network. Explain how you would provide Internet access to all the...
1.can only government supply a public good? 2. what is a public good 3. How is...
1.can only government supply a public good? 2. what is a public good 3. How is a Public Good Different than a Private Good 4. What are the Challenges related to public good? How should the “ Free Rider” problems should be addressed.
What is the purpose of the default gateway IP address?
What is the purpose of the default gateway IP address?
A host (computer) with networking capabilities is assigned a MAC address AB1CD22EF33 and a public IP...
A host (computer) with networking capabilities is assigned a MAC address AB1CD22EF33 and a public IP address 192.92.21.5/24. The gate way is connected to your ISP with optic cables. The ISP public address is 16.12.11.253/30. The MAC address of your ISP is 112233ABCDEF. a. Explain why both a MAC and an IP address are assigned to a host in the network. b. Clearly differentiate between public & private Internet address. c. Explain the meaning of the CIDR address 196.92.21.5/24. d....
What is the subnet address for a host with the IP address 200.0.0.26 /29 200.0.0.8 200.0.0.12...
What is the subnet address for a host with the IP address 200.0.0.26 /29 200.0.0.8 200.0.0.12 200.0.0.20 200.0.0.24 20.0.0.16
Part A is produced on machine 1 and then machine 2. One unit of Part A...
Part A is produced on machine 1 and then machine 2. One unit of Part A is assembled with three units of Part B, which is produced on machine 3, in assembly station 4. Machine 1 has a scrap factor of 20 and machine 2 has a scrap factor of 10%. The assembly process has a scrap factor of 15%. Another part, Part C, is produced on machine 5 and has a scrap estimate of 25%. Part C and the...
Assume that we have a machine with IP Address 15.107.33.204 with netmask 255.255.255.240. Assume that you...
Assume that we have a machine with IP Address 15.107.33.204 with netmask 255.255.255.240. Assume that you manage a /11 address space, and that we have fully divided it up into child networks the size of the one on which this machine resides. How many useable subnets of this size can be created? How many useable addresses will be available on each of these subnets? List the IP addresses of the first three and last three of these useable subnets. Give...
What is the network address if given this IP address and the following subnet mask?  Please note...
What is the network address if given this IP address and the following subnet mask?  Please note that the network may be different if the subnet mask is different. IP address 178.47.188.176 How many network bits if the following subnet masks? 255.254.0.0 255.255.252.0 255.255.255.248    4. 255.128.0.0     
On a network with an IP address of 158.234.28.72 and a subnet mask of 255.248.0.0 what...
On a network with an IP address of 158.234.28.72 and a subnet mask of 255.248.0.0 what is the network ID and the broadcast address? Show your calculations.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT