From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julian Anastasov Date: Thu, 07 Mar 2002 16:27:24 +0000 Subject: Re: [LARTC] Src IP for outgoing packet with multiple defaults routes Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hello, On Thu, 7 Mar 2002, =3D?ISO-8859-2?Q?Andr=E9s Gri=F1=F3 Brandt?=3D wrote: > Hi: > > Abstract: Linux connected to two different ISP. Outgoing packets seems to= peek randomly it's source IP address, without regards to the router choose= n. Not possible with plain kernel, check this URL: http://www.linuxvirtualserver.org/~julian/#routes after patching nexthops with same outdevs are supported > nexthop via 200.27.214.225 dev eth0 weight 1 > nexthop via 200.72.44.225 dev eth0 weight 3 > This is wrong. Packets with source IP 200.72.44.226 must not reach router= 200.27.214.226. AFIK, an outgoing packet must have a source address in the= same subnet that the router being used. To be honest, NAT in current kernels does not work correctly with multipath routes, even if you are using different outdevs in all nexthops. Read the docs mentioned above. > Ideas? > > Andr=E9s Gri=F1=F3 Brandt > Santiago, Chile Regards -- Julian Anastasov _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/