From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Taylor Date: Sun, 09 Jul 2006 03:57:04 +0000 Subject: Re: [LARTC] Acessing multiply servers with same IP's Message-Id: <44B07E90.5020908@riverviewtech.net> List-Id: References: <200607090535.10566.acetyloholina@go2.pl> In-Reply-To: <200607090535.10566.acetyloholina@go2.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Mike wrote: > Good day, > > My name is Mike and without further ado forgive me that I'll go straight to > the point. > > rtlsrc-2.4.29-2.diff this patch is obsoleted, but it would come in handy when > trying to solve the IP collisions in networks. I have situation around here > becouse I intend to connect through my wifi card to many gateways with same > IP adresses - 192.168.0.1 with /24 mask - then I'd like to use them all as > Alternative routes, as far as I know it can be done for two of that kind > gates, thanks to danieldg: > right > one hack, if you only wanted two: add a bridge interface to the > wireless > then you have wlan0 and br0, both the same > then you could use ebtables to change the MACs of the bridge access > and leave the direct wlan0 access alone (so it would use the "real" > MAC) > mhm, and when having two different MAC's I can have two different IP's > but I can't make more than one bridge, can I ? > no, not on one interface > > The last two lines speak of themselves, only one bridge, only one additional > MAC, so possibility to use only two gateways. I know that's real simple when > having each subnet connected to different iface it's just I'll run out of > interfaces real fast if I'll connect these so. > > Can you propose anything in such situation? > > Best wishes, > Mike Use more IPs. Use a combination of IPTables / EBTables to make your system believe that each different gateway has a different IP address. If you do this you can easily tell the system routing stack that it has multiple gateways to work with. Grant. . . . _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc