I'm trying to add IP range to eth0
interface on Ubuntu 16.04 server.
Following this solution I've changed the configuration to this:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 118.69.119.107
netmask 255.255.255.0
network 118.69.119.0
broadcast 118.69.119.255
gateway 118.69.119.254
up /sbin/ip address add 65.70.173.128/25 dev eth0
down /sbin/ip address delete 65.70.173.128 dev eth0
And I've got only 65.70.173.128
IP available. Is this issue somehow related with netmask
?