I can't ping my server from certain IP The 2019 Stack Overflow Developer Survey Results Are Inping/ssh networking problem with server from 1 particular windows xp laptopMy server is working fine, but I can't ping itPing a Specific PortCommand line tools for ping HTTP?Linux server cannot be pingedServer can't ping or connect to selfI am not able to connect to my server from my leased line internet connectionLinux router: ping responses going through the wrong interfaceFluctuating ping to a certain ISP backbonePing times change over time only to a certain server
Why isn't airport relocation done gradually?
Geography at the pixel level
Is there any way to tell whether the shot is going to hit you or not?
Why do UK politicians seemingly ignore opinion polls on Brexit?
Why hard-Brexiteers don't insist on a hard border to prevent illegal immigration after Brexit?
Identify boardgame from Big movie
Resizing object distorts it (Illustrator CC 2018)
Button changing it's text & action. Good or terrible?
"as much details as you can remember"
Can a flute soloist sit?
Why isn't the circumferential light around the M87 black hole's event horizon symmetric?
Am I thawing this London Broil safely?
What does Linus Torvalds mean when he says that Git "never ever" tracks a file?
Is "plugging out" electronic devices an American expression?
Pokemon Turn Based battle (Python)
What is the motivation for a law requiring 2 parties to consent for recording a conversation
Write faster on AT24C32
What did it mean to "align" a radio?
Is bread bad for ducks?
Why do we hear so much about the Trump administration deciding to impose and then remove tariffs?
Is a "Democratic" Oligarchy-Style System Possible?
Does the shape of a die affect the probability of a number being rolled?
Can a rogue use sneak attack with weapons that have the thrown property even if they are not thrown?
Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?
I can't ping my server from certain IP
The 2019 Stack Overflow Developer Survey Results Are Inping/ssh networking problem with server from 1 particular windows xp laptopMy server is working fine, but I can't ping itPing a Specific PortCommand line tools for ping HTTP?Linux server cannot be pingedServer can't ping or connect to selfI am not able to connect to my server from my leased line internet connectionLinux router: ping responses going through the wrong interfaceFluctuating ping to a certain ISP backbonePing times change over time only to a certain server
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have 2 internet connections from 2 different ISPs with static IPs, lets call them A and B. A connects to the server in several ways (ping, SSH, HTTP), while B cannot do anything (ping, SSH, HTTP).
I ran tcpdump on the server using connection A, and then tried to call a webpage using B. It appears that B has reached the server, so that rules out that the problem is from ISP B.
I checked the iptables but there is nothing that bans B ip! I checked hosts.deny file as well but there is nothing in it too.
What might be the problem? Is there any more tests that would help in reaching to the problem source?
Please advice
fedora linux-networking ping connection
add a comment |
I have 2 internet connections from 2 different ISPs with static IPs, lets call them A and B. A connects to the server in several ways (ping, SSH, HTTP), while B cannot do anything (ping, SSH, HTTP).
I ran tcpdump on the server using connection A, and then tried to call a webpage using B. It appears that B has reached the server, so that rules out that the problem is from ISP B.
I checked the iptables but there is nothing that bans B ip! I checked hosts.deny file as well but there is nothing in it too.
What might be the problem? Is there any more tests that would help in reaching to the problem source?
Please advice
fedora linux-networking ping connection
1
It's obviously a routing problem on the server, probably you have A's gateway set as the default (even for B).
– NickW
Mar 21 '13 at 15:48
1
Have you properly configured with the server with two routing tables (one for each ISP) and a policy rule to select between them based on the source IP? If not, it can't possibly work.
– David Schwartz
Mar 21 '13 at 15:49
add a comment |
I have 2 internet connections from 2 different ISPs with static IPs, lets call them A and B. A connects to the server in several ways (ping, SSH, HTTP), while B cannot do anything (ping, SSH, HTTP).
I ran tcpdump on the server using connection A, and then tried to call a webpage using B. It appears that B has reached the server, so that rules out that the problem is from ISP B.
I checked the iptables but there is nothing that bans B ip! I checked hosts.deny file as well but there is nothing in it too.
What might be the problem? Is there any more tests that would help in reaching to the problem source?
Please advice
fedora linux-networking ping connection
I have 2 internet connections from 2 different ISPs with static IPs, lets call them A and B. A connects to the server in several ways (ping, SSH, HTTP), while B cannot do anything (ping, SSH, HTTP).
I ran tcpdump on the server using connection A, and then tried to call a webpage using B. It appears that B has reached the server, so that rules out that the problem is from ISP B.
I checked the iptables but there is nothing that bans B ip! I checked hosts.deny file as well but there is nothing in it too.
What might be the problem? Is there any more tests that would help in reaching to the problem source?
Please advice
fedora linux-networking ping connection
fedora linux-networking ping connection
asked Mar 21 '13 at 15:42
wael34218wael34218
2062413
2062413
1
It's obviously a routing problem on the server, probably you have A's gateway set as the default (even for B).
– NickW
Mar 21 '13 at 15:48
1
Have you properly configured with the server with two routing tables (one for each ISP) and a policy rule to select between them based on the source IP? If not, it can't possibly work.
– David Schwartz
Mar 21 '13 at 15:49
add a comment |
1
It's obviously a routing problem on the server, probably you have A's gateway set as the default (even for B).
– NickW
Mar 21 '13 at 15:48
1
Have you properly configured with the server with two routing tables (one for each ISP) and a policy rule to select between them based on the source IP? If not, it can't possibly work.
– David Schwartz
Mar 21 '13 at 15:49
1
1
It's obviously a routing problem on the server, probably you have A's gateway set as the default (even for B).
– NickW
Mar 21 '13 at 15:48
It's obviously a routing problem on the server, probably you have A's gateway set as the default (even for B).
– NickW
Mar 21 '13 at 15:48
1
1
Have you properly configured with the server with two routing tables (one for each ISP) and a policy rule to select between them based on the source IP? If not, it can't possibly work.
– David Schwartz
Mar 21 '13 at 15:49
Have you properly configured with the server with two routing tables (one for each ISP) and a policy rule to select between them based on the source IP? If not, it can't possibly work.
– David Schwartz
Mar 21 '13 at 15:49
add a comment |
2 Answers
2
active
oldest
votes
What I gather from your question:
One server connects to two routers, each connecting to a different ISP. Since ISP A is working, I assume that router A is your default Gateway. If someone connects to your server using ISP/Router B, the return traffic will be sent through router A, since that is the route your server knows. A-symmetric routing like this can be the cause of this problem.
add a comment |
Show output of this commands:
ip link show
ip address show
ip route show
Probably, you have problems with routing. Did you configure multi-path routing? It does not work out-of-the-box
No I did not configure multi-path routing
– wael34218
Mar 21 '13 at 16:12
1
Then that's your problem. The server has no way to know which route to use.
– David Schwartz
Mar 21 '13 at 17:52
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f490107%2fi-cant-ping-my-server-from-certain-ip%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
What I gather from your question:
One server connects to two routers, each connecting to a different ISP. Since ISP A is working, I assume that router A is your default Gateway. If someone connects to your server using ISP/Router B, the return traffic will be sent through router A, since that is the route your server knows. A-symmetric routing like this can be the cause of this problem.
add a comment |
What I gather from your question:
One server connects to two routers, each connecting to a different ISP. Since ISP A is working, I assume that router A is your default Gateway. If someone connects to your server using ISP/Router B, the return traffic will be sent through router A, since that is the route your server knows. A-symmetric routing like this can be the cause of this problem.
add a comment |
What I gather from your question:
One server connects to two routers, each connecting to a different ISP. Since ISP A is working, I assume that router A is your default Gateway. If someone connects to your server using ISP/Router B, the return traffic will be sent through router A, since that is the route your server knows. A-symmetric routing like this can be the cause of this problem.
What I gather from your question:
One server connects to two routers, each connecting to a different ISP. Since ISP A is working, I assume that router A is your default Gateway. If someone connects to your server using ISP/Router B, the return traffic will be sent through router A, since that is the route your server knows. A-symmetric routing like this can be the cause of this problem.
answered Mar 21 '13 at 15:51
JelmerSJelmerS
697612
697612
add a comment |
add a comment |
Show output of this commands:
ip link show
ip address show
ip route show
Probably, you have problems with routing. Did you configure multi-path routing? It does not work out-of-the-box
No I did not configure multi-path routing
– wael34218
Mar 21 '13 at 16:12
1
Then that's your problem. The server has no way to know which route to use.
– David Schwartz
Mar 21 '13 at 17:52
add a comment |
Show output of this commands:
ip link show
ip address show
ip route show
Probably, you have problems with routing. Did you configure multi-path routing? It does not work out-of-the-box
No I did not configure multi-path routing
– wael34218
Mar 21 '13 at 16:12
1
Then that's your problem. The server has no way to know which route to use.
– David Schwartz
Mar 21 '13 at 17:52
add a comment |
Show output of this commands:
ip link show
ip address show
ip route show
Probably, you have problems with routing. Did you configure multi-path routing? It does not work out-of-the-box
Show output of this commands:
ip link show
ip address show
ip route show
Probably, you have problems with routing. Did you configure multi-path routing? It does not work out-of-the-box
answered Mar 21 '13 at 15:59
Selivanov PavelSelivanov Pavel
1,58711941
1,58711941
No I did not configure multi-path routing
– wael34218
Mar 21 '13 at 16:12
1
Then that's your problem. The server has no way to know which route to use.
– David Schwartz
Mar 21 '13 at 17:52
add a comment |
No I did not configure multi-path routing
– wael34218
Mar 21 '13 at 16:12
1
Then that's your problem. The server has no way to know which route to use.
– David Schwartz
Mar 21 '13 at 17:52
No I did not configure multi-path routing
– wael34218
Mar 21 '13 at 16:12
No I did not configure multi-path routing
– wael34218
Mar 21 '13 at 16:12
1
1
Then that's your problem. The server has no way to know which route to use.
– David Schwartz
Mar 21 '13 at 17:52
Then that's your problem. The server has no way to know which route to use.
– David Schwartz
Mar 21 '13 at 17:52
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f490107%2fi-cant-ping-my-server-from-certain-ip%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
It's obviously a routing problem on the server, probably you have A's gateway set as the default (even for B).
– NickW
Mar 21 '13 at 15:48
1
Have you properly configured with the server with two routing tables (one for each ISP) and a policy rule to select between them based on the source IP? If not, it can't possibly work.
– David Schwartz
Mar 21 '13 at 15:49