[CentOS] 2nd NIC troubles

SilverTip257 silvertip257 at gmail.com
Wed Apr 17 16:28:07 UTC 2013


On Tue, Apr 16, 2013 at 2:34 PM, John R Pierce <pierce at hogranch.com> wrote:

> On 4/16/2013 11:05 AM, Jason T. Slack-Moehrle wrote:
> > I do have another gateway at 10.0.254.1, it is a Linksys router that all
> > the provate stuff plugs into, and that Linksys plugs directly into our
> > modem.
>
> multiple gateways is problematic.   there should be only one default
> route to 0.0.0.0/0


Seconded -- multiple default gateways are definitely problematic.

You could set a metric on the second interface (eth1) prior to upping it so
that the primary has priority.  This doesn't completely remedy problematic
situations though. Example: if eth0 is downed at the switch, but not downed
on the host ... so the host will continue to try and use eth0.  A situation
in which serial remote management or physical vga/ip kvm access is helpful.
;)

Add "METRIC=30" to your ifcfg-eth1 file.


>
>
>
> so you have a pfSense firewall AND a linksys soho router both connected
> to the internet?     sounds messy.
>
>
>
> --
> john r pierce                                      37N 122W
> somewhere on the middle of the left coast
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //



More information about the CentOS mailing list