127.0.0.0 और 127.0.0.1 के बीच क्या अंतर है?

विषयसूची:

127.0.0.0 और 127.0.0.1 के बीच क्या अंतर है?
127.0.0.0 और 127.0.0.1 के बीच क्या अंतर है?

वीडियो: 127.0.0.0 और 127.0.0.1 के बीच क्या अंतर है?

वीडियो: 127.0.0.0 और 127.0.0.1 के बीच क्या अंतर है?
वीडियो: F-STOPS vs T-STOPS! What’s the difference? Are they the same? - YouTube 2024, अप्रैल
Anonim
 कभी-कभी प्रश्नों की सबसे प्राथमिक प्राथमिक शिक्षा पलों को जन्म देती है; जैसा कि हम 127.0.0.0 से 127.0.0.1 के बीच एक एकल अंक परिवर्तन नेटवर्क टोपोलॉजी को देखने का मौका देते हैं, इस बारे में बताते हैं।
कभी-कभी प्रश्नों की सबसे प्राथमिक प्राथमिक शिक्षा पलों को जन्म देती है; जैसा कि हम 127.0.0.0 से 127.0.0.1 के बीच एक एकल अंक परिवर्तन नेटवर्क टोपोलॉजी को देखने का मौका देते हैं, इस बारे में बताते हैं।

आज का प्रश्न और उत्तर सत्र हमारे पास सुपरयूसर की सौजन्य है - स्टैक एक्सचेंज का एक उपविभाग, क्यू एंड ए वेब साइट्स का एक समुदाय संचालित समूह।

प्रश्न

सुपरयूसर रीडर डिसा लूपबैक आईपी के बारे में उत्सुक है:

I know that both are loopback IPs, but they have another ip mask.

What’s the difference between them? Can they be used interchangeably?

=========================================================================== IPv4 routes =========================================================================== Active routes: Destination Mask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.6 26 […] 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306

इस तालिका से हम किस तरह की जानकारी निकाल सकते हैं?

उत्तर

दो सुपरयूसर योगदानकर्ता रहस्य सुलझाने में मदद करने के लिए कूद गए। सबसे पहले, एमएमसीसी इस संक्षिप्त अवलोकन प्रदान करता है:

No. You cannot use them both. And they are not both loopback adresses.

127.0.0.1

एक लूपबैक पता है

127.0.0.2

एक लूपबैक पता है

127.0.0.3

एक लूपबैक पता है और इसी तरह

127.0.0.0

एक नेटवर्क पता है। मुखौटा 255.0.0.0 के साथ मिलकर यह आपको एक संकेत देता है कि पूरे वर्ग ए के साथ शुरू होने वाले पते

127.*.*.*

लूपबैक पते होंगे।

फिर, YLearn आम तौर पर नामकरण सम्मेलनों का व्यापक अवलोकन प्रदान करता है और उनके बारे में कैसे सोचें:

What is shown in the screenshot is a routing table from a computer. The routing table is just a “roadmap” that tells a computer/router where to go to get to other devices on the network.

In some ways this is similar to how we navigate in real life.

The first column provides the list of known destinations (where can I go) and the second column indicates how specific the destination (I can go to Canada or I can go to Uncle John’s house in Canada). Without getting into great detail, the “higher” the mask value, the more specific the destination. So a value of 0.0.0.0 covers going to any device and a value of 255.255.255.255 specifies an individual device.

The third column specifies where traffic should go next to get to the destination (if you are going to Canada, you need to start by getting on Main Street) and the fourth column indicates which path out of the device should be used to get to the destination (from home you may only have your driveway but from the Walmart parking lot you may have several “exits” to choose from).

Finally, the metric gives the computer a way to choose the best path if there are multiple routes to the destination (you can go out either the north or east exit from the parking lot to get to Canada, but the east one is a faster).

So to answer the original question, no you can’t use 127.0.0.0 and 127.0.0.1 interchangeably. The difference shown here is that there exists two routes – a general route to any device using 127.x.y.z and a very specific route to host 127.0.0.1 (which is in 127.0.0.0), both of which use the 127.0.0.1 interface

स्पष्टीकरण में जोड़ने के लिए कुछ है? टिप्पणियों में आवाज उठाओ। अन्य तकनीक-समझदार स्टैक एक्सचेंज उपयोगकर्ताओं से अधिक उत्तरों पढ़ना चाहते हैं? यहां पूर्ण चर्चा धागा देखें।

सिफारिश की: