locked
Can an Azure VM receive a full public IP subnet delivered to an interface without NAT? RRS feed

  • Question

  • Azure virtual machines appear to associate private subnet addresses with public ip addresses. For example 10.0.0.4 relates to a public IP address for the machine. But the machine itself sees the 10.x.x.x address.

    Azure lets you reserve an IP prefix, for example a /28 network. It lets you create routing tables with this and associate the public ip subnet to a virtual interface - but no traffic appears to be delivered.

    Is it possible for an Azure virtual machine to receive traffic for a public ip subnet like this. So that the machine itself sees the destination address as the real public ip address or does it always have to a private natted address like the 10.x.x.x example above?

    Tuesday, June 11, 2019 10:09 AM

All replies

  • Hello,

    As mentioned by you, it is possible for directly assigning public IP on the VM NIC. But it is not possible to see public IP if you do a packet capture. Azure does the nating of public to private and this behavior cannot be modified.

    Do click on "Mark as Answer" and “Vote as Helpful” on the post that helps you, this can be beneficial to other community members.

    Thanks.
    Tuesday, June 11, 2019 10:52 AM
  • Hello,

    Any update on the issue?

    Requesting you to mark the reply as answer if it solved your issue or vote as helpful if it helped so that other community members can benefit from it.

    Thanks.

    Friday, June 14, 2019 5:33 AM
  • Hello,

    Is there any update on the issue.

    Thanks.

    Monday, June 17, 2019 8:36 AM