VM上出现意外的出口IP [英] Unexpected Egress IP on VM

查看:79
本文介绍了VM上出现意外的出口IP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我查看了这篇文章  https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-outbound-connections

I have viewed this article https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-outbound-connections

并且在twitter上与azure支持人员讨论了我面临的一个问题,即使用静态IP和无负载均衡器的服务器2016虚拟机VM。

and reached out to azure support on twitter about an issue i am facing with a server 2016 VM in azure with a static IP and no load balancer.

根据文章我是场景1,但是当我尝试将我的IP连接到安全设备并从公共IP查找流量时我看不到任何东西,但我确实看到了来自azure的另一个IP,这似乎是我的VM的出口点。

According to the article i am scenario 1, but when i try and connect my IP to a security device and look for traffic from the Public IP I don't see anything but i do see another IP from within azure, this appears to be the egress point of my VM.

这是预期的行为还是遗漏了什么?有没有办法可以快速识别这个出口点?

Is this expected behavior and missing something? is there a way that i can quickly identify this egress point?

当我去像whatismyip.com这样的网站时它显示了我预期的IP地址。这让我更加困惑。

something of note is that when i go to a site like whatismyip.com it shows my expected IP address. which confuses me further.




推荐答案

 

Hi, 

如果您的虚拟机具有实例级公共IP地址,则VM将只使用与其关联的公共IP来访问互联网。

If you have a VM with Instance Level Public IP address, then VM will only use the Public IP which is associated with it to reach Internet.

如果您在目的地看到不同的IP,请确保您不要Azure和目标之间没有任何NAT设备。如果您尝试从Azure VM中查找出站IP,则通过查看WhatsmyIP进行的测试是正确的,
显示正确的IP地址。 

If you are seeing different IP in the destination, make sure you don't have any NAT device in between Azure and the destination. If you are trying to find the outbound IP from Azure VM, the test which you did is correct by looking into WhatsmyIP and it does, shows the correct IP address. 

问候, 

Msrini


这篇关于VM上出现意外的出口IP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆