Awesome q2a theme
0 votes
23 views
Why is 127.x.x.x range reserved for loopback address? Why can't we just put source address and destination address same? Won't it have the same effect? Then why waste an entire IP range for LOOPBACK ADDRESS?
in Computer Networks by (9 points) | 23 views
0
I think it is a convention which has been followed .and never changed.

See what would have happened if we would have put the destination and the source address to be the same .to send to the same computer the packet has to go to the default router in the network only to be sent back to the same computer and all the extra work has to be done.

But using loopback address we would not do anything the system will never send a packet with loopback address as it's destination in the network.so the cost assoociated is less.

This may be one reason
0
You are right, I thought of the same reason, but then, my thought was, convention is to use 127.0.0.1, then why reserve entire IP range of 127? Isn't that wastage?


Also, if our host can have added circuit to detect loopback, why can't it have a comparator to just check if source address and destination address match or not? Isn't that a better option?

Please log in or register to answer this question.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
Top Users Jul 2020
  1. Shaik Masthan

    39 Points

  2. hiteshpujari

    9 Points

  3. fazin

    7 Points

  4. srestha

    7 Points

  5. gaurav2697

    6 Points

  6. Venkatesh Akhouri

    6 Points

  7. Meghana518

    6 Points

  8. athenahermes

    6 Points

  9. bittujash

    6 Points

  10. Pawan_k

    6 Points

7,557 questions
1,783 answers
10,868 comments
90,491 users