[CentOS] 2nd NIC troubles

Thu Apr 18 12:36:25 UTC 2013
YB Tan Sri Dato Sri' Adli a.k.a Dell <white.heron at yahoo.com>


 
Regards,

YB Tan Sri Dato' Sri Adli a.k.a Dell

my.linkedin.com/pub/yb-tan-sri-dato-sri-adli-a-k-a-dell/44/64b/464/
H/p number:  (017) 362 3661




________________________________
 From: SilverTip257 <silvertip257 at gmail.com>
To: CentOS mailing list <centos at centos.org> 
Sent: Thursday, April 18, 2013 12:28 AM
Subject: Re: [CentOS] 2nd NIC troubles
 

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  //
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos