From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Richardson, Robert" Date: Thu, 07 Feb 2002 22:31:00 +0000 Subject: [LARTC] Load Balance RX/TX data on the same NICs. MIME-Version: 1 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C1B027.1E60D480" Message-Id: List-Id: To: lartc@vger.kernel.org This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1B027.1E60D480 Content-Type: text/plain; charset="iso-8859-1" Hello, I have a Compaq Proliant i850R, running RedHat 7.1. There are 3 NICs attached to it, 2 eepro100, and 1 ThunderLAN driver v1.14a. This box is being prepped to be a download server. GOAL: Requests are sent to each NIC via seperate IP addresses. All 3 are on the same subnet. All requests are load balanced via a DNS server. We want all requests to exit the same NIC that they entered. PROBLEM: All requests are satisfied via the last NIC (eth2). eth2 does 99% of the transmissions. With the configuration below it is possible to do load-balancing, both in and out, but it is not possible to secure shell to the box. If the "ip rule" lines are commented out, login is possible, but no outbound load balancing. OUR CONFIGURATION: ip route add 206.17.228.231 dev eth1 ip route add 206.17.228.232 dev eth2 ip route add 206.17.228.230 dev eth0 /sbin/route del default 2> /dev/null /sbin/ip route add default equalize nexthop via 206.17.228.2 dev eth1 nexthop via 206.17.228.2 dev eth2 ip route add 206.17.228.231 dev eth1 table 231 ip route add default via 206.17.228.2 dev eth1 src 206.17.228.231 table 231 ip route flush cache ip route add 206.17.228.232 dev eth2 table 232 ip route add default via 206.17.228.2 dev eth1 src 206.17.228.232 table 232 ip route flush cache ip route add 206.17.228.230 dev eth0 table 230 ip route add default via 206.17.228.2 dev eth1 src 206.17.228.230 table 230 ip route flush cache ip rule add from 206.17.228.231 table 231 ip rule add from 206.17.228.232 table 232 ip rule add from 206.17.228.230 table 230 WHAT AM I DOING WRONG? Robert Richardson ------_=_NextPart_001_01C1B027.1E60D480 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Load Balance RX/TX data on the same NICs.

Hello,
I have a Compaq Proliant i850R, = running RedHat 7.1.
There are 3 NICs attached to it, 2 = eepro100, and 1
ThunderLAN driver v1.14a.
This box is being prepped to be a = download server.

GOAL:
Requests are sent to each NIC via = seperate IP addresses.
All 3 are on the same subnet.
All requests are load balanced via a = DNS server.
We want all requests to exit the same = NIC that they
entered.

PROBLEM:
All requests are satisfied via the = last NIC (eth2).
eth2 does 99% of the = transmissions.

With the configuration below it is = possible to do load-balancing,
both in and out, but it is not = possible to secure shell to the
box.  If the "ip rule" = lines are commented out, login is possible,
but no outbound load = balancing.

OUR CONFIGURATION:
ip route add 206.17.228.231 dev = eth1
ip route add 206.17.228.232 dev = eth2
ip route add 206.17.228.230 dev = eth0
/sbin/route del default 2> = /dev/null
/sbin/ip route add default equalize = nexthop via 206.17.228.2 dev eth1 nexthop via 206.17.228.2 dev eth2 =

ip route add 206.17.228.231 dev eth1 = table 231
ip route add default via 206.17.228.2 = dev eth1 src 206.17.228.231 table 231
ip route flush cache
ip route add 206.17.228.232 dev eth2 = table 232
ip route add default via 206.17.228.2 = dev eth1 src 206.17.228.232 table 232
ip route flush cache
ip route add 206.17.228.230 dev eth0 = table 230
ip route add default via 206.17.228.2 = dev eth1 src 206.17.228.230 table 230
ip route flush cache

ip rule add from 206.17.228.231 table = 231
ip rule add from 206.17.228.232 table = 232
ip rule add from 206.17.228.230 table = 230


WHAT AM I DOING WRONG?

Robert Richardson

------_=_NextPart_001_01C1B027.1E60D480-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/