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...
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
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...
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...
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     
Answer all questions in full answer google the case 1- In continuing your understanding of IP...
Answer all questions in full answer google the case 1- In continuing your understanding of IP protection you are to research the concept of trade dress and how this was a factor in the case of Knitwaves vs Lolly Togs. What was the basis of the case and what was the outcome. 2- Research the case of Louis Vuitton vs Dooney & Burke and post your understanding of the IP violation that was involved and what was the outcome? 3-...
What role does an IP address and a domain name play on a network? What are...
What role does an IP address and a domain name play on a network? What are the advantages of using private IP addresses as opposed to public ones? How do IP addresses and the DNS work together to enable network communication?
What is the form of an IP address? What protocol is used by all computer connections...
What is the form of an IP address? What protocol is used by all computer connections to the Internet? 1.5 What is the task of a DNS name server?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT