setting up static ip on linux
- by user64908
I understood the interface file in linux needs to be edited and the corresponding lines added.
I don't understand what network and broadcast are for, it seems extra versus a windows static ip configuration.
In my case my gateway is 192.168.5.1 and my machine ip is 192.168.5.101, what would be my network and broadcast address, is the below correct and what exactly do they mean?
iface eth0 inet static
address 192.168.5.101
gateway 192.168.5.1
netmask 255.255.255.0
network 192.168.5.0
broadcast 192.168.5.255