[olug] Routing between two networks

Brian Roberson roberson at olug.org
Mon Dec 2 05:40:54 UTC 2002


and after all the routing is setup correctly.... dont forget....

echo "1" > /proc/sys/net/ipv4/ip_forward

this actually enables the forwarding of ip traffic.


----- Original Message -----
From: "David Walker" <linux_user at grax.com>
To: <olug at olug.org>
Sent: Sunday, December 01, 2002 9:38 AM
Subject: Re: [olug] Routing between two networks


> On 192.168.2.2 set the default route to 192.168.2.1
> On 192.168.1.1 set static route for 192.168.2.0/24 to 192.168.1.5
> That should do the trick I think.
>
>
> On Saturday 30 November 2002 04:55 pm, (Via wrote:
> > I have a laptop with wireless card and ethernet card.
> >
> > Gateway 192.168.1.1
> >
> > wireless
> >
> > laptop 192.168.1.5  , 192.168.2.1
> >
> > loopback cable
> >
> > another computer 192.168.2.2
> >
> > What do I need to get the 2.x traffic to route through the laptop?  Is
it
> > just a matter of static routes or is there more to it than that?   Any
help
> > would be greatly appreciated.
> >
> > -Jon W
> > _______________________________________________
> > OLUG mailing list
> > OLUG at olug.org
> > http://lists.olug.org/mailman/listinfo/olug
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>




More information about the OLUG mailing list