Hi,
It is in /etc/sysconfig/network.
network is a file which can contain a gateway statement.
If that file contains no gateway statement, check
/etc/sysconfig/network-scripts for the file:
ifcfg_eth0 or simmelar. that is the configuration file of the eth0 
interface.
That, i think can also contain a gateway statement.
Specifiing a gateway is not Linux specific.
On a windows machine one also has to do that.
You can automate the assignment of these things by using dhcp.
regards, Willem

On Tue, 1 Oct 2002, Ted Hilts wrote:

> What configuration file is used to tell a linux machine the IP address 
> of the gateway machine to the Internet?
> 
> I currently have a linux gateway machine to which other linux machines 
> can direct their output to get onto the internet.  I  have also set up 
> an XP Pro machine as a gateway when the Linux gateway machine is not 
> being used.  But the linux machines still want to send their output to 
> the Linux gateway machine.  I had a professional linux support agency 
> help me with the Linux gateway and apparently they must have also done 
> something with each of the linux machines so they would access that 
> specific gateway machine.  I don't know what they did but it now appears 
> to me that each linux machine that wants to access a gateway has to be 
> told about that gateway.  Does anyone know the command and/or the 
> configuration file for this purpose???
> 
> Bye-thanks_TED
>  
> 
> 
> 
> 

-- 
Willem van der Walt
Information Services Directorate
Department of Health
South Africa
tel: 27 12 3120700




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to