<?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>network - Architect the cloud</title>
	<atom:link href="https://blog.slepcevic.net/tag/network/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.slepcevic.net</link>
	<description></description>
	<lastBuildDate>Wed, 25 Oct 2023 21:50:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>Fix Linode Windows VM IP configuration using Windows SAC console and Lish.</title>
		<link>https://blog.slepcevic.net/fix-linode-windows-vm-ip-configuration-using-windows-sac-console-and-lish/</link>
					<comments>https://blog.slepcevic.net/fix-linode-windows-vm-ip-configuration-using-windows-sac-console-and-lish/#respond</comments>
		
		<dc:creator><![CDATA[Alesandro Slepčević]]></dc:creator>
		<pubDate>Wed, 25 Oct 2023 21:44:43 +0000</pubDate>
				<category><![CDATA[Akamai Connected Cloud]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Linode]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[windows linode]]></category>
		<guid isPermaLink="false">http://172.233.40.105/blog.slepcevic.net/?p=196</guid>

					<description><![CDATA[<p>Today I decided to migrate my Windows VM running on Linode from Paris region to Amsterdam region. After kicking off the migration through the Cloud Manager (which took &#60;15 minutes), my instance wasn&#8217;t responding to any network requests. Problem was...</p>
<p>The post <a href="https://blog.slepcevic.net/fix-linode-windows-vm-ip-configuration-using-windows-sac-console-and-lish/">Fix Linode Windows VM IP configuration using Windows SAC console and Lish.</a> first appeared on <a href="https://blog.slepcevic.net">Architect the cloud</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Today I decided to migrate my Windows VM running on Linode from Paris region to <a href="https://www.linode.com/blog/linode/european-region-expansion-live-in-amsterdam/">Amsterdam </a>region. </p>



<p>After <a href="https://www.linode.com/docs/products/compute/compute-instances/guides/migrate-to-different-dc/">kicking off the migration</a> through the Cloud Manager (which took &lt;15 minutes), my instance wasn&#8217;t responding to any network requests. Problem was completely cause by me, by configuring a static IP on the VM. After the VM got migrated to Amsterdam DC, it got a new IP which wasn&#8217;t configured on the interface. </p>



<p>The <strong>Lish Console</strong>, also called the <strong>Linode Shell</strong>, provides direct console access to all of your Compute Instances. Through Lish, you can easily access your Compute Instance’s internal Linux system and run commands, install software, or configure applications. Lish is especially useful when you are not able to connect to your server through other means, such as SSH or the entire network stack is down. </p>



<p>Alongside <strong>Lish</strong>, there&#8217;s also a tool called <strong>Glish</strong>, which stands for &#8220;<strong>Graphical Linode Shell</strong>&#8220;, which you guessed it, has the ability to display your desktop environment, including Windows. </p>



<p>Problem comes when we run an <a href="https://github.com/kitknox/winode">UNSUPPORTED deployment of Windows OS</a> on Linode and want to send  &#8220;CTRL + ALT + DEL&#8221; command to the OS. Glish doesn&#8217;t have that ability built-in. </p>



<p></p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="802" data-id="197" src="https://blog.slepcevic.net/wp-content/uploads/2023/10/glish-1024x802.png" alt="" class="wp-image-197" srcset="https://blog.slepcevic.net/wp-content/uploads/2023/10/glish-1024x802.png 1024w, https://blog.slepcevic.net/wp-content/uploads/2023/10/glish-300x235.png 300w, https://blog.slepcevic.net/wp-content/uploads/2023/10/glish-768x601.png 768w, https://blog.slepcevic.net/wp-content/uploads/2023/10/glish.png 1077w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</figure>



<p></p>



<p>When I say unsupported I mean that <strong>Windows OS works on Linode</strong> (quite good!), <strong>but there&#8217;s no official support from Linode</strong> when it comes to debugging your system.</p>



<p>If the VM starts up (aka, passes the &#8220;BIOS&#8221; stage and has a boot attempt) Linode&#8217;s work here is done and support won&#8217;t be able to provide any help with debugging your instance in case it doesn&#8217;t work properly. With that out of the way, let&#8217;s check out what options we have to fix the IP address of the interface. </p>



<ol class="wp-block-list">
<li>Extract a valid GLISH session ID and use <a href="https://novnc.com/info.html">noVNC</a> to connect over a WebSocket (more complex)</li>



<li>Use Windows SAC console which is available via Lish to configure the IP on your network adapter (less complex)</li>
</ol>



<p>We&#8217;ll go with option 2 <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Go to <strong><a href="https://cloud.linode.com/">Linode Cloud Manager</a></strong>, click on your VM and launch <strong>Lish Console</strong>. </p>



<p>You will be presented with a screen like this: </p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="679" src="https://blog.slepcevic.net/wp-content/uploads/2023/10/sac-1-1024x679.png" alt="" class="wp-image-205" srcset="https://blog.slepcevic.net/wp-content/uploads/2023/10/sac-1-1024x679.png 1024w, https://blog.slepcevic.net/wp-content/uploads/2023/10/sac-1-300x199.png 300w, https://blog.slepcevic.net/wp-content/uploads/2023/10/sac-1-768x510.png 768w, https://blog.slepcevic.net/wp-content/uploads/2023/10/sac-1.png 1064w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>What we see here is <strong>Special Admin Console (SAC)</strong> capability built into Windows. </p>



<p>Type in &#8220;<strong>cmd</strong>&#8221; and press Enter. You will get an output saying that a new &#8220;channel&#8221; was created. </p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="701" src="https://blog.slepcevic.net/wp-content/uploads/2023/10/sac2-1024x701.png" alt="" class="wp-image-199" srcset="https://blog.slepcevic.net/wp-content/uploads/2023/10/sac2-1024x701.png 1024w, https://blog.slepcevic.net/wp-content/uploads/2023/10/sac2-300x205.png 300w, https://blog.slepcevic.net/wp-content/uploads/2023/10/sac2-768x526.png 768w, https://blog.slepcevic.net/wp-content/uploads/2023/10/sac2.png 1066w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>After the channel has been created, we need to switch to it. </p>



<p><strong>We can do that by pressing ESC and then TAB</strong>. This will switch us to the new channel and prompt us to authenticate to the server. If you ever used <a href="https://www.linode.com/docs/guides/using-gnu-screen-to-manage-persistent-terminal-sessions/">screen </a>in Linux, this concept will be familiar to you <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="704" src="https://blog.slepcevic.net/wp-content/uploads/2023/10/Screenshot-2023-10-25-231227-1024x704.png" alt="" class="wp-image-200" srcset="https://blog.slepcevic.net/wp-content/uploads/2023/10/Screenshot-2023-10-25-231227-1024x704.png 1024w, https://blog.slepcevic.net/wp-content/uploads/2023/10/Screenshot-2023-10-25-231227-300x206.png 300w, https://blog.slepcevic.net/wp-content/uploads/2023/10/Screenshot-2023-10-25-231227-768x528.png 768w, https://blog.slepcevic.net/wp-content/uploads/2023/10/Screenshot-2023-10-25-231227.png 1064w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>After logging in, you&#8217;ll be presented with a familiar looking command prompt screen. </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="704" src="https://blog.slepcevic.net/wp-content/uploads/2023/10/sac5-1024x704.png" alt="" class="wp-image-202" srcset="https://blog.slepcevic.net/wp-content/uploads/2023/10/sac5-1024x704.png 1024w, https://blog.slepcevic.net/wp-content/uploads/2023/10/sac5-300x206.png 300w, https://blog.slepcevic.net/wp-content/uploads/2023/10/sac5-768x528.png 768w, https://blog.slepcevic.net/wp-content/uploads/2023/10/sac5.png 1064w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p>From here you can launch <strong>Powershell </strong>to do more complex stuff, but now we will just configure the new network settings by using the classic <strong>netsh </strong>command. Make sure to replace the IP address and the subnet to match your VM. You can see those settings in Cloud Manager by clicking on your VM and then on the <strong>Network </strong>tab</p>



<p></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="565" src="https://blog.slepcevic.net/wp-content/uploads/2023/10/networkconfig-1024x565.png" alt="" class="wp-image-206" srcset="https://blog.slepcevic.net/wp-content/uploads/2023/10/networkconfig-1024x565.png 1024w, https://blog.slepcevic.net/wp-content/uploads/2023/10/networkconfig-300x165.png 300w, https://blog.slepcevic.net/wp-content/uploads/2023/10/networkconfig-768x423.png 768w, https://blog.slepcevic.net/wp-content/uploads/2023/10/networkconfig.png 1277w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<pre class="wp-block-code"><code>#Example
netsh interface ip set address "Ethernet" static YourNewIP Mask Gateway

#Example
netsh interface ip set address "Ethernet" static 172.233.47.111 255.255.255.0 172.233.47.1

</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="703" src="https://blog.slepcevic.net/wp-content/uploads/2023/10/sac6-1024x703.png" alt="" class="wp-image-203" srcset="https://blog.slepcevic.net/wp-content/uploads/2023/10/sac6-1024x703.png 1024w, https://blog.slepcevic.net/wp-content/uploads/2023/10/sac6-300x206.png 300w, https://blog.slepcevic.net/wp-content/uploads/2023/10/sac6-768x527.png 768w, https://blog.slepcevic.net/wp-content/uploads/2023/10/sac6.png 1061w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>In case you have multiple network interfaces attached to your VM, make sure to replace &#8220;Ethernet&#8221; with the name of your adapter. </p>



<p></p>



<p>Cheers, Alex. </p><p>The post <a href="https://blog.slepcevic.net/fix-linode-windows-vm-ip-configuration-using-windows-sac-console-and-lish/">Fix Linode Windows VM IP configuration using Windows SAC console and Lish.</a> first appeared on <a href="https://blog.slepcevic.net">Architect the cloud</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://blog.slepcevic.net/fix-linode-windows-vm-ip-configuration-using-windows-sac-console-and-lish/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Lazy Loading (feed)

Served from: blog.slepcevic.net @ 2026-01-02 09:22:47 by W3 Total Cache
-->