|
Inside the ifcfg-eth0, the "NETWORK" stands for the network broadcast IP address or network class address. This is with relation with IP subnetting (NETMASK) and network broadcaset as well. Usually for full class network class address, the IP address to specify with NETWORK is your IP address but removing the last octet number and replacing it with zero (0).
Basically, if your IP address is 192.168.1.10 and your netmask is 255.255.255.0 for example , you may put 192.168.1.0 for your full NETWORK class address or broadcast.
The "GATEWAY" from /etc/sysconfig/network is optional and case to case basis depending on your box setup. Some boxes are being setup as multihomed linux box, some are for desktop usage only. You can specify your gateway IP address using GATEWAY=yourgatewayip like so
GATEWAY=192.168.1.1
Moreover you can put this from /etc/sysconfig/network or /etc/sysconfig/network-scripts/ifcfg-eth0 without any excess character.
Hope this helps.
Last edited by mnisay; 13th July 2007 at 09:13 AM.
|