All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giorgio Biondi <gbiondi@tech2.it>
To: lartc@vger.kernel.org
Subject: [LARTC] Iproute + masquerade on 2 ISP with traffic blancing...
Date: Sat, 03 Aug 2002 09:34:19 +0000	[thread overview]
Message-ID: <marc-lartc-102836728309081@msgid-missing> (raw)

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/

                 reply	other threads:[~2002-08-03  9:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=marc-lartc-102836728309081@msgid-missing \
    --to=gbiondi@tech2.it \
    --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 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.