Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "Juergen" <lchou@staff.pccu.edu.tw>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Why 'ping' only succeed in one direction?
Date: Thu, 31 May 2001 03:21:04 +0000	[thread overview]
Message-ID: <marc-lartc-99127940120764@msgid-missing> (raw)
In-Reply-To: <marc-lartc-99114800203883@msgid-missing>


> 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.



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/

  parent reply	other threads:[~2001-05-31  3:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-29 14:53 [LARTC] Why 'ping' only succeed in one direction? shen jing
2001-05-30  3:04 ` Krepper Guillermo
2001-05-30  8:40 ` shen jing
2001-05-30 13:54 ` Krepper Guillermo
2001-05-30 20:36 ` Ramin Alidousti
2001-05-30 20:44 ` Ramin Alidousti
2001-05-31  1:56 ` Rodrigo Goya
2001-05-31  2:18 ` Mike Fedyk
2001-05-31  2:25 ` Mike Fedyk
2001-05-31  2:50 ` shen jing
2001-05-31  3:21 ` Juergen [this message]
2001-05-31  6:13 ` shen jing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-99127940120764@msgid-missing \
    --to=lchou@staff.pccu.edu.tw \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox