Why Linux can't visit public net?

Vipul Ramani linux2000in at gmail.com
Sun Sep 5 05:38:44 UTC 2004


Greetings.,
---------------------------------1 st
thing.------------------------------------------------
[root at www root]# ping www.sina.com
ping: unknown host www.sina.com
------------------------------------------------------------------
look this indicate error have to possbile valid reason either t your
dns which u configured that is not working or u did not configure dns
in your /etc/reslove.conf
 
use your favorite editor like vi and open file /etc/reslove.conf and add like 
nameserver YOUR_NAME_SERVER_IP

if u dont know how to use vi editor than give command like
echo " YOUR_NAMESERVER_IP >> /etc/reslove.conf

doing this try to ping www.sina.com it must reslove. using dns which u
r using in linux..got it. ...
-----------------------------------------2nd
things-----------------------------------------------------
>>[root at www root]# ping 210.xx.xx.xx
>>PING 210.xx.xx.xx (210.xx.xx.xx) from 210.xx.xx.xx : 56(84) bytes of data.
>>>From 210.xx.xx.xx icmp_seq=1 Packet filtered
>>>From 210.xx.xx.x x icmp_seq=2 Packet filtered
>>>From 210.xx.xx.xx icmp_seq=3 Packet filtered
>>>From 210.xx.xx.xx icmp_seq=4 Packet filtered
>>>From 210.xx.xx.xx icmp_seq=5 Packet filtered
----------------------------------------------------------------------------------------------------------------
if u r using ipchains 
/sbin/ipchains -F or iptable /sbin/iptables- F 
After...

his reslut indicate your gatway end there router or machine is
filtering ICMP traffic.
try to ping www.yahoo.com and check it..

otherwise there will not be any issue.

kindly paste /sbin/route -n out put so we will get idea also...



On Sat, 4 Sep 2004 14:23:27 +0200, Michael Schwendt
<fedora at wir-sind-cool.org> wrote:
> On Fri, 03 Sep 2004 16:34:32 +0300, Crucificator wrote:
> 
> > >>My computer's OS is Red Hat Linux7.3,I can ping this Linux computer
> 
> > >Post the unmodified output of the following commands to add some
> > >details:
> > >
> > >  cat /etc/resolv.conf
> > >  netstat -nr
> > >  /sbin/ifconfig -a
> > >
> > >Also describe what steps you did to configure your network.
> > >
> > >
> > >
> > >
> > iptables -L wont hurt, too... :)
> 
> Then /sbin/ipchains-save, please, since the machine is running Valhalla,
> and ipchains -L would not be as readable. Btw, iptables-save would also
> print the rules for all tables in case the machine has been converted
> to using iptables/netfilter.
> 
> --
> Fedora Core release 1 (Yarrow) - Linux 2.4.22-1.2199.nptl
> loadavg: 0.26 0.22 0.14
> 
> 
> 
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 



-- 
Vipul Ramani
linux2000in at gmail.com
linux2000in at yahoo.com
~~~~~We Know HOW NetWorkS ~~~~~





More information about the redhat-list mailing list