2 ruzne gatewaye

Peter Surda shurdeek na routehat.org
Sobota Duben 17 20:59:13 CEST 2004


On Sat, Apr 17, 2004 at 08:12:32PM +0200, Zdenek Prchal wrote:
> > Dobry den, chtel bych se zeptat, jestli lze nejak pekne zaridit, 
> > aby adresy treba 192.168.1.0/24 pouzivaly jako gw 
> > 192.168.0.100(coz je router s natem a tem by data posilal pres 
> > wifi1) a 192.168.1.0/24 s gw 192.168.1.100(fyzicky ten samy 
> > router, posilal by pres wifi2..protoze bych potreboval prenosy 
> > vyssi, nez zvladne jedno wifi a take pro 192.168.1.0 zajistit 
> > jistou propustnost
> iptables -A POSTROUTING -t nat -s 192.168.0.0/16 -j SNAT \
>  --to-source IPwifi1 --to-source IPwifi2
Toto funguje len ked wifi1 a wifi2 pouzivaju to iste odchodzie zariadenie
routru. Ked nie, tak to treba robit zlozitejsie, viac info
www.lartc.org/howto, sekcia zhruba "multiple uplinks for different providers"
> 
> 	Zdenek Prchal
S pozdravom,

Peter Surda (Shurdeek) <shurdeek na routehat.org>, ICQ 10236103, +436505122023

-- 
   If Bill Gates had a dime for every time a Windows box crashed...
                ...Oh, wait a minute, he already does.


Další informace o konferenci Linux