/etc/sysconfig/network-scripts file in Linux

Back

Most of the files in the /etc/sysconfig/network-scripts directory are actually scripts. in other words, they are executable files based on a series of text commands, customized for network device type. If there's a special file in this directory , with a name like route-eth0. That special route would specify the gateway to a remote network address / network mask pair 

Example :

ADDRESS = 192.168.100.100
NETMASK = 255.255.255.0
GATEWAY = 192.168.122.1