[2073] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Routing with IP Gatewaying

daemon@ATHENA.MIT.EDU (Sheldon E. Newhouse)
Thu Oct 31 14:27:43 1996

Date: Thu, 31 Oct 1996 14:17:28 -0500
From: "Sheldon E. Newhouse" <sen1@math.msu.edu>
To: redhat-list@redhat.com
In-Reply-To: <Pine.LNX.3.95.961031120158.17833B-100000@hilly.apci.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

redhat@apci.net writes:
 > 
 > I have two ethernet interfaces, eth0 and eth1.  The kernel probes and
 > finds eth0, and the append line in my lilo.conf successfully makes the
 > kernel probe and find eth1.  Piece of cake so far...
 > 
 > Let's say eth0 has address x.x.x.3 in a class C network with a default
 > gateway of x.x.x.1.  I've got this configured and it works just great.
 > 
 > Now, let's say eth1 has address y.y.y.1 in a different class C network,
 > and it is to be the default gateway for other hosts in y.y.y.0.  By the 
 > way, y.y.y.0 is a valid network on the Internet which need to be
 > reachable by the global Internet, so I don't want proxying or
 > masquarading.  How do I make this work?  
I have exactly this setup, and I never got the routing to work properly
with any of the options about IP forwarding and/or gatewaying enabled or
disabled.  The last time I tried to fix this was with 1.3.x kernels.  If
anyone has a working setup with two ethernet cards in the same box
routing to two different networks, I would like to know exactly how it
is set up, too. 

 However, in my case I found another solution.  One net is small (three
machines). The other net is the internet.  I simply set up static routes
to the hosts on the small net and the main network route to the
internet. This has worked just fine. 

My ISP is down now, so I can't show you the routes and commands. Write
me by private e-mail if you want these. 

-sen

 ---------------------------------------------------------------------------
 | Sheldon E. Newhouse            |    e-mail: sen1@math.msu.edu           |
 | Mathematics Department         |       				   |
 | Michigan State University      | telephone: 517-355-9684                |
 | E. Lansing, MI 48824-1027 USA  |       FAX: 517-432-1562                |
 ---------------------------------------------------------------------------






--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post