From: Grant Taylor <gtaylor@riverviewtech.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Acessing multiply servers with same IP's
Date: Sun, 09 Jul 2006 03:57:04 +0000 [thread overview]
Message-ID: <44B07E90.5020908@riverviewtech.net> (raw)
In-Reply-To: <200607090535.10566.acetyloholina@go2.pl>
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:
> <danieldg> right
> <danieldg> one hack, if you only wanted two: add a bridge interface to the
> wireless
> <danieldg> then you have wlan0 and br0, both the same
> <danieldg> then you could use ebtables to change the MACs of the bridge access
> <danieldg> and leave the direct wlan0 access alone (so it would use the "real"
> MAC)
> <I_v0> mhm, and when having two different MAC's I can have two different IP's
> <I_v0> but I can't make more than one bridge, can I ?
> <danieldg> 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
prev parent reply other threads:[~2006-07-09 3:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-09 3:35 [LARTC] Acessing multiply servers with same IP's Mike
2006-07-09 3:57 ` Grant Taylor [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=44B07E90.5020908@riverviewtech.net \
--to=gtaylor@riverviewtech.net \
--cc=lartc@vger.kernel.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