Hi Kertész, Read this doc: http://www.ssi.bg/~ja/nano.txt /Kim On Wednesday 26 March 2003 11:04, Kertész Viktor wrote: > Hi all, > > I've read all howtos at lartc.org but I still don't know how to share > packets between two uplinks. I used iptables/ROUTE target which works on > router box. In this case I can't use that because this box do masquerading > and i can't match destination ip at the prerouting chain in mangle table. > Is there a solution to specify two gateway to a destination? > problem > > V > ---if1--linux gw---if2-----switch--router1-----link1---- 10.5.0.0/16 > clients > \----router2-----link2----/ > if2: 10.0.1.1 > router1: 10.0.1.6 > router2: 10.0.1.8 > > I tried these but I think I don't really understand iproute. > > ip add 10.5.0.0/16 via 10.0.1.6 via 10.0.1.8 equalize > nor > ip add 10.5.0.0/16 nexthop 10.0.1.6 weight 1 nexthop 10.0.1.8 weight 1 > equalize (i know, this is syntax error) > > I hope I don't have to recompile my kernel... :) Thanks in advance! > > Viktor > > _______________________________________________ > LARTC mailing list / LARTC@xxxxxxxxxxxxxxx > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/