Server with 2 interfaces sends ping to the 2nd interface ?!

touqeeranjum 80 Reputation points
2024-04-30T19:26:38.12+00:00

Hi,

I have a server 2 interfaces

Interface 1 - [10.21.30.16/24]

interface 2 - [10.21.40.16/24]

I'm trying to ping from the 10.21.30.16 interface to a Server 10.11.30.15, and what happens is the ping goes from 10.21.40.16 to its relataive gateway and fails, because on the firewall side Traffic from [10.21.40.0] to Server 10.21.30.15 is disallowed.

https://imgur.com/a/EjROgG5

What is the reason for this and how to avoid this problem ?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,287 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Marcin Policht 13,865 Reputation points MVP
    2024-04-30T19:59:54.01+00:00

    Modify the firewall settings to allow the traffic or update the local routing table to direct the traffic via the other interface (assuming that's allowed)


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

  2. Jing Zhou 2,710 Reputation points Microsoft Vendor
    2024-05-06T03:32:56.7233333+00:00

    Hello,

     

    Thank you for posting in Q&A forum.

    As we can see, when you initiate a ping request, it goes from interface 2 - [10.21.40.16/24] and route to the default gateway.

    Please kindly check your routing table and see if there's any route from 10.21.40.1 to 10.11.30.15. If not please try adding a static route on the server and check if this issue still persists.

    Meanwhile, please kindly check if you are able to allow traffic from [10.21.40.0] to 10.21.30.15 on the firewall.

    Hope this answer can help you well.

     

    Best regards,

    Jill Zhou