Docker: change default IP address ranges

In this tutorial, I will explain how to change Docker’s default address range. By default, Docker uses class “B” private addresses from 172.17 to 172.32. For each “stack” or container, it will assign a range with a mask in /16. Here is an example : In some cases, it may be necessary to modify this …

Read more



Nginx: get the visitor’s real IP with CloudFlare

In this tutorial, I will explain how to get the real IP address of visitors using CloudFlare services and an Nginx web server. What I will explain to you in this tutorial is valid when Nginx is used as a front-end web server or as a reverse proxy. By default, when using CloudFlare in Proxy …

Read more



PowerShell: configure an IP address

In this tutorial, I will walk you through how to configure an IP address and DNS servers using PowerShell. The first step will be to retrieve the Index from the card. Enter the following Cmdlet to display the computer’s network cards: Get-NetAdapter We will therefore configure the card which has Index 2. IP address configuration …

Read more



Windows Cluster change the IP owner

In some situations, it may be necessary to change the owner of the IP address carried by a Windows cluster. Example: on an Exchange DAG if the cluster ip is used for connections to Outlook, SMTP … 1. Open a PowerShell window as an administrator. 2. Import the administration module if necessary. 3. Enter the …

Read more