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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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