IPv4 - Example
IPv4 - Example
IPv4 - Example
This chapter describes how actual communication happens on the Network using Internet Protocol
version 4.
Domain Name System − It is very likely that a user does not know the IP address of a
remote Server he wants to connect to. But he knows the name assigned to it, for example,
tutorialpoints.com. When the user types the name of a remote server he wants to connect
https://www.tutorialspoint.com/ipv4/ipv4_example.htm 1/3
9/8/2021 IPv4 - Example
to, the localhost behind the screens sends a DNS query. Domain Name System is a
method to acquire the IP address of the host whose Domain Name is known.
Network Address Translation − Almost all PCs in a computer network are assigned
private IP addresses which are not routable on the Internet. As soon as a router receives
an IP packet with a private IP address, it drops it. In order to access servers on public
private address, computer networks use an address translation service, which translates
between public and private addresses, called Network Address Translation. When a PC
sends an IP packet out of a private network, NAT changes the private IP address with
public IP address and vice versa.
We can now describe the packet flow. Assume that a user wants to access www.TutorialsPoint.com
from her personal computer. She has internet connection from her ISP. The following steps will be
taken by the system to help her reach the destination website.
https://www.tutorialspoint.com/ipv4/ipv4_example.htm 2/3
9/8/2021 IPv4 - Example
An IP packet has both source and destination addresses and it connects the host with a remote
host logically, whereas MAC addresses help systems on a single network segment to transfer
actual data. It is important that source and destination MAC addresses change as they travel
across the Internet (segment by segment) but source and destination IP addresses never change.
https://www.tutorialspoint.com/ipv4/ipv4_example.htm 3/3