how it is possible ?

Bhavesh Atara 1 Reputation point
2022-09-19T07:11:28.883+00:00

I have 2 subnets in one vnet
Subnet1
Subnet2
virtual machine in subnet2 don't have public IP and In Subnet2 we don't have NAT Gateway As Well. But Still My Virtual Machine In Subnet 2 can able to access internet. how it is possible ?

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.
2,383 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 43,896 Reputation points Microsoft Employee
    2022-09-19T10:08:21.993+00:00

    Hi @Bhavesh Atara ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
    I understand that you would like to understand more about outbound internet access from an Azure VM without Public IP.

    You should be able to access internet just fine from the VM though it does not have a public IP.
    The outbound internet connections will use a random IP belonging to Azure. (This IP might change depending upon availability)

    This is documented here : https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/default-outbound-access
    242498-image.png

    P.S : Note that this is not recommended for production workloads.

    Kindly feel free to let us know should you require additional information

    Cheers,
    Kapil

    -------------------------------------------------------------

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer.
    Here is how : https://learn.microsoft.com/en-us/answers/support/accepted-answers

    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.