From: Kajetan Staszkiewicz Date: Sat, 23 Jul 2005 19:08:55 +0000 Subject: Re: [LARTC] Multiple ISP Provider on one interface Message-Id: <200507232108.56641.kajtek@biezanow.net> List-Id: References: <42E2597F.1020808@hotmail.com> In-Reply-To: <42E2597F.1020808@hotmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Dnia sobota, 23 lipca 2005 16:51, ZeuS SN napisa=B3(a):=20 > The problem is that I have only 2 ethernet adapters in my linux router, > one of this adapter pluged to the LAN and the other is pluged to a HUB > who have 2 routers DSL. Each DSL routers have an static ip and the > solution that I found was creating an eth0 and eth0:1 but with this > option I have any way to use the eth0:1 adapte... > > Any one knows a solution for this ? Multipatch routing probably won't work this way - at least I was unable to = set=20 up SNAT because booth gateways are on the same interface. However masquerad= e=20 was working correctly, as it is choosing ip address to SNAT (AFAIK) after=20 routing. Another solution is to get a switch with 802.1q VLANs, and "divide" single = network interface into many fully functional interfaces (fully functional=20 means for me that you can use their names in iptables -o to choose proper=20 SNAT address). --=20 | =A0 =A0 =A0pozdrawiam =A0 =A0 =A0| powered by Slackware, Gentoo and FreeB= SD | | Kajetan Staszkiewicz | JID: vegeta@chrome.pl =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0| | =A0 =A0 =A0 =A0Vegeta =A0 =A0 =A0 =A0| http://kajtek.biezanow.net =A0 =A0= =A0 =A0 =A0 =A0 =A0 | +----------------------+------------------------------------------+ _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc