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

Re: ethernet routing



I've been reading up on home networking to set up a router using my linux box.  
I'd simply like to make its DSL connection and firewall available to other 
compures, like my laptop, and that's about it.  I've found some HowTos which 
were written for RH, but nothing really for Debian, and I'd like to do this 
TDW.  Does anyone know of a Debian HowTo for this?

Thanks,

Chris

On Friday 02 January 2004 17:14, Antony Gelberg wrote:
> On Fri, Jan 02, 2004 at 10:46:06AM -0500, Debian User wrote:
> > in a previous post, i asked this question but not sure if an answer
> > was found ...
> >
> >
> > i am trying to set up a network in my office at work.
> >
> > +---------------+     +---------------+
> >
> > | 192.168.1.100 |-----| 192.168.1.1   |
> > | 255.255.255.0 |     | 255.255.255.0 |   +---------------+
> >
> > +---------------+     | 10.20.1.158   |---| 10.20.4.48    |
> >
> >                       | 255.255.0.0   |   | 255.255.0.0   |
> >
> >                       +---------------+   +---------------+
> >
> > the 192.168.1.100 machine can ping the 192.168.1.1 and 10.20.1.158
> > interface but not the 10.20.4.48 interface. the 10.20.1.158 interface
> > can ping the 10.20.4.48 interface.
> >
> > my routing table is as follows:
> >
> > dest         gateway    genmask       flags metric ref use iface
> > 192.186.1.0  *          255.255.255.0 u     0      0   0   eth1
> > 10.20.0.0    *          255.255.0.0   u     0      0   0   eth0
> > default      10.20.4.48 0.0.0.0       ug    0      0   0   eth0
> >
> >
> >
> > any suggestions as to what i am doing wrong?
>
> Not turning on IP routing?  cat /proc/sys/net/ipv4/ip_forward.  If it's
> 0, routing is off.
>
> I suppose TDW for this is to set ip_forward=1 in /etc/network/options.
> What this does is effectively echo 1 > /proc/sys/net/ipv4/ip_forward
>
> A
>
> --
> Please don't CC me.  Also _please_ read the following before posting:
> Documentation - http://www.debian.org/doc/
> FAQ - http://www.debian.org/doc/FAQ/
> Install manual (i386) - http://www.debian.org/releases/stable/i386/install

-- 
Dr.-Ing. C. Hurschler
Bodenstedtstr. 13
30173 Hannover



Reply to: