Go Back To Code List
[Linux Ubuntu]
Current Code Entry
Next
CFF Coding Source - 
Create a Windows Share in Linux Ubuntu
  • Linux Ubuntu IP Address is not contained in Subnet

    Article Entry Date: March 23,2024 @ 12:30:57 / Last Updated On: April 2,2026 @ 03:01:28
During the installation of your Ubuntu Server, you can have either a [DHCP] or a [Static IP] address.
The Subnet address in Ubuntu will be the [Network Address], not the [Netmask].
In the Network Connections [Edit ens160 IPv4 Configuration]
When you think of a Subnet, you will think of this: Which is the [Netmask].

This will give you the error.
192.168.5.10 is not contained in 255.255.0.0/16.

This is because the above is the [Netmask] and not the [Subnet]/[Network Address] that is required.
[Subnet]/[Network Address]

For more information, please look at the Subnet mask calculator«.