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

Re: networking problem



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

If it works, add it to your rc scripts, or use netconfig to set it (on
redhat)

>
> TIA
> Noam
>
> Noam Ben Haim
> noambh@cs.huji.ac.il
>
>
> =================================================================
> 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
>
>

               _
 ___ __ _ __ _(_)	Sagi Bashari
(_-</ _` / _` | |	 - sagi@aresworld.net
/__/\__,_\__, |_|
         |___/


=================================================================
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