From: Julian Anastasov <ja@ssi.bg>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] Re: Routing that doesn't route
Date: Fri, 01 Mar 2002 16:43:47 +0000 [thread overview]
Message-ID: <marc-lartc-101500101632349@msgid-missing> (raw)
In-Reply-To: <marc-lartc-100681343818736@msgid-missing>
Hello,
On Fri, 1 Mar 2002, Greg Scott wrote:
> > ip route add 172.16.0.0/20 via 172.16.16.3 dev eth1 src 172.16.16.1
>
> That's not really what I want to do. I want everthing bound for the
> 0.0/20 subnet, no matter the source, to route thru 16.3. 16.1 is the
Right, just test it. The src parameter has different purpose,
it is not a key for selecting the traffic, it is a result. It will
be used for traffic originated from the 16.1 box. OTOH, it is
difficult to pass non-negotiated traffic (subnets) through the
IPSec tunnel. Make sure you can really pass traffic with any
source through this tunnel. But this is different issue.
> That's why I think I'm looking at a kernel bug. Note the physical
> path inside the Linux box. The packet comes in eth1 and I want to
> sent it back out eth1. I think that's the key. I am trying to route
> a packet out the same interface on which it came in.
Check the device flags I mentioned first.
> > If clearing all send_redirects and rp_filter flags to 0 and
> > using correct preferred source IP addresses does not help then you
> > hit a kernel bug. Try with recent kernel.
>
> But this all works well with similar testing using the 2.2 kernel on
> the other end. It's the 2.4.2-2 kernel that ships with Red Hat 7.1
> giving me problems.
ok, stop the ICMP redirects and see the difference.
> - Greg
Regards
--
Julian Anastasov <ja@ssi.bg>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2002-03-01 16:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-26 22:24 [LARTC] Re: Routing that doesn't route Julian Anastasov
2002-02-28 12:56 ` Greg Scott
2002-02-28 20:49 ` Julian Anastasov
2002-03-01 16:43 ` Julian Anastasov [this message]
2002-03-01 16:48 ` Greg Scott
2002-05-02 3:36 ` Greg Scott
2002-05-02 20:53 ` Julian Anastasov
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-101500101632349@msgid-missing \
--to=ja@ssi.bg \
--cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox