While trying to install Ubuntu server 18.4.01, when I am trying to configure manual IPV4 address, I am getting an error that:
192.168.1.50/24 has host bits set
I am unable to proceed with the installation.
The “host bits” are the number of 'zero' bits, when you write out the subnet mask in binary form (make sure to fill out the full octets). For example, the subnet mask 255.255.255.0 (decimal format) would translate to. 11111111 . 11111111 . 11111111 .
The best possible way to set a static IP address to your Ubuntu 20.04 device is to use DHCP reservation. DHCP reservation is a feature built-in to most routers and allows you to set a specific IP. Basically, this feature ensures that the router keeps the IP address aside and only hands it to your device.
A Netmask is a 32-bit "mask" used to divide an IP address into subnets and specify the network's available hosts. In a netmask, two bits are always automatically assigned. For example, in 255.255. 225.0, "0" is the assigned network address.
Found the solution. I was entering wrong values. I have to provide the value in the Subnet
section in following format:
192.168.1.0/24
And the IP address in Address
field.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With