From: Ralf Spenneberg <lists@spenneberg.org>
To: Pawel Hadam <Pawel.Hadam@imag.fr>
Cc: Netfilter <netfilter@lists.netfilter.org>
Subject: Re: Outgoing interface selection by source address
Date: 27 Nov 2003 15:20:51 +0100 [thread overview]
Message-ID: <1069942851.28653.48.camel@kermit> (raw)
In-Reply-To: <Pine.GSO.4.33.0311271455320.8613-100000@horus.imag.fr>
Am Don, 2003-11-27 um 14.55 schrieb Pawel Hadam:
> Hi all
>
> I have 2 local interfaces (eth0 & eth1) and thus 2 IPv6 addresses (src0 &
> src1).
>
> I have an SCTP/IPv6 application that binds to one of the addresses
> (let's say src0) and sends packets to some destination (dst). But
> according to the classical routing policy, all packets in this
> connection (src0, dst) are routed via eth1. And I would like them to be
> routed via interface eth0, as src0 is the address of eth0 not eth1.
> Is it possible to do it with netfilter for IPv6 ? I mean, is it possible
> to route the packets via the proper outgoing interface by theirs source
> address, like this:
It is, but not using netfilter (AFAIK). Take a look at the
Linux Advanced Routing and Traffic Howto: lartc.org
Cheers,
Ralf
--
Ralf Spenneberg
RHCE, RHCX
Book: VPN mit Linux
Book: Intrusion Detection für Linux Server http://www.spenneberg.com
IPsec-Howto http://www.ipsec-howto.org
Honeynet Project Mirror: http://honeynet.spenneberg.org
prev parent reply other threads:[~2003-11-27 14:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-27 13:55 Outgoing interface selection by source address Pawel Hadam
2003-11-27 14:20 ` Ralf Spenneberg [this message]
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=1069942851.28653.48.camel@kermit \
--to=lists@spenneberg.org \
--cc=Pawel.Hadam@imag.fr \
--cc=netfilter@lists.netfilter.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