* [LARTC] Acessing multiply servers with same IP's
@ 2006-07-09 3:35 Mike
2006-07-09 3:57 ` Grant Taylor
0 siblings, 1 reply; 2+ messages in thread
From: Mike @ 2006-07-09 3:35 UTC (permalink / raw)
To: lartc
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
--
Sun, 09 Jul 2006 03:58:25 +0200
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] Acessing multiply servers with same IP's
2006-07-09 3:35 [LARTC] Acessing multiply servers with same IP's Mike
@ 2006-07-09 3:57 ` Grant Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Grant Taylor @ 2006-07-09 3:57 UTC (permalink / raw)
To: lartc
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-09 3:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-09 3:35 [LARTC] Acessing multiply servers with same IP's Mike
2006-07-09 3:57 ` Grant Taylor
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.