<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=203170419-28052006><FONT face=Arial
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=203170419-28052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=203170419-28052006><FONT face=Arial
color=#0000ff size=2>thnaks for this. But I need to setup two gateways.<BR>In
the corresponding ifcfg files are the right gateways setup.<BR><BR>Best
regards</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=203170419-28052006><FONT face=Arial
color=#0000ff size=2><BR>Niels</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> centos-bounces@centos.org
[mailto:centos-bounces@centos.org] <B>Im Auftrag von </B>Joshua
Gimer<BR><B>Gesendet:</B> Sonntag, 28. Mai 2006 15:25<BR><B>An:</B> CentOS
mailing list<BR><B>Betreff:</B> Re: [CentOS] two gateways on one PC
?<BR></FONT><BR></DIV>
<DIV></DIV>Look in /etc/sysconfig/network, There should be a line in there
that looks like GATEWAY=83.x.x.1. If there isn't then check
/etc/sysconfig/networking/devices/ifcfg-name of interface for the same line.
If neither of them have if then adding it in either should be sufficent.
<BR><BR>
<DIV><SPAN class=gmail_quote>On 5/28/06, <B class=gmail_sendername>Robert</B>
<<A href="mailto:kerplop@sbcglobal.net">kerplop@sbcglobal.net</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Niels
Przybilla wrote:<BR><BR>> Hi,<BR>><BR>> i added second nic to my
server<BR>><BR>> I have these two uplinks:<BR>><BR>> My main
uplink is 195.XXX.XXX.XXX<BR>> My secondary is
83.XXX.XXX.XXX<BR>><BR>> When I add the secondary NIC, CentOS
automatically sets default gw to<BR>> 83.XXX.XXX.1 and deletes the
gateway from 195.XXX.XXX.1<BR>><BR>> How can I set it that CentOs uses
the gateway 195.XXX.XXX.1 as default<BR>> gateway. When I set this
manually with route, CentOS changes my<BR>> sentings after a
reboot.<BR>><BR>> And I need also to accept incoming traffic on
83.XXX.XXX.1.<BR>><BR>> Thanks for your help and best regards
<BR>><BR>> Niels<BR><BR>Have you checked <A
href="http://lartc.org/howto/index.html">http://lartc.org/howto/index.html</A>
-- especially section<BR>4.x
?<BR><BR><BR>_______________________________________________<BR>CentOS
mailing list<BR><A
href="mailto:CentOS@centos.org">CentOS@centos.org</A><BR><A
href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</A><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Thx<BR>Joshua Gimer </BLOCKQUOTE></BODY></HTML>