<div dir="ltr">On Wed, Aug 20, 2008 at 7:52 AM, Filipe Brandenburger <span dir="ltr"><<a href="mailto:filbranden@gmail.com">filbranden@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<div class="Ih2E3d"><br>
On Wed, Aug 20, 2008 at 01:22, Rob Townley <<a href="mailto:rob.townley@gmail.com">rob.townley@gmail.com</a>> wrote:<br>
> two NICs each that would use two different gateways,<br>
<br>
</div>If you are configuring default gateways on each interface, you are<br>
probably doing something wrong.<br>
<br>
The only reason why you would want to do that is to balance your<br>
outgoing traffic between the two NICs, and this is better accomplished<br>
with bonding interfaces.<br>
<div class="Ih2E3d"></div></blockquote><div><br>Bonding would defeat my purpose for this. My registrar requires two dns servers on two different IP addresses, but i only wanted to use one machine for now. The machine has two NICs that connect out through the same cable modem. One behind a soho firewall, one direct. <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
> ifup would not process either route.ethX nor ethX.route<br>
> - at least not enough for it to show in route. Had to set<br>
> the routes in /etc/rc.local.<br>
<br>
</div>I fail to see why SELinux would make any difference on that. Can you<br>
describe your issue better? What is the configuration you tried to set<br>
up, and why didn't it work? What version of CentOS are you using, 4 or<br>
5? What is in /var/log/messages and /var/log/audit/audit.log when you<br>
try to bring the interface up?</blockquote><div><br>The interfaces would come up, the point was that that system-config-network would not keep the static information for the two NICs after a reboot. So when the machine was rebooted, some part of IP, SM, GW, NS disappeared or reverted back to DHCP even though it was explicitly set to static. I was using CentOS 5.0 / 5.1 when i had most problems. No entries would have appeared in the logs. I modified ifup-route to add logging to it directly and believe it was never called. Maybe i will have to upgrade the machine so i can run both the TUI and GUI more and monitor all files changed by both. Further, i turned off NetworkManager to get much further in keeping static ip setup.<br>
<br>Couldn't tell you much about why seLinux may have caused problems except that maybe there were mdac labels on files that broke some part of system-config-network keeping static routes and dns servers. I just remember that uninstalling seLinux got me much much further on a different machine when it came to static settings for multiple NICs. Much Further.<br>
<br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Regards,<br>
<font color="#888888">Filipe<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<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" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div><br></div>