* [LARTC] Iproute + masquerade on 2 ISP with traffic blancing...
@ 2002-08-03 9:34 Giorgio Biondi
0 siblings, 0 replies; only message in thread
From: Giorgio Biondi @ 2002-08-03 9:34 UTC (permalink / raw)
To: lartc
Hi,
I have a linux-box with 3 eth, 2 of us go into 2 ISP.
My localnet is masquerade with this rule:
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
SNAT all -- 10.0.0.0/16 anywhere to:211.56.233.186
SNAT all -- 10.0.0.0/16 anywhere to:211.13.8.50
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@fw /root]# ip route show
211.56.233.184/29 dev eth1 proto kernel scope link src 211.56.233.186
211.13.8.48/28 dev eth2 proto kernel scope link src 211.13.8.50
211.13.13.0/24 via 212.13.8.49 dev eth2
10.0.0.0/16 dev eth0 proto kernel scope link src 10.0.1.2
127.0.0.0/8 dev lo scope link
default
nexthop via 211.56.233.185 dev eth1 weight 10
nexthop via 211.13.8.49 dev eth2 weight 1
...and all work well (seems...)
My traffic in reality go to in the first masquerade interface (in this case go to all in the eth1)
indipendly from value 'weight'....
Where are wrong???
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-08-03 9:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-03 9:34 [LARTC] Iproute + masquerade on 2 ISP with traffic blancing Giorgio Biondi
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.