I am not able to communicate vm between two subnets under same resource group. Subnet 1 and Subnet 2 and default Vnet

Mohit Joshi 1 Reputation point
2020-06-15T14:40:20.637+00:00

I am not able to communicate vm between two subnets under same resource group. Subnet 1 and Subnet 2 and default Vnet

VM1 = Subnet 1
VM2 = Subnet 2
RESOURCE GROUP= AUS

Both subnets are created by same vnet name = VNET

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,041 questions
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Andreas Baumgarten 123.6K Reputation points MVP Volunteer Moderator
    2020-06-16T09:29:50.153+00:00

    Exactly: The routing between 2 subnets in the same virtual network is active and allowed by default.

    In the NSG the traffic between the 2 subnets in the same virtual network in this scenario is allowed as well.

    The only blocking aspect could be the internal Firewalls of the Windows VMs in my opinion.

    5 people found this answer helpful.

  2. Ezequiel Gustavo Muñoz 66 Reputation points
    2023-02-10T00:39:35.1633333+00:00

    i think the local windows firewall of two VM are ON. Please, create an exeption or turn off the firewall.

    1 person found this answer helpful.
    0 comments No comments

  3. Andreas Baumgarten 123.6K Reputation points MVP Volunteer Moderator
    2020-06-15T20:53:27.067+00:00

    Both subnets are in the same virtual network?

    Which OS on VMs?

    What does "not able to communicate"?

    Ping using the IP works (if allowed by firewall)?

    Ping using the name of the VM work?

    Some more details might be helpful.

    Kind regards

    Andreas Baumgarten


  4. Mohit Joshi 1 Reputation point
    2020-06-16T04:18:24.777+00:00
               VM1= Amrr = 192.168.0.68 , Subnet 1= 192.168.0.0/26  
    
            VM2= East = 192.168.0.5, Subnet 2= 192.168.0.64/26  
               Vnet= Aus-vnet, Address Space= 192.168.0.0/24  
    

    ==> I am not able to ping VM with private IP in different subnets but are in same reso10203-vm1-detail.pngurce group. What configuration need to be done. They looks isolated to me.

    Please also find attached document. 10166-vm-name.png

    0 comments No comments

  5. Andreas Baumgarten 123.6K Reputation points MVP Volunteer Moderator
    2020-06-16T05:00:16.247+00:00

    Any NSGs on the subnets that might block?
    Firewall on each VM is allowing ICMP/Ping or is disabled?

    Kind regards
    Andreas Baumgarten

    0 comments No comments

Your answer

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