Awesome q2a theme
0 votes
12 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) | 12 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 Dec 2019
  1. Pratyush Priyam Kuan

    158 Points

  2. Vimal Patel

    118 Points

  3. avistein

    65 Points

  4. srestha

    54 Points

  5. Mk Utkarsh

    49 Points

  6. arya_stark

    46 Points

  7. goxul

    39 Points

  8. Sathuri Bharath

    34 Points

  9. vishal burnwal

    31 Points

  10. Shaik Masthan

    28 Points

Monthly Top User and those within 60% of his/her points will get a share of monthly revenue of GO subject to a minimum payout of Rs. 500. Current monthly budget for Top Users is Rs. 75.
2,315 questions
1,294 answers
6,599 comments
89,719 users