1. Create 2 VM's inside 2 different VNets
VM2 is inside vnet2
VM1 is inside vnet1
Step 2: Enable IIS in both VM's
Step 3:
Go to both VM's and add a default html page. Inside the below path add a text file.
Click on save as and select all files as type and save the file as "Default.html". Try to access using the public IP. Since we have created the html page inside a folder called vm1 the path will be as shown below. Do the same for vm2
Step 4:
This will add a peering between Vnet1 and Vnet2 and vice versa.
Get the Private IP for vm2 and try to access the URL inside VM1.
Accessing VM1 inside VM2 using VM1's private IP.
Comments
Post a Comment