From: Xiskator <xiskato@gmail.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Can I do this?
Date: Wed, 08 Sep 2004 22:16:22 +0000 [thread overview]
Message-ID: <3e3ca72404090815164fdd7f9e@mail.gmail.com> (raw)
Hello, LARTC!
I've been having troubles with load balance with ip + fwmark. I was
wondering if these points are mandatory for this scheme to work:
1. Is there any problem if the linux gateway has a default gateway? Do
I have to remove it?
2. In the scenario with 4 NICs, one routing table each, and another
routing table doing load balance, Do the tables that imply routes that
are being used by the load balance routing table have to be removed?
p.e. :
echo 255 local > /etc/iproute2/rt_tables
echo 254 main >> /etc/iproute2/rt_tables
echo 253 default >> /etc/iproute2/rt_tables
echo 0 unspec >> /etc/iproute2/rt_tables
echo 200 balanceo2 >> /etc/iproute2/rt_tables
echo 201 cable >> /etc/iproute2/rt_tables
echo 202 cable2 >> /etc/iproute2/rt_tables
ip route add default proto static via $GW dev eth0 src $IP1 table cable
ip route add default proto static via $GW2 dev eth1 src $IP2 table cable2
ip route add table balanceo2 default proto static \
nexthop via $GW dev eth0 weight 1 \
nexthop via $GW2 dev eth1 weight 1 \
3. A final aclaration, the use of every link at the same time has been
achieved using routing tables cable and cable2 and packet marking.
Thanks.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
reply other threads:[~2004-09-08 22:16 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=3e3ca72404090815164fdd7f9e@mail.gmail.com \
--to=xiskato@gmail.com \
--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.