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;








-1















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










share|improve this question

















  • 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















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










share|improve this question

















  • 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








-1








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










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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












  • 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










2 Answers
2






active

oldest

votes


















0














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.






share|improve this answer






























    0














    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






    share|improve this answer























    • 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











    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
    );



    );













    draft saved

    draft discarded


















    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









    0














    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.






    share|improve this answer



























      0














      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.






      share|improve this answer

























        0












        0








        0







        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.






        share|improve this answer













        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 21 '13 at 15:51









        JelmerSJelmerS

        697612




        697612























            0














            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






            share|improve this answer























            • 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















            0














            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






            share|improve this answer























            • 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













            0












            0








            0







            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






            share|improve this answer













            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







            share|improve this answer












            share|improve this answer



            share|improve this answer










            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

















            • 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

















            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

            Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

            What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company