VM connectivity with Route Table

Nandan NK 50 Reputation points
2024-04-24T13:09:58.1533333+00:00

I have 3 azure VM's A, B and C in different Vnets I have peering between each and from A server I can connect to B and C, then I have created user defined route in VM A subnet to route traffic reaching C to B, I mean address prefix I gave C subnet and next hope Virtual appliance is  VM B, 

Now I tried to reach VM C from VM A, but I'm not able to reach according to my route table traffic should go to B and then C but I don't think it is working, I i tried to connect B from A it is working. 
Can someone help me with this issue???

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 130.1K Reputation points MVP Volunteer Moderator
    2024-04-24T13:49:08.15+00:00

    Hi @Nandan NK ,

    I am not sure if I fully got you configuration of vNets, subnets, user defined routes.

    But there are some points you could verify:

    Verify your routing covers all directions. For instance A to C over B / C to A over B and so on.

    Did you activate the option Enable IP forwarding on the "routing/NVA VM"?

    User's image


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.