<?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>IP address Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/ip-address/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Tue, 08 Dec 2020 01:27:24 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>I cannot change the network adapter options in Windows Server 2019/2016. How to fix it.</title>
		<link>https://www.osradar.com/i-cannot-change-the-network-adapter-options-in-windows-server-2019-2016-how-to-fix-it/</link>
					<comments>https://www.osradar.com/i-cannot-change-the-network-adapter-options-in-windows-server-2019-2016-how-to-fix-it/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Thu, 10 Dec 2020 22:25:00 +0000</pubDate>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[change network adapter options]]></category>
		<category><![CDATA[dns server on windows server]]></category>
		<category><![CDATA[IP address]]></category>
		<category><![CDATA[manage windows server connection]]></category>
		<category><![CDATA[Windows server]]></category>
		<category><![CDATA[windows server network]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=26541</guid>

					<description><![CDATA[<p>Hello! Windows Server is a safe and comprehensive operating system. In fact, it is full of roles and functions that facilitate administration. However, some configurations must be stable. In that category enter the network configurations. Logically, from this section files and resources are shared for users. However, if the IP address is changed, then the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/i-cannot-change-the-network-adapter-options-in-windows-server-2019-2016-how-to-fix-it/">I cannot change the network adapter options in Windows Server 2019/2016. How to fix it.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! <a href="https://www.microsoft.com/en-us/windows-server/trial" target="_blank" rel="noreferrer noopener">Windows Serve</a>r is a safe and comprehensive operating system. In fact, it is full of roles and functions that facilitate administration. However, some configurations must be stable. In that category enter the network configurations. Logically, from this section files and resources are shared for users. However, if the IP address is changed, then the network configuration of the server changes. As a result, network management services are disabled. Under those circumstances, the action of the server administrator is necessary. In fact, only with these privileges is it possible to check the current status of the connection. In addition to other tasks such as setting the static IP address and adjusting DNS. However, access to the resource is likely to be limited. Then the user cannot change the network adapter options in <a href="https://www.osradar.com/?s=windows+server" target="_blank" rel="noreferrer noopener">Windows Server </a>2019/2016. Don&#8217;t worry, we&#8217;ll tell you how to fix it!</p>



<h2>Entering the network adapter configuration.</h2>



<p>Recently my server connection started to show flaws. As a result, there was a change in the IP address. This resulted in limited access to the network. For that reason, I started trying to solve the problem. Consequently, I wanted to go in and check the network properties. But when trying to modify the properties of the adapter, the following error message jumped.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="789" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/fix-1024x789.png" alt="The User cannot access the properties of the network adapter." class="wp-image-26543" srcset="https://www.osradar.com/wp-content/uploads/2020/12/fix-1024x789.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/fix-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/fix-768x592.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/fix-696x536.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/fix-1068x823.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/fix.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>The User cannot access the properties of the network adapter.</figcaption></figure>



<p>After several minutes of research, I was able to find the solution. In the first place, click on <strong>Network and Sharing Center</strong>.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/fix2-1024x787.png" alt="Please click on Network and Sharing Center." class="wp-image-26545" srcset="https://www.osradar.com/wp-content/uploads/2020/12/fix2-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/fix2-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/fix2-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/fix2-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/fix2-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/fix2.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Please click on <strong>Network and Sharing Center</strong>.</figcaption></figure>



<p>A section of the Control Panel will be immediately displayed. Please click on <strong>Change Adapter Settings.</strong></p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/fix3-1024x787.png" alt="Please click on Change Adapter Settings." class="wp-image-26546" width="669" height="514" srcset="https://www.osradar.com/wp-content/uploads/2020/12/fix3-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/fix3-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/fix3-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/fix3-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/fix3-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/fix3.png 1280w" sizes="(max-width: 669px) 100vw, 669px" /><figcaption>Please click on <strong>Change Adapter Settings.</strong></figcaption></figure>



<p>From there it is possible to access the properties of the adapter. And as a consequence, carry out the management tasks. However, the ideal is to open this option directly using the first step mentioned.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/fix4-1024x787.png" alt="Changing the properties of the network adapter. " class="wp-image-26548" srcset="https://www.osradar.com/wp-content/uploads/2020/12/fix4-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/fix4-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/fix4-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/fix4-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/fix4-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/fix4.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Changing the properties of the network adapter.</figcaption></figure>



<h2>How to change network adapter properties in Windows Server 2019/2016</h2>



<p>To enable this control definitively, we will use the Windows Server policy editor. With this in mind, press the Win+Q combination and type in the following:</p>



<pre class="wp-block-preformatted">gpedit.msc</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="842" height="692" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/fix5.png" alt="Opening the server's group policy editor " class="wp-image-26551" srcset="https://www.osradar.com/wp-content/uploads/2020/12/fix5.png 842w, https://www.osradar.com/wp-content/uploads/2020/12/fix5-300x247.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/fix5-768x631.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/fix5-696x572.png 696w" sizes="(max-width: 842px) 100vw, 842px" /><figcaption>Opening the server&#8217;s group policy editor</figcaption></figure>



<p>Once there, please follow the next path: <strong>Computer Configuration&gt;Windows Settings&gt;Security Settings&gt;Security Options</strong>. Now, please scroll down to get the so-called policy: <em>User Cccount Control: Admin Approval Mode for Built-In  Administrator</em> <em>Account</em>. Then double-click on it to edit it.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/fix6-1024x787.png" alt="Please edit the policy" class="wp-image-26553" srcset="https://www.osradar.com/wp-content/uploads/2020/12/fix6-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/fix6-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/fix6-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/fix6-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/fix6-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/fix6.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Please edit the policy</figcaption></figure>



<p>As you can see, the policy is disabled. Consequently, you only have to enable it.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="417" height="507" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/fix7.png" alt="Enabling policy." class="wp-image-26555" srcset="https://www.osradar.com/wp-content/uploads/2020/12/fix7.png 417w, https://www.osradar.com/wp-content/uploads/2020/12/fix7-247x300.png 247w" sizes="(max-width: 417px) 100vw, 417px" /><figcaption>Enabling policy.</figcaption></figure>



<p>Then, you just have to restart the server to set the changes. After that, you can access the properties of the adapter directly.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="788" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/fix8-1024x788.png" alt="Finally, it is available the access to the properties of the network adapter in Window server" class="wp-image-26557" srcset="https://www.osradar.com/wp-content/uploads/2020/12/fix8-1024x788.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/fix8-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/fix8-768x591.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/fix8-696x536.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/fix8-1068x822.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/fix8.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Finally it is available the access to the properties of the network adapter in Window server</figcaption></figure>



<p>Ultimately we have been able to resolve the error <em>I cannot change network adapter options</em> in Windows Server 2019/2016. This speeds up the management of the server. Please note that it should be as smooth and stable as possible. All right, that&#8217;s it for now. See you later!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/i-cannot-change-the-network-adapter-options-in-windows-server-2019-2016-how-to-fix-it/">I cannot change the network adapter options in Windows Server 2019/2016. How to fix it.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/i-cannot-change-the-network-adapter-options-in-windows-server-2019-2016-how-to-fix-it/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to set a Static IP address on Windows 10/Server</title>
		<link>https://www.osradar.com/how-to-set-a-static-ip-address-on-windows-10-server/</link>
					<comments>https://www.osradar.com/how-to-set-a-static-ip-address-on-windows-10-server/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Fri, 11 Sep 2020 21:39:08 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[IP address]]></category>
		<category><![CDATA[private IP address]]></category>
		<category><![CDATA[static IP]]></category>
		<category><![CDATA[static ip windows]]></category>
		<category><![CDATA[Windows 10]]></category>
		<category><![CDATA[Windows server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=23495</guid>

					<description><![CDATA[<p>Hello! Let&#8217;s talk about IP addresses. It&#8217;s a number that identifies the computers or devices on a network. For example, a PC or a cell phone. In addition, they are divided into public IP addresses and private IP addresses. The public one is the one offered by the Internet access provider. Additionally, it is assigned [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-set-a-static-ip-address-on-windows-10-server/">How to set a Static IP address on Windows 10/Server</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! Let&#8217;s talk about IP addresses. It&#8217;s a number that identifies the computers or devices on a network. For example, a PC or a cell phone. In addition, they are divided into public IP addresses and private IP addresses. The public one is the one offered by the Internet access provider. Additionally, it is assigned to any computer or device connected directly to the Internet. This value cannot be modified by the user. In any case, what can be done is to hide it. On the other hand, the private IP address is used to identify computers or devices within a home or private network. This address can be dynamic, assigned through a DHCP server. It can also be static. That is, assigned by the user manually or by the network server. Well, in this post we will see how to set a Static IP address on Windows 10/<a href="https://www.microsoft.com/en-us/windows-server" target="_blank" rel="noreferrer noopener">Server.</a></p>



<h2>How to assign a static IP address on Windows 10 or Windows Server.</h2>



<p>By default, operating systems assign the private IP address dynamically. That is, assigned by DHCP. The main reason for this is that everything is more automatic for connecting devices. Also, there is no need to configure anything and it saves time. On the other hand, this configuration can cause problems in some scenarios. For example, in a Server environment, a dynamic IP address is not recommended. Since it changes periodically, then it can affect the connectivity between the client computers and the server. Well, let&#8217;s look at the procedure for setting a static IP address. In the first place, it is necessary to follow the following path: </p>



<ul><li>Control Panel</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/09/ip-1024x787.png" alt="Control Panel" class="wp-image-23498" srcset="https://www.osradar.com/wp-content/uploads/2020/09/ip-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/09/ip-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/09/ip-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/09/ip-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/09/ip-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/09/ip-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/09/ip.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Control Panel</figcaption></figure>



<ul><li>Network and Internet</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/09/ip2-1024x787.png" alt="Network and Internet" class="wp-image-23500" srcset="https://www.osradar.com/wp-content/uploads/2020/09/ip2-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/09/ip2-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/09/ip2-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/09/ip2-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/09/ip2-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/09/ip2-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/09/ip2.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<ul><li>Network and Sharing Center</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/09/ip3-1024x787.png" alt="Network and Sharing Center" class="wp-image-23502" srcset="https://www.osradar.com/wp-content/uploads/2020/09/ip3-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/09/ip3-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/09/ip3-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/09/ip3-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/09/ip3-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/09/ip3-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/09/ip3.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Once there, please click on <strong>Change adapter settings</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/09/ip4-1024x787.png" alt="Select Change adapter settings" class="wp-image-23504" srcset="https://www.osradar.com/wp-content/uploads/2020/09/ip4-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2020/09/ip4-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2020/09/ip4-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2020/09/ip4-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/09/ip4-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2020/09/ip4-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/09/ip4.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Select Change adapter settings</figcaption></figure>



<p>All available network adapters will be displayed immediately. Please select the currently connected adapter and double-click on it. This will take you to the status. Finally, click on the <strong>Properties.</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="363" height="450" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/09/ip5.png" alt="" class="wp-image-23505" srcset="https://www.osradar.com/wp-content/uploads/2020/09/ip5.png 363w, https://www.osradar.com/wp-content/uploads/2020/09/ip5-242x300.png 242w" sizes="(max-width: 363px) 100vw, 363px" /><figcaption>Enter the connection properties</figcaption></figure>



<h2>Modifying the IPV4 values.</h2>



<p>Now it is necessary to configure the values of Internet Protocol Version 4. With this in mind, select the value and then click on <strong>Properties.</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="363" height="468" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/09/ip6.png" alt="Edit IPV4 properties" class="wp-image-23506" srcset="https://www.osradar.com/wp-content/uploads/2020/09/ip6.png 363w, https://www.osradar.com/wp-content/uploads/2020/09/ip6-233x300.png 233w" sizes="(max-width: 363px) 100vw, 363px" /><figcaption>Edit IPV4 properties</figcaption></figure>



<p>As you can see, the values corresponding to the IP address and the DNS server are obtained automatically.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="400" height="455" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/09/ip7.png" alt="" class="wp-image-23508" srcset="https://www.osradar.com/wp-content/uploads/2020/09/ip7.png 400w, https://www.osradar.com/wp-content/uploads/2020/09/ip7-264x300.png 264w" sizes="(max-width: 400px) 100vw, 400px" /><figcaption>The IP address and DNS server are automatically obtained by default in Windows.</figcaption></figure>



<p>Now it is time to modify these values according to the user&#8217;s taste. If you have trouble choosing the static IP address, I recommend using the one currently used. With this intention, from a Command Prompt run the command <em>ipconfig.</em> Once there, you can copy the corresponding values:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="237" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/09/ip8-1024x237.png" alt="CMD showing connection parameters" class="wp-image-23510" srcset="https://www.osradar.com/wp-content/uploads/2020/09/ip8-1024x237.png 1024w, https://www.osradar.com/wp-content/uploads/2020/09/ip8-300x69.png 300w, https://www.osradar.com/wp-content/uploads/2020/09/ip8-768x178.png 768w, https://www.osradar.com/wp-content/uploads/2020/09/ip8-696x161.png 696w, https://www.osradar.com/wp-content/uploads/2020/09/ip8-1068x247.png 1068w, https://www.osradar.com/wp-content/uploads/2020/09/ip8.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>CMD showing connection parameters</figcaption></figure>



<p>Then, just add those values to the corresponding table. As far as the DNS is concerned, please add the corresponding value to the <strong>Default gateway.</strong> Press OK to continue.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="400" height="455" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/09/ip9.png" alt="Assigning a static IP address" class="wp-image-23512" srcset="https://www.osradar.com/wp-content/uploads/2020/09/ip9.png 400w, https://www.osradar.com/wp-content/uploads/2020/09/ip9-264x300.png 264w" sizes="(max-width: 400px) 100vw, 400px" /><figcaption>Assigning a static IP address</figcaption></figure>



<p>And this is all! In this simple way, we have seen how to set a static IP address in Windows 10/Server. From now on, you can play with this value within the network. Before I say goodbye, I invite you to see our post about resetting the user password in <a href="https://www.osradar.com/how-to-reset-user-password-in-windows-server-2019-2016/" target="_blank" rel="noreferrer noopener">Windows Server.</a> Bye!</p>



<h2></h2>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-set-a-static-ip-address-on-windows-10-server/">How to set a Static IP address on Windows 10/Server</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-set-a-static-ip-address-on-windows-10-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to enable and disable PING ICMP in Windows 10 Firewall</title>
		<link>https://www.osradar.com/how-to-enable-and-disable-ping-icmp-in-windows-10-firewall/</link>
					<comments>https://www.osradar.com/how-to-enable-and-disable-ping-icmp-in-windows-10-firewall/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sun, 13 Oct 2019 07:29:31 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[ICMP]]></category>
		<category><![CDATA[IP address]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[Windows 10]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=14575</guid>

					<description><![CDATA[<p>Hello! This time I&#8217;m going to talk to you about security in Windows 10. It is well known that the system offers multiple layers of security to keep the privacy of our information safe. Certainly, this entails control over network connections. These are really useful for exchanging information and sending data. However, sometimes these connections [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-enable-and-disable-ping-icmp-in-windows-10-firewall/">How to enable and disable PING ICMP in Windows 10 Firewall</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! This time I&#8217;m going to talk to you about security in Windows 10. It is well known that the system offers multiple layers of security to keep the privacy of our information safe. Certainly, this entails control over network connections. These are really useful for exchanging information and sending data. However, sometimes these connections can fail and so it is imperative to get the error. One of the resources used for this task is <a rel="noreferrer noopener" aria-label="PING (opens in a new tab)" href="https://techterms.com/definition/ping" target="_blank">PING</a>. It is a basic Internet program that allows a user to verify that a particular IP address exists and can accept requests. This app verifies whether the IP address of a host is currently operational, and how long it takes to respond. Ping works by sending an Internet Control Message Protocol <a rel="noreferrer noopener" aria-label="(ICMP)  (opens in a new tab)" href="https://techterms.com/definition/icmp" target="_blank">(ICMP) </a>Echo Request to a specified interface on the network and waiting for a reply. </p>



<p>Additionally, it can be used for troubleshooting to test connectivity and determine response time. However, most administrator users consider the ICMP protocol to be potentially unsafe and prefer to block these calls. For this reason, the Windows 10 firewall by default has a security policy of blocking such requests. This is easy to check, trying to ping our computer from a remote machine, we&#8217;ll see the following message:</p>



<figure class="wp-block-image"><img loading="lazy" width="982" height="475" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping.jpg" alt="failed ping from a remote computer" class="wp-image-14577" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping.jpg 982w, https://www.osradar.com/wp-content/uploads/2019/10/ping-300x145.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping-768x371.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/ping-696x337.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping-868x420.jpg 868w" sizes="(max-width: 982px) 100vw, 982px" /><figcaption>failed ping from a remote computer</figcaption></figure>



<p>However, it is not advisable to completely block these calls. Therefore, here I show you how to enable and disable ping in Windows 10.</p>



<h2>Enable ping in windows 10. Command line mode.</h2>



<p>The first thing we need to do is to open a Command Prompt as administrators. Once there, we have to create a rule for IPv4 addressing and another for IPv6. All right, to create the first rule you just have to type the following command in the console:</p>



<pre class="wp-block-preformatted">netsh advFirewall Firewall add rule name="OSRadar Rule PING IPv4" protocol=icmpv4:8,any dir=in action=allow </pre>



<p>If everything was done correctly, the CMD should look like this:</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="548" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping2-1-1024x548.jpg" alt="Creating the exception for IPv4 addressing " class="wp-image-14604" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping2-1-1024x548.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/ping2-1-300x161.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping2-1-768x411.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/ping2-1-696x373.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping2-1-1068x572.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/10/ping2-1-785x420.jpg 785w, https://www.osradar.com/wp-content/uploads/2019/10/ping2-1.jpg 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> <em>Creating the exception for IPv4 addressing</em> </figcaption></figure>



<p>Next, we will create the rule for IPv6 addressing:</p>



<pre class="wp-block-preformatted">netsh advFirewall Firewall add rule name="OSRadar Rule PING IPv6" protocol=icmpv6:8,any dir=in action=allow </pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="548" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping3-1-1024x548.jpg" alt="Creating the exception for IPv6 addressing  " class="wp-image-14605" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping3-1-1024x548.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/ping3-1-300x161.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping3-1-768x411.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/ping3-1-696x373.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping3-1-1068x572.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/10/ping3-1-785x420.jpg 785w, https://www.osradar.com/wp-content/uploads/2019/10/ping3-1.jpg 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> <em>Creating the exception for IPv6 addressing </em> </figcaption></figure>



<p>We have correctly applied the rules for the ping command. We can check that it works, pinging from a remote computer:</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="457" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping4-1024x457.jpg" alt="Ping successful" class="wp-image-14582" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping4-1024x457.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/ping4-300x134.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping4-768x343.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/ping4-696x310.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping4-1068x476.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/10/ping4-942x420.jpg 942w, https://www.osradar.com/wp-content/uploads/2019/10/ping4.jpg 1083w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Ping successful</figcaption></figure>



<p>To disable the exception for IPv4 addresses, just type the following commanding in the CMD:</p>



<pre class="wp-block-preformatted">netsh advFirewall Firewall add rule name="OSRadar Rule PING IPv4" protocol=icmpv4:8,any dir=in action=block </pre>



<p>In the case of IPv6 addressing, the command to write will be the following:</p>



<pre class="wp-block-preformatted">netsh advFirewall Firewall add rule name="OSRadar Rule IPv6" protocol=icmpv6:8,any dir=in action=block </pre>



<p>Please note that you can choose the name you want for the rules. If you want to see every rule in the system in detail, just write the following in the terminal:</p>



<pre class="wp-block-preformatted"> netsh advFirewall Firewall show rule name=all </pre>



<figure class="wp-block-image"><img loading="lazy" width="979" height="512" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping5-1.jpg" alt="CMD showing firewall rules" class="wp-image-14606" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping5-1.jpg 979w, https://www.osradar.com/wp-content/uploads/2019/10/ping5-1-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping5-1-768x402.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/ping5-1-696x364.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping5-1-803x420.jpg 803w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption> <em>CMD showing firewall rules</em> </figcaption></figure>



<h2> Enable ping in windows 10. Graphic mode. </h2>



<p>It is also possible to create specific rules to enable and disable ping by entering the Windows 10 Firewall Advanced Security Configuration. With this intention, just type Firewall on the search bar:</p>



<figure class="wp-block-image"><img loading="lazy" width="784" height="680" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping6.png" alt="Open firewall with advanced security" class="wp-image-14586" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping6.png 784w, https://www.osradar.com/wp-content/uploads/2019/10/ping6-300x260.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping6-768x666.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/ping6-534x462.png 534w, https://www.osradar.com/wp-content/uploads/2019/10/ping6-696x604.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping6-484x420.png 484w" sizes="(max-width: 784px) 100vw, 784px" /><figcaption>Open firewall with advanced security</figcaption></figure>



<p>Immediately the Firewall options will be displayed. As we did before, we have to create a rule for IPv4 and another for IPv6.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="548" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping7-1024x548.jpg" alt="Windows Firewall with advanced security options" class="wp-image-14587" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping7-1024x548.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/ping7-300x161.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping7-768x411.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/ping7-696x373.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping7-1068x572.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/10/ping7-785x420.jpg 785w, https://www.osradar.com/wp-content/uploads/2019/10/ping7.jpg 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Windows Firewall with advanced security options</figcaption></figure>



<p>So first, select the Inbound Rules option in the left column and right-click the mouse to create a <strong>New Rule</strong>:</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="550" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping8-1024x550.jpg" alt="Creating a new firewall rule" class="wp-image-14588" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping8-1024x550.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/ping8-300x161.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping8-768x412.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/ping8-696x374.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping8-1068x573.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/10/ping8-782x420.jpg 782w, https://www.osradar.com/wp-content/uploads/2019/10/ping8.jpg 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Creating a new firewall rule</figcaption></figure>



<p>A rule creation wizard will start. Please select <em>Custom</em> in the rule type and press Next to continue.</p>



<figure class="wp-block-image"><img loading="lazy" width="716" height="586" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping9.jpg" alt="Select custom rule" class="wp-image-14589" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping9.jpg 716w, https://www.osradar.com/wp-content/uploads/2019/10/ping9-300x246.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping9-696x570.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping9-513x420.jpg 513w" sizes="(max-width: 716px) 100vw, 716px" /><figcaption>Select custom rule</figcaption></figure>



<p>On the next screen select <em>All programs</em> and press Next to continue.</p>



<figure class="wp-block-image"><img loading="lazy" width="716" height="586" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping10.jpg" alt="Select All programs" class="wp-image-14591" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping10.jpg 716w, https://www.osradar.com/wp-content/uploads/2019/10/ping10-300x246.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping10-696x570.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping10-513x420.jpg 513w" sizes="(max-width: 716px) 100vw, 716px" /><figcaption>Select All programs</figcaption></figure>



<p>In the protocol type, select <strong>ICMPv4 </strong>and then click on <em>customize.</em></p>



<figure class="wp-block-image"><img loading="lazy" width="716" height="586" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping11.jpg" alt="Define protocol and Ports" class="wp-image-14593" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping11.jpg 716w, https://www.osradar.com/wp-content/uploads/2019/10/ping11-300x246.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping11-696x570.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping11-513x420.jpg 513w" sizes="(max-width: 716px) 100vw, 716px" /><figcaption>Define protocol and Ports</figcaption></figure>



<p>In the pop-up screen activate the<em> Specific ICMP</em> types box and navigate until you activate the <em>Echo Reques</em>t option. Press accept to apply the changes.</p>



<figure class="wp-block-image"><img loading="lazy" width="430" height="508" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping12.jpg" alt="Select Echo Request in Specific ICMP types" class="wp-image-14595" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping12.jpg 430w, https://www.osradar.com/wp-content/uploads/2019/10/ping12-254x300.jpg 254w, https://www.osradar.com/wp-content/uploads/2019/10/ping12-356x420.jpg 356w" sizes="(max-width: 430px) 100vw, 430px" /><figcaption>Select Echo Request in Specific ICMP types</figcaption></figure>



<p>Next, we can define which specific IP addresses this rule will apply, on the contrary, we will allow the requests of all the addresses. Once the selection is made, press next to continue.</p>



<figure class="wp-block-image"><img loading="lazy" width="714" height="581" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping13.jpg" alt="Define IP direction to apply the rule" class="wp-image-14597" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping13.jpg 714w, https://www.osradar.com/wp-content/uploads/2019/10/ping13-300x244.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping13-696x566.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping13-516x420.jpg 516w" sizes="(max-width: 714px) 100vw, 714px" /><figcaption>Define IP direction to apply the rule</figcaption></figure>



<p>Now select Allow the connection and press Next to continue</p>



<figure class="wp-block-image"><img loading="lazy" width="714" height="581" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping13-2.jpg" alt="Choose Allow the connection" class="wp-image-14599" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping13-2.jpg 714w, https://www.osradar.com/wp-content/uploads/2019/10/ping13-2-300x244.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping13-2-696x566.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping13-2-516x420.jpg 516w" sizes="(max-width: 714px) 100vw, 714px" /><figcaption>Select Allow the connection</figcaption></figure>



<p>In the following screen, we have to select when the new rule will be applied. Please check the 3 available options and press next to continue.</p>



<figure class="wp-block-image"><img loading="lazy" width="714" height="581" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping14.jpg" alt="Select profile to apply the rule" class="wp-image-14602" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping14.jpg 714w, https://www.osradar.com/wp-content/uploads/2019/10/ping14-300x244.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping14-696x566.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping14-516x420.jpg 516w" sizes="(max-width: 714px) 100vw, 714px" /><figcaption>Select profile to apply the rule</figcaption></figure>



<p>Finally, we only have to assign a name to the rule and press Finish to close the wizard.</p>



<figure class="wp-block-image"><img loading="lazy" width="714" height="581" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping15.jpg" alt="Sets the name of the rule" class="wp-image-14608" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping15.jpg 714w, https://www.osradar.com/wp-content/uploads/2019/10/ping15-300x244.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping15-696x566.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping15-516x420.jpg 516w" sizes="(max-width: 714px) 100vw, 714px" /><figcaption>Sets the name of the rule</figcaption></figure>



<p>Finally, we can see the rule created correctly. To create the exception for IPv6 addressing, we have to repeat the same process but in the protocol and ports window, we have to select ICMPv6.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="548" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping16-1024x548.jpg" alt="Inbound rule correctly created" class="wp-image-14611" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping16-1024x548.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/ping16-300x161.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping16-768x411.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/ping16-696x373.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping16-1068x572.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/10/ping16-785x420.jpg 785w, https://www.osradar.com/wp-content/uploads/2019/10/ping16.jpg 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Inbound rule correctly created</figcaption></figure>



<p>To disable any of the created rules, just right-click on it and choose <strong>Disable Rule</strong>.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="550" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ping17-1-1024x550.jpg" alt="Disable rule in Windows Firewall" class="wp-image-14614" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ping17-1-1024x550.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/10/ping17-1-300x161.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/10/ping17-1-768x412.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/10/ping17-1-696x374.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/10/ping17-1-1068x573.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/10/ping17-1-782x420.jpg 782w, https://www.osradar.com/wp-content/uploads/2019/10/ping17-1.jpg 1360w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Disable rule in Windows Firewall</figcaption></figure>



<h2>Conclusion</h2>



<p>Finally, we have seen how to enable and disable ping in Windows 10. This will allow us to manage and administer our connections using this command. Finally, we have seen how to enable and disable ping in Windows 10. This will allow us to manage and administer our connections using this command. Consequently,  we will be able to monitor the levels of security and data protection on our computers. This is all for now, before saying goodbye I invite you to review our tutorial on bash in <a href="https://www.osradar.com/how-to-install-and-use-bash-in-windows-10/" target="_blank" rel="noreferrer noopener" aria-label="Windows 10 (opens in a new tab)">Windows 10</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-enable-and-disable-ping-icmp-in-windows-10-firewall/">How to enable and disable PING ICMP in Windows 10 Firewall</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-enable-and-disable-ping-icmp-in-windows-10-firewall/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Find IP and Gateway in Linux</title>
		<link>https://www.osradar.com/how-to-find-ip-and-gateway-in-linux/</link>
					<comments>https://www.osradar.com/how-to-find-ip-and-gateway-in-linux/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Nabeel]]></dc:creator>
		<pubDate>Sun, 22 Sep 2019 10:02:42 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[IP address]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13740</guid>

					<description><![CDATA[<p>What is IP Address? An Internet Protocol address (IP address) is a unique identifier assigned to each device connected to a computer network that uses the Internet Protocol for communication. The IP address space is managed globally by the Internet Assigned Numbers Authority (IANA). Their are two versions of IP address, IP Version 4 (IPv4) [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-find-ip-and-gateway-in-linux/">How to Find IP and Gateway in Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p><strong>What is IP Address?</strong></p>



<p>An Internet Protocol address (IP address) is a unique identifier assigned to each device connected to a computer network that uses the Internet Protocol for communication. The IP address space is managed globally by the Internet Assigned Numbers Authority (IANA).</p>



<p>Their are two versions of IP address, IP Version 4 (IPv4) it uses just 32 bits and IP Version 6 (IPv6) uses 128 bits.</p>



<p><strong>What is Gateway?</strong></p>



<p>A gateway is the network node using the internet protocol suite that serves as the forwarding host to other networks. It allows one computer to send information to a computer in another network or the internet.</p>



<p>In this article you will learn that how to see server IP address and its default gateway.</p>



<h2><strong>How to find IP Address in Linux?</strong></h2>



<h3>Find Private IP address:</h3>



<p>Use one of following commands to check your machine Private IP address.</p>



<pre class="wp-block-preformatted">ip a</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="237" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/1-14-1024x237.png" alt="" class="wp-image-13742" srcset="https://www.osradar.com/wp-content/uploads/2019/09/1-14-1024x237.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/1-14-300x69.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/1-14-768x178.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/1-14-696x161.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/1-14-1068x247.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/1-14.png 1691w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>OR</strong></p>



<pre class="wp-block-preformatted">ifconfig</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="365" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/2-13-1024x365.png" alt="" class="wp-image-13743" srcset="https://www.osradar.com/wp-content/uploads/2019/09/2-13-1024x365.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/2-13-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/2-13-768x274.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/2-13-696x248.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/2-13-1068x381.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/2-13-1178x420.png 1178w, https://www.osradar.com/wp-content/uploads/2019/09/2-13.png 1570w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>So, In result you will get your private IP address. examples are in above images. But what if you want want to see your Public IP address</p>



<h3>Find Public IP Address:</h3>



<p>So, If you want want to see your Public IP address use following command.</p>



<pre class="wp-block-preformatted">curl ifconfig.me</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="121" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/3-13-1024x121.png" alt="" class="wp-image-13744" srcset="https://www.osradar.com/wp-content/uploads/2019/09/3-13-1024x121.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/3-13-300x36.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/3-13-768x91.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/3-13-696x82.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/3-13-1068x126.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/3-13.png 1216w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<h2><strong>How to Find Gateway in Linux?</strong></h2>



<p>Above you have read about Gateway address, now we will discuss that how we can see our server&#8217;s gateway.<br>
to do so, simple run one of following commands and you will get result on your screen.</p>



<pre class="wp-block-preformatted">ip route</pre>



<p></p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="126" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/4-13-1024x126.png" alt="" class="wp-image-13745" srcset="https://www.osradar.com/wp-content/uploads/2019/09/4-13-1024x126.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/4-13-300x37.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/4-13-768x94.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/4-13-696x86.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/4-13-1068x131.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/4-13.png 1309w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>OR</strong></p>



<pre class="wp-block-preformatted">ip route | grep default</pre>



<p></p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="132" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/5-11-1024x132.png" alt="" class="wp-image-13746" srcset="https://www.osradar.com/wp-content/uploads/2019/09/5-11-1024x132.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/5-11-300x39.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/5-11-768x99.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/5-11-696x90.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/5-11-1068x138.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/5-11.png 1178w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>OR</strong></p>



<pre class="wp-block-preformatted">route -n</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="168" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/6-14-1024x168.png" alt="" class="wp-image-13747" srcset="https://www.osradar.com/wp-content/uploads/2019/09/6-14-1024x168.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/6-14-300x49.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/6-14-768x126.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/6-14-696x114.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/6-14-1068x175.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/6-14.png 1296w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-find-ip-and-gateway-in-linux/">How to Find IP and Gateway in Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-find-ip-and-gateway-in-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to set a Static IP address on CentOS 7?</title>
		<link>https://www.osradar.com/how-to-set-a-static-ip-address-on-centos-7/</link>
					<comments>https://www.osradar.com/how-to-set-a-static-ip-address-on-centos-7/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sun, 07 Oct 2018 00:00:54 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[IP address]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=6174</guid>

					<description><![CDATA[<p>In several of our tutorials, we have referred to the IP address of a server. However, for many, the concept is not entirely clear. Today, I will show how to set a Static IP address using CentOS7. IP means &#8220;Internet Protocol&#8220;. An IP address is a number (or set of numbers) that logically and hierarchically [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-set-a-static-ip-address-on-centos-7/">How to set a Static IP address on CentOS 7?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In several of <a href="https://www.osradar.com/how-to-install-kanboard-on-centos-7/">our </a>tutorials, we have referred to the IP address of a server. However, for many, the concept is not entirely clear. Today, I will show how to set a Static IP address using CentOS7.</p>
<p>IP means &#8220;<a href="https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/com.ibm.aix.networkcomm/protocols_ip.htm" rel="noopener">Internet Protocol</a>&#8220;. An IP address is a number (or set of numbers) that logically and hierarchically identifies a network interface (communication/connection element) of a device (computer, tablet, laptop, smartphone) that uses the IP protocol. Every web page you visit, any computer you work from or even mobile phones and tablets, has one of these addresses when you access the internet.</p>
<p>According to the form and scope of IP addresses, they can be classified into Public and private; static and dynamic; Type A, B or C. Despite all of them, I will focus on dynamic and static IP.</p>
<h2>Dynamic IP Address and Static IP Address</h2>
<p>In short, a dynamic IP address is one that is obtained via a DHCP server. Among its main advantages are:</p>
<ul>
<li>Reduces the amount of assigned IP inactive.</li>
<li>It provides more security because your IP can change constantly.</li>
<li>IP addresses are assigned by a server.</li>
</ul>
<p>Otherwise, static IP addresses are assigned manually by a user and will not change until the user assigns another. Nonetheless, a router can also assign this type of address through the device&#8217;s MAC address. Its main advantage is that it is easier to deploy network services. However, it is a slightly less secure method as the IP address will never change.</p>
<h2>How to do it in CentOS 7</h2>
<p>First, you must know what address and what the network interface is called. To do this, open a terminal and run as root user:</p>
<pre class="">:~# yum install net-tools</pre>
<p><figure id="attachment_6205" aria-describedby="caption-attachment-6205" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6205" src="https://www.osradar.com/wp-content/uploads/2018/10/1-2.png" alt="1.- Installing net-tools packages" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/1-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/1-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/1-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/1-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/1-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/1-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/1-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6205" class="wp-caption-text">1.- Installing net-tools packages</figcaption></figure></p>
<p>Then, verify the name of the network interface:</p>
<pre class="">:~# ip addr show</pre>
<p><figure id="attachment_6206" aria-describedby="caption-attachment-6206" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6206" src="https://www.osradar.com/wp-content/uploads/2018/10/2-2.png" alt="2.- Showing the network interface" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/2-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/2-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/2-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/2-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/2-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/2-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/2-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6206" class="wp-caption-text">2.- Showing the network interface</figcaption></figure></p>
<p>In this case, the interface name is <em>enp0s3. </em>In this section, you can also see the IP address of the computer.<em><br />
</em></p>
<p>Now you need to edit the interface configuration file.</p>
<pre class="">:~# nano /etc/sysconfig/network-scripts/ifcfg-enp0s3</pre>
<p><figure id="attachment_6208" aria-describedby="caption-attachment-6208" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6208" src="https://www.osradar.com/wp-content/uploads/2018/10/3-2.png" alt="3.- Showing the configuration file for the network interface" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/3-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/3-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/3-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/3-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/3-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/3-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/3-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6208" class="wp-caption-text">3.- Showing the configuration file for the network interface</figcaption></figure></p>
<p>This is the contents of the file in my case.</p>
<pre class="">TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=enp0s3
UUID=195e564e-ecc4-477f-89ae-7158db8562fe
DEVICE=enp0s3
ONBOOT=yes
ZONE=public</pre>
<p>Of all this, you only have to modify <em>BOOTPROTO </em>to static and add the following:</p>
<pre class="">IPADDR=YOUR_IP
PREFIX=24
GATEWAY=YOUR_GATEWAY
DNS1=DNS_IP
DNS2=DNS_IP</pre>
<p>These are the parameters that you must place in your case that require. For example, the IP can be the one you want, and the gateway depends on your network. DNS values are optional.</p>
<p><figure id="attachment_6254" aria-describedby="caption-attachment-6254" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-6254 size-full" src="https://www.osradar.com/wp-content/uploads/2018/10/1000.png" alt="4.-Network configuration" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/1000.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/1000-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/1000-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/1000-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/1000-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/1000-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/1000-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6254" class="wp-caption-text">4.-Network configuration</figcaption></figure></p>
<p>Finally, restart the network service.</p>
<pre class="">:~# systemctl restart network</pre>
<p>Then, verify the IP address.</p>
<pre class="">:~# ip addr show</pre>
<p><figure id="attachment_6255" aria-describedby="caption-attachment-6255" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-6255 size-full" src="https://www.osradar.com/wp-content/uploads/2018/10/2000.png" alt="5.- Showing the new IP address" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/2000.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/2000-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/2000-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/2000-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/2000-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/2000-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/2000-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6255" class="wp-caption-text">5.- Showing the new IP address</figcaption></figure></p>
<p>And that&#8217;s it.</p>
<p>As you could see, it&#8217;s easy to make the change to the static IP address in CentOS 7. Remember that the configuration parameters are changeable and you must have them for your connection to be correct.</p>
<p>Please share this article in your social networks.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-set-a-static-ip-address-on-centos-7/">How to set a Static IP address on CentOS 7?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-set-a-static-ip-address-on-centos-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
