Re: 2nd NIC troubles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Apr 16, 2013 at 1:05 PM, Jason T. Slack-Moehrle
<slackmoehrle@xxxxxxxxx> 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.

You can only have one 'default' gateway.  Keep the one pointed to the
internet router.  Make a file named
/etc/sysconfig/network-scripts/route-eth1 to hold the route(s) handled
by the other interface.  Something like:
10.0.0.0/8 via 10.0.254.1
should work if you want the whole private class A space to go that way.
The ifup/ifdown scripts will add/remove the routes matching the interfaces.

--
   Les Mikesell
     lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux