define GATEWAY in /etc/sysconfig/network and or /etc/sysconfig/network-scripts

Dave Martini martini1 at llnl.gov
Fri Aug 29 16:47:42 UTC 2008


Hi Harry thanks much.
Do you mean that if you defined each ifcfg with it's own gateway
and there is a default gateway defined in the netowrk file that
will take precedence?

If you ping a machine what gateway will the OS use, the one
in the network file or the one in the ifcfg or both?


Harry Hoffman wrote:
> each ifcfg-ethX can have a GATEWAY definition.
> 
> to make the default gateway use GATEWAYDEV in /etc/sysconfig/network
> 
> 
> On Fri, 2008-08-29 at 09:27 -0700, Dave Martini wrote:
>> If  one has multiple NIC's in the machine physically
>> connected to a switch with separate IP's
>> is it possible to defined multiple GATEWAY's
>> in the ifcfg-eth# file for each nic?
>>
>> How does the GATEWAY information in the
>> /etc/sysconfig/network
>> file impact the GATEWAY information in the ifcfg-eth#
>> file? Does it override it?
>>
>> Thank You.
>> Dave Martini
>> LLNL
>>
> 




More information about the redhat-list mailing list