This is what I have in /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.1.34
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.1.255
gateway 192.168.1.254
when I type /etc/init.d/networking
restart it says
Runnig etc/init.d/networking restart is deprecated because it may not enable again some interfaces
Reconfiguring network interfaces...
RTNETLINK answers: No such process
then I do an ifconfig
to see what changed and nothing changes, sometimes when I restart the network more than once and check the ifconfig
I see that It erases everything but by the next restart everything is back to normal again (without the changes that I want).
the bcast before the change is: 192.168.1.255
and the subnet mask is /24
I did not change those.
network
is the network base address and in your case is 192.168.1.0. You do not "cover" more network, you only make mistake.