From: Guillermo Gomez <ggomez@neotechgw.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Aliases and Multipath
Date: Fri, 05 Dec 2003 14:03:16 +0000 [thread overview]
Message-ID: <marc-lartc-107063456221873@msgid-missing> (raw)
In-Reply-To: <marc-lartc-107055227804578@msgid-missing>
Thanks guys for such quick response :) coool
Well let me go deeper now with my routing issuess.
My desirable topology is:
LAN ---- Linux Box ---- eth0 -- dsl router (dhcp)
eth0:1 -- Frame Router ISP1 (fixed ip range)
eth0:2 -- Frame Router ISP2 (fixed ip range)
Then i would config:
eth0 according dhcp server aa.aa.aa.aa
eth0:1 xx.xx.xx.xx
eth0:2 yy.yy.yy.yy
The idea is to balance the outgoing traffic through the three ISPs. One
little trouble is dhcp renewal (it always tries to set the default
gateway, anyone knows how to avoid that? i could find out from
dhcp-client-leases and then configure myself at the right place at the
right moment).
According to the FAQ i need to guarantee first that any request from
eth0 IPADDR goes to the right gateway and so on with eth0:1 and eth0:2
(that's reasonable).
After that i would do the multipath config. The question goes now with
the NAT stuff, how can i do the SNAT after balancing the traffic with
the multipath routing? I can't do:
iptables -t nat -A POSTROUTING -o eth0 -j SNAT aa.aa.aa.aa
iptables -t nat -A POSTROUTING -o eth0:1 -j SNAT xx.xx.xx.xx
iptables -t nat -A POSTROUTING -o eth0:2 -j SNAT yy.yy.yy.yy
iptables just does not likes eth0:1 neither eth0:2, is this the right
behaviour of iptables or what? i read something about NAT in advance
routing engine but never used before and i'm little confuse on how it
works. Will it crash with iptables NAT engine?
Just to finish to build the router i need to do DNAT for my internal
servers but that's trivial with iptables but anyway it would be great to
know how to do it with a single tool (don't need to do firewalling in
this machine so far, just routing and stateless nat, our should it be
statefull? hmmmm need to think about).
Heeey, does anyone knows if someone has translated the LARTC-FAQs to
Spanish? I could do that :) I would like to contribute...
Kind regards
Guillermo
--
Guillermo Gomez <ggomez@neotechgw.net>
neotech
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-12-05 14:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-04 15:06 [LARTC] Aliases and Multipath Guillermo Gomez
2003-12-05 14:03 ` Guillermo Gomez [this message]
2003-12-08 0:37 ` Damion de Soto
2003-12-08 11:34 ` Guillermo Gomez
2003-12-08 12:35 ` Jose Luis Domingo Lopez
2003-12-10 4:12 ` Damion de Soto
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-107063456221873@msgid-missing \
--to=ggomez@neotechgw.net \
--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.