[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: networking problem
- To: Boaz Rymland <boaz(at-nospam)linuxqa.com>
- Subject: Re: networking problem
- From: sagi <sagi(at-nospam)aresworld.net>
- Date: Wed, 8 Nov 2000 11:14:42 -0500 (EST)
- cc: linux-il(at-nospam)cs.huji.ac.il
- In-Reply-To: <3A095D36.C2F3E5D8@linuxqa.com>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Wed, 8 Nov 2000, Boaz Rymland wrote:
> Ury Segal wrote:
> >
> > Sagi Bashari wrote:
> >
> > > On Wed, 8 Nov 2000, Noam Ben Haim wrote:
> > >
> > > > hello all.
> > > > I have a home network, consists of 2 Win2000 computers, and a linux (RH6.2)
> > > > one.
> > > > I can ping to any machine from any machine, but since the modem is on one of
> > > > the windows machines, I want to use it as a gateway, with dial-on-demand. I
> > > > managed to do this for the other win2000 machine, but for some reason, I
> > > > cant make the linux machine do the same. when I try to ping to a an address
> > > > outside my network, I get "network is unreachable". what should I do next?
> > >
> > > You need to define your windows ip as your gateway.
> > >
> > > Try to run:
> > > /sbin/route add -net windowsip netmask 0.0.0.0
> >
> > I suspect it will not work, unless the man have real IP address
> > on his linux box, and the windows machine knows how to route
> > back.
He said that he already got his other windows box to work that way, no?
so if he setuped the windows settings for linux in the same way, I guess
that the linux does not use the right gateway.
>
> As far as I understand the situation not the route command above nor Ury's
> remark is relevant. AFAIK, since Sagi already have an internal network
> *functioning*, his Linux box, which can use the internal network, will already
> have routing to the local network, unrelated to the IPs used, be it legal (?),
> or non-routable IP (much more likely). If the windows gateway does masquarading
> which *works* for the other winblows machine, then all Sagi needs to do on his
> Linux box is to define a default GW:
>
> /sbin/route add default gw <win.dow.s.ip>
>
> If the M$ gateway somehow enables others share it's internet connection in
> another way, than Linux should utilize that way to speak to the M$ gateway.
>
> Obviously, I recommend using Masquarading on your local Linux box, but this
> requires quite amount of spare time to learn, if you dont control those
> networking subjects. But, doing so will enable you to use some all the other
> free benefits coming with Linux - Firewalling, Service monitoring (tcpd),
> extensive logging, etc' etc' etc' . These do not come free on Winblows... .
>
> Anyway, some more info will surely help debug your problem (IPs used, routing
> table on Linux...)
>
> boaz.
>
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il