मैं google.com (अज्ञात होस्ट) को पिंग नहीं कर सकता । लेकिन मैं आईपी पते को पिंग कर सकता हूं। मैंने Google के IP पते को पिंग करने की कोशिश की लेकिन यह काम नहीं करता है।
resolv.confnameserver 8.8.8.8 nameserver 209.139.209.33ifconfig -aeth0 Link encap:Ethernet HWaddr 00:50:56:xx:xx:xx inet addr:10.2.0.63 Bcast:10.2.15.255 Mask:255.255.240.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:638762803 errors:0 dropped:0 overruns:0 frame:0 TX packets:231307131 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:55502371533 (51.6 GiB) TX bytes:23436883491 (21.8 GiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:56011078 errors:0 dropped:0 overruns:0 frame:0 TX packets:56011078 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4792283266 (4.4 GiB) TX bytes:4792283266 (4.4 GiB)route -nKernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.2.0.0 0.0.0.0 255.255.240.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0 0.0.0.0 10.2.15.1 0.0.0.0 UG 0 0 0 eth0ping -c 4 -n 8.8.8.84 packets transmitted, 0 received, 100% packet loss, time 13000ms
resolve.confफ़ाइल की सामग्री को जोड़ना वास्तव में इतनी छोटी जानकारी के साथ आपकी सहायता करना कठिन है। होने का नतीजा ipconfig -aभी अच्छा हो सकता है
traceroute 8.8.8.8
/etc/resolv.confमैनपेज़ या इंटरनेट खोज इंजन में देख सकते हैं।