gateway

Hi,
in which file and how shuold be decalred a gateway and its IP adresse ?
Where and how add a gateway ?
Many thanks before.

Depends on OS... For example, on Redhat (RHEL, CentOS, FC) systems /etc/sysconfig/network-scripts/ifcfg-eth0 will have a GATEWAY=<some_ip_address> assignment.

Which distro are you using?

Cheers
ZB

I run centOS, and my gw is configured in the following file:
# pwd
/etc/sysconfig
# cat network
NETWORKING=yes
HOSTNAME=smpbox.home.com
GATEWAY=192.25.237.254

Thank you.