From: Fei Lung fei@cometway.com
To: lartc@vger.kernel.org
Subject: [LARTC] Simplest Routing Question EVER
Date: Sat, 03 Mar 2001 01:57:14 +0000 [thread overview]
Message-ID: <marc-lartc-98373940417086@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373940417079@msgid-missing>
<PRE>I am using kernel 2.4.1. Iptables shows accept for input, forward,
output. The Windows machine has the Linux machine as the gateway.
><i>From the windows machine, I can ping the IPs on the linux machine,
</I>but I cannot ping the T1 gateway.
><i>From the linux machine, I can go out the T1.
</I>
Thanks,
Fei Lung
At Friday, 02 March 2001, Mike Fedyk <<A HREF="mailto:mfedyk@matchmail.com">mfedyk@matchmail.com</A>> wrote:
><i>Fei Lung wrote:
</I>>><i>
</I>>><i> This must be the easiest question ever, but I've been stumped for
</I>>><i> days. I can't seem to get my Linux box to route traffic through
</I>>><i> to my Win box. What I have is:
</I>>><i>
</I>>><i> T1 Gateway : 100.0.0.1
</I>>><i> eth1 (Connected to gateway) : 100.0.0.2
</I>>><i> eth2 (Connected to Win) : 100.0.0.3
</I>>><i> Win box : 100.0.0.202
</I>>><i> (eth0 is connected to DSL, but that doesn't matter for now)
</I>>><i>
</I>>><i> for the rules, I have:
</I>>><i> 0: from all lookup local
</I>>><i> 32766: from all lookup main
</I>>><i> 32767: from all lookup 253
</I>>><i>
</I>>><i> for the routes I have:
</I>>><i> 100.0.0.202 dev eth2 proto kernel scope link src 100.0.0.3
</I>>><i> 100.0.0.1 dev eth1 proto kernel scope link src 100.0.0.2
</I>>><i> 127.0.0.1 dev lo scope link
</I>>><i> default via 100.0.0.1 dev eth1
</I>>><i>
</I>>><i> All I'm trying to do is to get the Windows machine to be able to
</I>>><i> use the Internet. I've read everything I could find, but I can't
</I>>><i> seem to get it to work. I've tried 'echo 1 > /proc/sys/net/ipv4/ip_forward',
</I>
>><i> flushing the cache, reading the adv routing howto over and over,
</I>>><i> but I can't seem to get this to work. Any sugestions?
</I>>><i>
</I>>><i> Thanks,
</I>>><i> Fei Lung
</I>><i>does your win box have your linux box set as it's default gw? can
</I>you get any
><i>packets through?
</I>><i>
</I>><i>What does `ipchains -L forward` say? does it default to "accept"?
</I>><i>
</I>><i>Please give more info, and details on what tests have been tried
</I>and failed.
><i>
</I>><i>Mike
</I>><i>
</I>><i>_______________________________________________
</I>><i>LARTC mailing list / <A HREF="mailto:LARTC@mailman.ds9a.nl">LARTC@mailman.ds9a.nl</A>
</I>><i><A HREF="http://mailman.ds9a.nl/mailman/listinfo/lartc">http://mailman.ds9a.nl/mailman/listinfo/lartc</A> HOWTO: <A HREF="http://ds9a.">http://ds9a.</A>
</I>nl/2.4Routing/
><i>
</I>
====================================
Easy and free access to your email anywhere! <A HREF="http://www.starten.net/mail">http://www.starten.net/mail</A>
====================================
</PRE>
next prev parent reply other threads:[~2001-03-03 1:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-02 22:05 [LARTC] Simplest Routing Question EVER Fei
2001-03-02 22:24 ` bert
2001-03-02 22:40 ` Fei
2001-03-03 0:46 ` Mike
2001-03-03 1:57 ` Fei [this message]
2001-03-03 3:18 ` Mike
2001-03-03 14:14 ` bert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-98373940417086@msgid-missing \
--to=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.