LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   can't ping hosts outside local network (https://www.linuxquestions.org/questions/linux-networking-3/cant-ping-hosts-outside-local-network-622534/)

arunksit 02-20-2008 11:06 AM

can't ping hosts outside local network
 
I am using ubuntu 7.04 on my laptop.Its connected to a local network.Internet is avaialble on my system thru a proxy server (CCproxy)on a windows machine on our local network. The problem is that i cannnot ping hosts like google.com. pinging IPs on local network works. How can I enable ping..?

ARC1450 02-20-2008 11:10 AM

Sounds like either you computer doesn't know the gateway through which to send those pings or they're being filtered by the proxy.

harry_uk 04-07-2009 11:34 AM

Quote:

Originally Posted by arunksit (Post 3063862)
I am using ubuntu 7.04 on my laptop.Its connected to a local network.Internet is avaialble on my system thru a proxy server (CCproxy)on a windows machine on our local network. The problem is that i cannnot ping hosts like google.com. pinging IPs on local network works. How can I enable ping..?

Hi arun...

I think you must be using firefox to route through your proxy.....

Okay here is the deal....

Try the following things on your linux box and post here:

Code:

ping 208.67.222.222
if this ping works ... it means your comp does not have dns resolution...

Login as root using
Code:

#su
Code:

root#vi /etc/resolv.conf
Then add/edit the lines

Code:

nameserver 208.67.222.222
nameserver 208.67.220.220

The ip's i have given are that of opendns which works well for me... You can also use primary or secondary dns given by your isp.

Then try pinging google, otherwise post here and i will help


All times are GMT -5. The time now is 03:12 AM.