I am following the guide here to configure a fresh Ubuntu 12.04 server installation (running in VirtualBox) with a static IP address. The recommended configuration in /etc/network/interfaces is:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
Due to my router, I will be giving the server the address 192.168.1.55, and the gateway will be 192.168.1.254 (which is the IP of my BT HomeHub), and the Netmask is fine as it is.
But I'm interested to know: What are the functions of 'network' and 'broadcast' here?
Can I leave these as they are in the example above, or do they need to point somewhere specific based on my home network?