r****o 发帖数: 1950 | 1 【 以下文字转载自 InterviewHackers 俱乐部 】
发信人: roufoo (五经勤向窗前读), 信区: InterviewHackers
标 题: 问个关于ping的网络问题。
发信站: BBS 未名空间站 (Fri Apr 30 00:30:35 2010, 美东)
jobhunting上面看到有人问这个问题。
ping server and get incorrect IP address。
哪些原因,分别怎么解决。 |
r****o 发帖数: 1950 | 2 为啥没人讨论这个题目呢?
太简单了?
我想到的只有DNS出错,还有别的可能吗?
【在 r****o 的大作中提到】 : 【 以下文字转载自 InterviewHackers 俱乐部 】 : 发信人: roufoo (五经勤向窗前读), 信区: InterviewHackers : 标 题: 问个关于ping的网络问题。 : 发信站: BBS 未名空间站 (Fri Apr 30 00:30:35 2010, 美东) : jobhunting上面看到有人问这个问题。 : ping server and get incorrect IP address。 : 哪些原因,分别怎么解决。
|
s*****g 发帖数: 1055 | 3 People don't answer your question either because your question is too
difficult or they don't know what you are talking about, I think the reason
is the latter. |
c*a 发帖数: 806 | 4 这个题我也没看明白。可以解释/理解成很多不同的情况,就没有意义回答了
reason
【在 s*****g 的大作中提到】 : People don't answer your question either because your question is too : difficult or they don't know what you are talking about, I think the reason : is the latter.
|
r****o 发帖数: 1950 | 5 被BS了。这题也是我从别的版上copy过来的。我的理解是client ping一个server,但是
client端看到的ping的结果显示的是另一个server的地址。问可能原因有哪些及如何改
进。
reason
【在 s*****g 的大作中提到】 : People don't answer your question either because your question is too : difficult or they don't know what you are talking about, I think the reason : is the latter.
|
s*****g 发帖数: 1055 | 6 I can think of couple of scenarios that can cause this:
1) there is a one way NAT device between you and server which translated
ping packet's destination IP to a different IP, when sending echo reply back
, server simply reverses source/destination IP, when echo reply bypasses NAT
, client will receive a different IP from echo request is sent to --- same
argument applies to situation that if there is a device doing source NAT to
echo replies.
2)Just for the sake of argument only, if you are pin |
z**r 发帖数: 17771 | 7 these 2 make sense, baozi
back
NAT
to
between
IP
【在 s*****g 的大作中提到】 : I can think of couple of scenarios that can cause this: : 1) there is a one way NAT device between you and server which translated : ping packet's destination IP to a different IP, when sending echo reply back : , server simply reverses source/destination IP, when echo reply bypasses NAT : , client will receive a different IP from echo request is sent to --- same : argument applies to situation that if there is a device doing source NAT to : echo replies. : 2)Just for the sake of argument only, if you are pin
|