-1

Both the IPv4 and IPv6 headers contain the source address field. What are the reasons for including this field?

Is it for to trace which who sent this packet if it get's lost?

2
  • 2
    If you get a letter in the mail, don't you want to know who sent it? – Ron Trunk Sep 8 '20 at 21:13
  • 1
    If you look, you will notice that data-link protocols (ethernet, Wi-Fi, frame relay, ATM, etc.), network protocols (IPv4, IPX, IPv6, AppleTalk, etc.), and transport Protocols (TCP, UDP, etc.) all have both source and destination addresses because most communications are bidirectional, and the destination needs to know where to reply. – Ron Maupin Sep 9 '20 at 9:14
2

The source address fields is required for the destination to know where a packet came from and what connection is belongs to (in combination with the transport-layer port numbers).

Additionally, the source address field is used to report network problems to (via ICMP). However, it is not normally used to report packet loss (due to checksum failure or congestion) - a lost packet either stays lost or it is automatically resent/recreated by the transport layer protocol when acknowledgment is missing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.