From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fei Lung fei@cometway.com Date: Sat, 03 Mar 2001 01:57:14 +0000 Subject: [LARTC] Simplest Routing Question EVER Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org
I am using kernel 2.4.1.  Iptables shows accept for input, forward,
output.  The Windows machine has the Linux machine as the gateway.
>From the windows machine, I can ping the IPs on the linux machine,
but I cannot ping the T1 gateway.

>From the linux machine, I can go out the T1.  

Thanks,
Fei Lung

At Friday, 02 March 2001, Mike Fedyk <mfedyk@matchmail.com> wrote:

>Fei Lung wrote:
>> 
>> This must be the easiest question ever, but I've been stumped for
>> days.  I can't seem to get my Linux box to route traffic through
>> to my Win box.  What I have is:
>> 
>> T1 Gateway : 100.0.0.1
>> eth1 (Connected to gateway) : 100.0.0.2
>> eth2 (Connected to Win) : 100.0.0.3
>> Win box : 100.0.0.202
>> (eth0 is connected to DSL, but that doesn't matter for now)
>> 
>> for the rules, I have:
>> 0:       from all lookup local
>> 32766:   from all lookup main
>> 32767:   from all lookup 253
>> 
>> for the routes I have:
>> 100.0.0.202 dev eth2 proto kernel scope link src 100.0.0.3
>> 100.0.0.1 dev eth1 proto kernel scope link src 100.0.0.2
>> 127.0.0.1 dev lo scope link
>> default via 100.0.0.1 dev eth1
>> 
>> All I'm trying to do is to get the Windows machine to be able to
>> use the Internet.  I've read everything I could find, but I can't
>> seem to get it to work.  I've tried 'echo 1 > /proc/sys/net/ipv4/ip_forward',

>> flushing the cache, reading the adv routing howto over and over,
>> but I can't seem to get this to work.  Any sugestions?
>> 
>> Thanks,
>> Fei Lung
>does your win box have your linux box set as it's default gw?  can 
you get any
>packets through?
>
>What does `ipchains -L forward` say? does it default to "accept"?
>
>Please give more info, and details on what tests have been tried 
and failed.
>
>Mike
>
>_______________________________________________
>LARTC mailing list / LARTC@mailman.ds9a.nl
>http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.
nl/2.4Routing/
>




====================================
Easy and free access to your email anywhere! http://www.starten.net/mail
====================================