How to Move a VM to Another Vnet in Azure

Hello everyone, In this blog post, I want to share with you a problem that I faced this week with moving a VM from one vnet to another in Azure. It was not as easy as I expected and it required some downtime. The problem I had a VM that needed to move to another vnet as part of organisational change. I thought it would be a simple task of creating a new network interface card (NIC) in the target vnet and attaching it to the VM. However, it seems that it’s not possible to create a NIC in another Vnet and attach it to a VM attached to a different vnet. Also, as you may know a VM must have at least one NIC attached at all times which must be connected to a vnet. ...

Sun, 19 March 2023 · 3 min · Mark

Troubleshooting Get-AzVirtualNetwork

Are you encountering the following error message when working with Azure in PowerShell and running the command Get-AzVirtualNetwork? 'Microsoft.Azure.Management.Network.Models.SecurityRule', on 'T MaxInteger[T](System.Collections.Generic.IEnumerable`1[T])' violates the constraint of type 'T'. This error can be caused by an incompatibility between PowerShell 7 and the Az Module and incompatibilty with .NET 7. To fix this issue, try the following steps: Upgrade to the latest versions of PowerShell 7 and the Az module. If the issue persists, remove all versions of the Az Module on your system by using the command Uninstall-Module Az -AllVersions. ...

Mon, 16 January 2023 · 1 min · Mark

Protect Your Kids Online

As the “IT guy” I sometimes get asked how to protect kids online from malware and adult content. This article will show you how to easily implement a solution. I recently bought a new router so I could segment my home network and get prepared for FTTP internet, and I thought I’d share with you how I set it up to protect my family home. Maybe it will help you. ...

Fri, 28 October 2022 · 4 min · Mark

How to Setup IPv6 with Pfsense

In my previous post I talked about what I learnt about IPv6. In this post I want to show you how easy it is to set up IPv6 using pfSense as the router, and Zen Internet (UK) as the ISP. Request IPv6 from Zen Email Zen and ask for IPv6, and it should be ready the same day, excluding weekends. You will receive an email from them with information like this: ...

Sun, 23 October 2022 · 4 min · Mark

I Set up IPv6 at Home

IPv4 As you may already know IANA, the global Internet Assigned Numbers Authority, have exhausted the IPv4 address space. Today, we are forced to use Network Address Translation (NAT) for home and mobile environments to translate the public IP address given to us by our ISP to internal private non-routable v4 addresses on our home devices. This works but is messy and problems will only increase as the number of devices in the world grows. We have already run out of IPv4 address space and some ISPs are implementing horrible solutions to get round it by using things like carrier grade NAT (CGN). ...

Sat, 1 October 2022 · 7 min · Mark