Re: [LARTC] Why 'ping' only succeed in one direction?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Thank you very much!
>
> Rodrigo's method solve the problem at
once.  There is not ICMP redirect
> message sent and everything becomes go
od.
>
> I've found another method : that is to
add all addresses of Sun-1, Sun-2
> to Solaris /etc/hosts file, no modific
ation needed on Linux box. Then
> when ping each other, rediect message
is received and ping succeed with a
> little
> delay.But,  I don't understand why Sol
aris's ping need /etc/hosts as its
> telnetd and ftpd does.
>
> The last, I'd show my great thanks to
you all.
>

Maybe because DNS rev (IP -> HOSTNAME).
I don't know the details...but my experi
ence is...
When you use ip to connect another compu
ter, it need to check if this ip is ille
gal and check if this ip is from the rig
ht one.
So linux default is set to find the host
name from HOSTS -> DNS -> NIS
If you add IP to /etc/hosts, then it can
find the hostname from the IP...and need
n't DNS.





[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux