<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>微軟雲端Azure 彙整 - 泰克哪裡去</title>
	<atom:link href="https://tech.uccu.website/category/it/cloud/azure/feed" rel="self" type="application/rss+xml" />
	<link>https://tech.uccu.website/category/it/cloud/azure</link>
	<description>一個科技相關的隨手記錄網站</description>
	<lastBuildDate>Mon, 26 Oct 2020 03:46:07 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>
<site xmlns="com-wordpress:feed-additions:1">119574712</site>	<item>
		<title>Azure VM 開啟 Ping 網路規則</title>
		<link>https://tech.uccu.website/enable-azure-vm-ping.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=enable-azure-vm-ping</link>
					<comments>https://tech.uccu.website/enable-azure-vm-ping.html#respond</comments>
		
		<dc:creator><![CDATA[鳴人]]></dc:creator>
		<pubDate>Mon, 26 Oct 2020 03:46:03 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[微軟雲端Azure]]></category>
		<category><![CDATA[雲端]]></category>
		<guid isPermaLink="false">https://tech.uccu.website/?p=118</guid>

					<description><![CDATA[<p>Ping這個網路工具(指令)是時常被拿來測試網路是否通順的功能，除了可以測試機器的網路是否正常之外，有時候還會 ... <a title="Azure VM 開啟 Ping 網路規則" class="read-more" href="https://tech.uccu.website/enable-azure-vm-ping.html" aria-label="Read more about Azure VM 開啟 Ping 網路規則">閱讀全文</a></p>
<p>這篇文章 <a href="https://tech.uccu.website/enable-azure-vm-ping.html">Azure VM 開啟 Ping 網路規則</a> 最早出現於 <a href="https://tech.uccu.website">泰克哪裡去</a>。</p>
]]></description>
										<content:encoded><![CDATA[
<p>Ping這個網路工具(指令)是時常被拿來測試網路是否通順的功能，除了可以測試機器的網路是否正常之外，有時候還會拿來觀察網路延遲的時間。</p>



<p>這次的需求是為了知道簡單網路行為的耗用時間，也就是延遲時間，所以透過Ping這個簡單的網路測試功能來獲得Client端到Server端的網路耗用時間(ms)，用在計算某些服務耗用時間的扣除基準。</p>



<p>不過，雲端服務的防火牆預設是不開放任何網路封包從外面進入，必須根據需求在網路規則介面上建立，像是常用到的Web 80 Port，或是Windows遠端連線RDP的3389，所以這次需要在網路規則中加上Ping的允許規則。</p>



<span id="more-118"></span>



<p>Ping的網路規則和一般開啟Port Number不太一樣，Ping是透過ICMP協定傳送的封包，所以不是像一般設定TCP/UDP的規則，Port Number的部份不需要指定，直接填入*即可。</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="570" height="878" src="https://i0.wp.com/storage.googleapis.com/stateless-tech-uccu-website/2020/10/35d3f6d4-image.png?resize=570%2C878&#038;ssl=1" alt="" class="wp-image-119" srcset="https://i0.wp.com/storage.googleapis.com/stateless-tech-uccu-website/2020/10/35d3f6d4-image.png?w=570&amp;ssl=1 570w, https://i0.wp.com/storage.googleapis.com/stateless-tech-uccu-website/2020/10/35d3f6d4-image.png?resize=195%2C300&amp;ssl=1 195w" sizes="(max-width: 570px) 100vw, 570px" /></figure></div>



<p>如果是Linux的VM，可以輸入<code>cat /proc/sys/net/ipv4/icmp_echo_ignore_all</code>，看看顯示的值是0(啟用Ping回應)還是1(停用Ping回應)，如果是0的話，應該就可以正常Ping得到該台VM才是。</p>



<h3 class="wp-block-heading">【參考來源】</h3>



<ul class="wp-block-list"><li><a href="https://www.netadmin.com.tw/netadmin/zh-tw/technology/111381F2995A4AB48672E965F63133AE" target="_blank" rel="noreferrer noopener nofollow">搞懂ICMP協定及工具 抵擋「死亡之Ping」攻擊</a></li><li><a href="https://zh.wikipedia.org/zh-tw/%E4%BA%92%E8%81%94%E7%BD%91%E6%8E%A7%E5%88%B6%E6%B6%88%E6%81%AF%E5%8D%8F%E8%AE%AE%E7%AC%AC%E5%85%AD%E7%89%88" target="_blank" rel="noreferrer noopener nofollow">網際網路控制訊息協定第六版</a></li><li><a href="https://www.thomasmaurer.ch/2019/09/how-to-enable-ping-icmp-echo-on-an-azure-vm/" target="_blank" rel="noreferrer noopener nofollow">HOW TO ENABLE PING (ICMP ECHO) ON AN AZURE VM</a></li><li><a href="https://monovm.com/post/38/enable-ping-in-linux">enable ping in linux</a></li></ul>



<p></p>
<p>這篇文章 <a href="https://tech.uccu.website/enable-azure-vm-ping.html">Azure VM 開啟 Ping 網路規則</a> 最早出現於 <a href="https://tech.uccu.website">泰克哪裡去</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tech.uccu.website/enable-azure-vm-ping.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">118</post-id>	</item>
	</channel>
</rss>
