Who Knew a Dead Guy Could Go Viral?

Recently I began writing in a niche that I never knew existed until I fell into it. Let’s face it, nobody wants to admit that they fit perfectly into this kind of group. I only started writing as a…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Connecting Virtual machines in Vnet

This article is about the connection of instances under different subnets of a Vnet. A Vnet is simply a private network in Azure that hosts various resources and ensures secure and secret connections between them.

While creating a virtual network, Azure provides a range of IP addresses that contain a maximum of about 65k sub addresses able to be distributed among subnetworks and other resources.

Today we will create a Vnet with two subnets. Connect the virtual machine to each subnet and ping it.

Creating a Virtual Network in Azure is simple. You only have to make sure all your resources and Vnet are in the same region. Create 2 subnets with different IP ranges. [I have taken 10.3.0.0/24 for one and 10.3.1.0/24 for other]. Take a look at the following subnets for reference.

I have created the first instance named “green” under subnet 1. Notice in the Networking section, the machine has 2 different IP addresses. One is a public IP address, this IP is available to connect the machine to the outside world. Another is a Private IP address which of course allows only internal connections under Vnet. This IP is as expected within the range of subnet 1.

Similarly, I have also created the next VM called “blue” under subnet 2. This instance also has the private IP address confined in the IP range of subnet 2.

Next, connect to both these VM via Secured Shell (SSH).

Ping is a method of determining latency or the amount of time it takes for data to travel between two devices or across a network.

In the SSH of green, to ping blue :

and vice-versa.

Private IP address of blue is 10.3.0.4
Private IP of green is 10.3.1.4

Great!! our machines are well connected and our network is ready.

That’s all,

Thanks.

Add a comment

Related posts:

The Expected Boredom That is Far Cry 6

I still remember the very first Far Cry game. I suppose, for most gamers, they retain fond memories of the games they played when they were young, carefree and generally just enjoying the joys of…

UX DESIGN PROJECT

Describe the project you decided to work on. What is it (e.g. website, native app)? What is it about? Why did you decide to chose it? Describe the users of this app. Who would benefit from it? What…