Re: Outgoing interface selection by source address

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

 



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



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux